Quickstart
==========
The easiest way to get started with OpenDP is from Python.
Use ``pip`` to install the `opendp `_ package from PyPI.
.. prompt:: bash
pip install opendp
This will make the OpenDP modules available to your local environment.
Hello, OpenDP!
--------------
Once you've installed OpenDP, you can write your first program.
In the example below, we'll construct an identity :class:`opendp.mod.Transformation`, then invoke it on a dataset of strings.
.. doctest::
>>> from opendp.trans import make_identity
>>> from opendp.typing import SymmetricDistance, VectorDomain, AllDomain
...
>>> identity = make_identity(D=VectorDomain[AllDomain[str]], M=SymmetricDistance)
>>> identity(["Hello, world!"])
['Hello, world!']
There's a more thorough explanation in the :ref:`Getting Started ` section.
If you would like to skip directly to a more complete example, see :ref:`putting-together`.
Otherwise, continue on to the User Guide.