[](https://badge.fury.io/py/didkit)
Check out the DIDKit documentation [here](https://spruceid.dev/docs/didkit/).
# DIDKit Python
DIDKit provides Verifiable Credential and Decentralized Identifier
functionality across different platforms. It was written primarily in Rust due
to Rust's expressive type system, memory safety, simple dependency web, and
suitability across different platforms including embedded systems. DIDKit
embeds the [`ssi`](https://github.com/spruceid/ssi) library, which contains the
core functionality.
## Installation and Usage
DIDKit is available [on PyPI](https://pypi.org/project/didkit/).
You can install it globally with:
```bash
$ pip install -U didkit
```
> `asyncio` is required, meaning you will need Python 3.7 or above.
## Build from Source
```bash
$ maturin build
```
> You can install `maturin` with `pip install maturin`.
Now the `wheel` should be in the [target directory](../../target/wheel).
### Custom Builds
To enable or disable certain features of DIDKit, or use different cryptography
backends, you will need edit the `Cargo.toml`.
## Development
When adding a function or changing the signature of an existing one, make sure
to reflect the changes in [the stub file](./didkit/pydidkit.pyi). This is
important for static analysis and IDE support. (This will be automated in the
future.)
## Test
```bash
poetry install
poetry run maturin develop
poetry run pytest
```
## Migration
### 0.2 to 0.3
Functions have kept the same signatures, but some have become asynchronous. You
will need to start using
[`asyncio`](https://docs.python.org/3/library/asyncio.html) if it is not already
the case.
## Maturity Disclaimer
Please note: this readme documents an early-stage open-source product ported
manually to python, and we are still incorporating feedback from our first
comprehensive third-party code audit. These artefacts are presented as
functional "betas" for experimentation and to show the direction of the
project (inviting proposals for changes of direction, even!). They are not,
however, intended for transacting real-world business yet.
Raw data
{
"_id": null,
"home_page": "https://spruceid.dev/docs/didkit/",
"name": "dlinc-didkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "ssi, did, python",
"author": "Spruce Systems, Inc.",
"author_email": null,
"download_url": null,
"platform": null,
"description": "[](https://badge.fury.io/py/didkit)\n\nCheck out the DIDKit documentation [here](https://spruceid.dev/docs/didkit/).\n\n# DIDKit Python\n\nDIDKit provides Verifiable Credential and Decentralized Identifier\nfunctionality across different platforms. It was written primarily in Rust due\nto Rust's expressive type system, memory safety, simple dependency web, and\nsuitability across different platforms including embedded systems. DIDKit\nembeds the [`ssi`](https://github.com/spruceid/ssi) library, which contains the\ncore functionality.\n\n## Installation and Usage\n\nDIDKit is available [on PyPI](https://pypi.org/project/didkit/).\n\nYou can install it globally with:\n```bash\n$ pip install -U didkit\n```\n\n> `asyncio` is required, meaning you will need Python 3.7 or above.\n\n## Build from Source\n\n```bash\n$ maturin build\n```\n> You can install `maturin` with `pip install maturin`.\n\nNow the `wheel` should be in the [target directory](../../target/wheel).\n\n### Custom Builds\n\nTo enable or disable certain features of DIDKit, or use different cryptography\nbackends, you will need edit the `Cargo.toml`.\n\n## Development\n\nWhen adding a function or changing the signature of an existing one, make sure\nto reflect the changes in [the stub file](./didkit/pydidkit.pyi). This is\nimportant for static analysis and IDE support. (This will be automated in the\nfuture.)\n\n## Test\n\n```bash\npoetry install\npoetry run maturin develop\npoetry run pytest\n```\n\n## Migration\n\n### 0.2 to 0.3\nFunctions have kept the same signatures, but some have become asynchronous. You\nwill need to start using\n[`asyncio`](https://docs.python.org/3/library/asyncio.html) if it is not already\nthe case.\n\n## Maturity Disclaimer\n\nPlease note: this readme documents an early-stage open-source product ported\nmanually to python, and we are still incorporating feedback from our first\ncomprehensive third-party code audit. These artefacts are presented as\nfunctional \"betas\" for experimentation and to show the direction of the\nproject (inviting proposals for changes of direction, even!). They are not,\n however, intended for transacting real-world business yet.\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Fork of spruceid/didkit-python maintained by dLinc. Library for Verifiable Credentials and Decentralized Identifiers.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/dogwoodlogic/didkit-python",
"Issues": "https://github.com/dogwoodlogic/didkit-python/issues",
"Source": "https://github.com/dogwoodlogic/didkit-python",
"Upstream": "https://github.com/spruceid/didkit-python"
},
"split_keywords": [
"ssi",
" did",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d45a6691d42f26b6f2568ced81b94140827c15fb971b65aaa36b8ce2ab7ba910",
"md5": "22f4b113621353f12f7844bb052e6bc1",
"sha256": "f72658f6dfd12a240361a3cce19d2ed82112bf94d5e3ecd664062dba56008ba1"
},
"downloads": -1,
"filename": "dlinc_didkit-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl",
"has_sig": false,
"md5_digest": "22f4b113621353f12f7844bb052e6bc1",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.7",
"size": 6713005,
"upload_time": "2025-08-23T00:04:12",
"upload_time_iso_8601": "2025-08-23T00:04:12.517099Z",
"url": "https://files.pythonhosted.org/packages/d4/5a/6691d42f26b6f2568ced81b94140827c15fb971b65aaa36b8ce2ab7ba910/dlinc_didkit-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a39cc7af4a055fa0c80afef9f4086548086bab6fa5afe47e22c42acdd90c7d0d",
"md5": "57089a1766ed63230bcd1ff62b57fb9c",
"sha256": "15273c7ce0e03ae41928ca4ebe00abad5ca2cb2d7f4c635e241468672c0e50c6"
},
"downloads": -1,
"filename": "dlinc_didkit-0.1.0-cp310-cp310-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "57089a1766ed63230bcd1ff62b57fb9c",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.7",
"size": 6497640,
"upload_time": "2025-08-23T00:04:14",
"upload_time_iso_8601": "2025-08-23T00:04:14.123702Z",
"url": "https://files.pythonhosted.org/packages/a3/9c/c7af4a055fa0c80afef9f4086548086bab6fa5afe47e22c42acdd90c7d0d/dlinc_didkit-0.1.0-cp310-cp310-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-23 00:04:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dogwoodlogic",
"github_project": "didkit-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dlinc-didkit"
}