{"id":37649629,"url":"https://github.com/nthparty/oblivious","last_synced_at":"2026-01-16T11:31:03.007Z","repository":{"id":47231014,"uuid":"266677362","full_name":"nthparty/oblivious","owner":"nthparty","description":"Python library that serves as an API for common cryptographic primitives used to implement OPRF, OT, and PSI protocols.","archived":false,"fork":false,"pushed_at":"2024-05-08T18:19:00.000Z","size":3298,"stargazers_count":26,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-10T21:45:28.722Z","etag":null,"topics":["bn254","cryptographic-library","cryptography","elliptic-curve-arithmetic","elliptic-curve-cryptography","mpc","multi-party","multi-party-computation","multiparty-computation","oblivious-transfer","oprf","python-cryptography","ristretto","ristretto255","secure-multi-party-computation","secure-multiparty-computation"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/oblivious","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nthparty.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-25T03:48:16.000Z","updated_at":"2024-01-19T10:27:22.000Z","dependencies_parsed_at":"2024-05-03T21:53:41.257Z","dependency_job_id":null,"html_url":"https://github.com/nthparty/oblivious","commit_stats":{"total_commits":280,"total_committers":8,"mean_commits":35.0,"dds":0.4357142857142857,"last_synced_commit":"4deecbb617d4ff51e6a4a8b1488e91fd862c1bc7"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nthparty/oblivious","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nthparty%2Foblivious","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nthparty%2Foblivious/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nthparty%2Foblivious/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nthparty%2Foblivious/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nthparty","download_url":"https://codeload.github.com/nthparty/oblivious/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nthparty%2Foblivious/sbom","scorecard":{"id":697702,"data":{"date":"2025-08-11","repo":{"name":"github.com/nthparty/oblivious","commit":"03a59af6188b9d30dc8eab7fb0aab7ad483ba266"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/lint-test-cover-docs.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test-cover-docs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/nthparty/oblivious/lint-test-cover-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test-cover-docs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nthparty/oblivious/lint-test-cover-docs.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/lint-test-cover-docs.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/lint-test-cover-docs.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/lint-test-cover-docs.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/lint-test-cover-docs.yml:38","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T04:12:56.916Z","repository_id":47231014,"created_at":"2025-08-22T04:12:56.917Z","updated_at":"2025-08-22T04:12:56.917Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bn254","cryptographic-library","cryptography","elliptic-curve-arithmetic","elliptic-curve-cryptography","mpc","multi-party","multi-party-computation","multiparty-computation","oblivious-transfer","oprf","python-cryptography","ristretto","ristretto255","secure-multi-party-computation","secure-multiparty-computation"],"created_at":"2026-01-16T11:31:02.110Z","updated_at":"2026-01-16T11:31:02.999Z","avatar_url":"https://github.com/nthparty.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=========\noblivious\n=========\n\nPython library that serves as an API for common cryptographic primitives used to implement OPRF, OT, and PSI protocols.\n\n|pypi| |readthedocs| |actions| |coveralls|\n\n.. |pypi| image:: https://badge.fury.io/py/oblivious.svg\n   :target: https://badge.fury.io/py/oblivious\n   :alt: PyPI version and link.\n\n.. |readthedocs| image:: https://readthedocs.org/projects/oblivious/badge/?version=latest\n   :target: https://oblivious.readthedocs.io/en/latest/?badge=latest\n   :alt: Read the Docs documentation status.\n\n.. |actions| image:: https://github.com/nthparty/oblivious/workflows/lint-test-cover-docs/badge.svg\n   :target: https://github.com/nthparty/oblivious/actions/workflows/lint-test-cover-docs.yml\n   :alt: GitHub Actions status.\n\n.. |coveralls| image:: https://coveralls.io/repos/github/nthparty/oblivious/badge.svg?branch=main\n   :target: https://coveralls.io/github/nthparty/oblivious?branch=main\n   :alt: Coveralls test coverage summary.\n\nPurpose\n-------\nThis library provides pure-Python implementations, Python wrappers for `libsodium \u003chttps://github.com/jedisct1/libsodium\u003e`__ and `mcl \u003chttps://github.com/herumi/mcl\u003e`__, and additional utility methods for cryptographic primitives that are often used to implement `oblivious pseudorandom function (OPRF) \u003chttps://en.wikipedia.org/wiki/Pseudorandom_function_family\u003e`__, `oblivious transfer (OT) \u003chttps://en.wikipedia.org/wiki/Oblivious_transfer\u003e`__, and `private set intersection (PSI) \u003chttps://en.wikipedia.org/wiki/Private_set_intersection\u003e`__ protocols.\n\nInstallation and Usage\n----------------------\nThis library is available as a `package on PyPI \u003chttps://pypi.org/project/oblivious\u003e`__:\n\n.. code-block:: bash\n\n    python -m pip install oblivious\n\nIt is possible to install the library together with packages that bundle dynamic/shared libraries, such as `rbcl \u003chttps://pypi.org/project/rbcl\u003e`__ and/or `mclbn256 \u003chttps://pypi.org/project/mclbn256\u003e`__ (note that in some environments, the brackets and/or commas may need to be escaped):\n\n.. code-block:: bash\n\n    python -m pip install oblivious[rbcl]\n    python -m pip install oblivious[mclbn256]\n    python -m pip install oblivious[rbcl,mclbn256]\n\nThe library can be imported in the usual ways:\n\n.. code-block:: python\n\n    import oblivious\n    from oblivious import ristretto\n    from oblivious import bn254\n\nExamples\n^^^^^^^^\n\n.. |ristretto| replace:: ``ristretto``\n.. _ristretto: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.ristretto.html\n\nThis library supports concise construction of elliptic curve points and scalars. The examples below use the |ristretto|_ module that provides data structures for working with the `Ristretto \u003chttps://ristretto.group\u003e`__ group:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from oblivious.ristretto import point, scalar\n    \u003e\u003e\u003e p = point.hash('abc'.encode()) # Point derived from a hash of a string.\n    \u003e\u003e\u003e s = scalar() # Random scalar.\n    \u003e\u003e\u003e t = scalar.from_int(0) # Scalar corresponding to the zero residue.\n\nBuilt-in Python operators are overloaded to support point operations (such as addition, subtraction, negation, and equality) and scalar operations (such as multiplication by a scalar and inversion of scalars):\n\n.. code-block:: python\n\n    \u003e\u003e\u003e q = s * p\n    \u003e\u003e\u003e p == (~s) * q\n    True\n    \u003e\u003e\u003e p == ((~s) * s) * p\n    True\n    \u003e\u003e\u003e p + q == q + p\n    True\n    \u003e\u003e\u003e t * p == p - p\n    True\n\n.. |point| replace:: ``point``\n.. _point: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.ristretto.html#oblivious.ristretto.point\n\n.. |scalar| replace:: ``scalar``\n.. _scalar: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.ristretto.html#oblivious.ristretto.scalar\n\n.. |bytes| replace:: ``bytes``\n.. _bytes: https://docs.python.org/3/library/stdtypes.html#bytes\n\nThe |point|_ and |scalar|_ classes have common conversion methods that correspond to those supported by |bytes|_ objects (and in some cases, these classes are themselves derived from |bytes|_):\n\n.. code-block:: python\n\n    \u003e\u003e\u003e hex = '35c141f1c2c43543de9d188805a210abca3cd39a1e986304991ceded42b11709'\n    \u003e\u003e\u003e s = scalar.from_hex(hex)\n    \u003e\u003e\u003e s.hex()\n    '35c141f1c2c43543de9d188805a210abca3cd39a1e986304991ceded42b11709'\n\nIn addition, Base64 conversion methods are included to support concise encoding and decoding of |point|_ and |scalar|_ objects:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e s.to_base64()\n    'NcFB8cLENUPenRiIBaIQq8o805oemGMEmRzt7UKxFwk='\n    \u003e\u003e\u003e s == scalar.from_base64('NcFB8cLENUPenRiIBaIQq8o805oemGMEmRzt7UKxFwk=')\n    True\n\nFor more information and background about the underlying mathematical structures and primitives found in the |ristretto|_ module, consult materials about `Curve25519 \u003chttps://cr.yp.to/ecdh.html\u003e`__, the `Ristretto \u003chttps://ristretto.group\u003e`__ group, and the related `Ed25519 \u003chttps://ed25519.cr.yp.to\u003e`__ system.\n\nUsing Pure Python or a Shared/Dynamic Library\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. |python| replace:: ``python``\n.. _python: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.ristretto.html#oblivious.ristretto.python\n\n.. |sodium| replace:: ``sodium``\n.. _sodium: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.ristretto.html#oblivious.ristretto.sodium\n\nEach module within this library can export two variants of its primitives and data structures: one corresponding to pure-Python implementations and another corresponding to shared/dynamic library wrappers.\n\nFor example, the |ristretto|_ module exports two container classes/namespaces: |python|_ and |sodium|_. These encapsulate pure-Python implementations and shared/dynamic library (*i.e.*, libsodium) wrappers, respectively, of all operations and classes available in the |ristretto|_ module. This makes it possible to explicitly choose whether an operation requires only Python or also requires the presence of a compiled copy of libsodium on the host system.\n\nThe example below uses pure-Python implementations of the scalar multiplication operation (relying on the `ge25519 \u003chttps://pypi.org/project/ge25519\u003e`__ library):\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from oblivious.ristretto import python\n    \u003e\u003e\u003e p = python.point.hash('abc'.encode())\n    \u003e\u003e\u003e s = python.scalar.hash('123'.encode())\n    \u003e\u003e\u003e (s * p).to_base64()\n    'SrC7vA9sSR5f4E27ALxk14MPotTYR6B33B4ZN+mQXFA='\n\nTo check whether an instance of the libsodium shared/dynamic library has been loaded successfully, the check below can be performed:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from oblivious.ristretto import sodium\n    \u003e\u003e\u003e sodium is not None # Was the dynamic/shared library loaded?\n    True\n\nIn the example below, the scalar multiplication operation invokes a binding for the ``crypto_scalarmult_ristretto255`` function `exported by libsodium \u003chttps://libsodium.gitbook.io/doc/advanced/point-arithmetic/ristretto\u003e`__:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e p = sodium.point.hash('abc'.encode())\n    \u003e\u003e\u003e s = sodium.scalar.hash('123'.encode())\n    \u003e\u003e\u003e (s * p).to_base64()\n    'SrC7vA9sSR5f4E27ALxk14MPotTYR6B33B4ZN+mQXFA='\n\n.. |add| replace:: ``__add__``\n.. _add: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.ristretto.html#oblivious.ristretto.point.__add__\n\nThe class methods exported by the |ristretto|_ module directly (*e.g.*, the method |add|_ within the class |point|_ that is imported via the statement ``from oblivious.ristretto import point``) correspond either (A) to libsodium wrappers if an instance of libsodium is found and loaded or (B) to pure-Python implementations if all attempts to load a working instances of libsodium fail. The ordered list below summarizes what definitions are exported under various conditions and the ordered sequence of attempts to locate and load an instance of libsodium.\n\n1. Under all conditions, the wrapper class |python|_ is defined and encapsulates a pure-Python variant of every low-level operation and class available in the |ristretto|_ module. **As a starting default**, all classes exported directly by the |ristretto|_ module correspond to the pure-Python implementations.\n\n2. If a shared/dynamic library instance of libsodium is found on the system and successfully loaded during one of the attempts below, then the wrapper class |sodium|_ is defined:\n\n   a. the built-in ``ctypes.util.find_library`` function is able to locate ``'sodium'`` or ``'libsodium'`` and it is loaded successfully;\n   b. a file ``libsodium.so`` or ``libsodium.dll`` under the paths specified by the ``PATH`` and ``LD_LIBRARY_PATH`` environment variables is found and loaded successfully; or\n   c. the optional `rbcl \u003chttps://pypi.org/project/rbcl\u003e`__ package is installed and the compiled subset of libsodium included in that package is loaded successfully.\n\n3. If ``sodium`` is **not** ``None``, then the |sodium|_ class encapsulates libsodium wrappers for low-level operations and for every class exported by the |ristretto|_ module. Furthermore, **those classes exported directly by the library are redefined** to use the bindings available in the loaded instance of libsodium. The |python|_ class is still exported, as well, and all operations and class methods encapsulated within |python|_ remain as-is (*i.e.*, pure-Python implementations).\n\n.. |bn254| replace:: ``bn254``\n.. _bn254: https://oblivious.readthedocs.io/en/7.0.0/_source/oblivious.bn254.html\n\nThe classes within the |bn254|_ module (both those that are pure-Python implementations and those that are wrappers for functions in the `mcl \u003chttps://github.com/herumi/mcl\u003e`__ library) are organized in a similar manner. More information is available in the documentation for the |bn254|_ module.\n\nDevelopment\n-----------\nAll installation and development dependencies are fully specified in ``pyproject.toml``. The ``project.optional-dependencies`` object is used to `specify optional requirements \u003chttps://peps.python.org/pep-0621\u003e`__ for various development tasks. This makes it possible to specify additional options (such as ``docs``, ``lint``, and so on) when performing installation using `pip \u003chttps://pypi.org/project/pip\u003e`__:\n\n.. code-block:: bash\n\n    python -m pip install .[docs,lint]\n\nDocumentation\n^^^^^^^^^^^^^\nThe documentation can be generated automatically from the source files using `Sphinx \u003chttps://www.sphinx-doc.org\u003e`__:\n\n.. code-block:: bash\n\n    python -m pip install .[docs]\n    cd docs\n    sphinx-apidoc -f -e -E --templatedir=_templates -o _source .. \u0026\u0026 make html\n\nTesting and Conventions\n^^^^^^^^^^^^^^^^^^^^^^^\nAll unit tests are executed and their coverage is measured when using `pytest \u003chttps://docs.pytest.org\u003e`__ (see the ``pyproject.toml`` file for configuration details, and note that unit tests that require `rbcl \u003chttps://pypi.org/project/rbcl\u003e`__ and/or `mclbn256 \u003chttps://pypi.org/project/mclbn256\u003e`__ are skipped if the corresponding optional package is not installed):\n\n.. code-block:: bash\n\n    python -m pip install .[test]\n    python -m pytest\n\nConcise unit tests are implemented with the help of `fountains \u003chttps://pypi.org/project/fountains\u003e`__; new reference specifications for the tests in a given testing module can be generated by running that testing module directly:\n\n.. code-block:: bash\n\n    python test/test_ristretto.py\n    python test/test_bn254.py\n\nStyle conventions are enforced using `Pylint \u003chttps://pylint.readthedocs.io\u003e`__:\n\n.. code-block:: bash\n\n    python -m pip install .[lint]\n    python -m pylint src/oblivious test/test_ristretto.py test/test_bn254.py\n\nContributions\n^^^^^^^^^^^^^\nIn order to contribute to the source code, open an issue or submit a pull request on the `GitHub page \u003chttps://github.com/nthparty/oblivious\u003e`__ for this library.\n\nVersioning\n^^^^^^^^^^\nBeginning with version 0.1.0, the version number format for this library and the changes to the library associated with version number increments conform with `Semantic Versioning 2.0.0 \u003chttps://semver.org/#semantic-versioning-200\u003e`__.\n\nPublishing\n^^^^^^^^^^\nThis library can be published as a `package on PyPI \u003chttps://pypi.org/project/oblivious\u003e`__ by a package maintainer. First, install the dependencies required for packaging and publishing:\n\n.. code-block:: bash\n\n    python -m pip install .[publish]\n\nEnsure that the correct version number appears in ``pyproject.toml``, and that any links in this README document to the Read the Docs documentation of this package (or its dependencies) have appropriate version numbers. Also ensure that the Read the Docs project for this library has an `automation rule \u003chttps://docs.readthedocs.io/en/stable/automation-rules.html\u003e`__ that activates and sets as the default all tagged versions. Create and push a tag for this version (replacing ``?.?.?`` with the version number):\n\n.. code-block:: bash\n\n    git tag ?.?.?\n    git push origin ?.?.?\n\nRemove any old build/distribution files. Then, package the source into a distribution archive:\n\n.. code-block:: bash\n\n    rm -rf build dist src/*.egg-info\n    python -m build --sdist --wheel .\n\nFinally, upload the package distribution archive to `PyPI \u003chttps://pypi.org\u003e`__:\n\n.. code-block:: bash\n\n    python -m twine upload dist/*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnthparty%2Foblivious","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnthparty%2Foblivious","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnthparty%2Foblivious/lists"}