Pydid

Latest version: v0.5.1

Safety actively analyzes 702161 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.2.3

Added Features:
- Added `to_json` convenience method on DID Document.

0.2.2

Added Features:
- Add `from_json` method to DID Document

0.2.1

Fixed:

- Allow empty service endpoint
- Priority attribute on didcomm service
- Deserialize DIDCommService instead of Service when it is a DIDComm service
- Access DIDCommService custom attributes through "extra" dictionary for compatibility with Service
- DIDDocument.id returns a string, DIDDocument.did returns a DID

0.2.0

Improve builders by reworking usage of context managers and adding ability to remove elements.
Features:
- Verification methods, references, and services can now be added to builders in the following manner:
python
builder.verification_methods.add(...)
builder.authentication.embed(...)
builder.authentication.reference(...)
builder.service.add(...)

- Verification methods, references, and services can now be removed from builders (completing the CRUD operations of DID Documents as delegated to the DIDDocumentBuilder)

Breaking Changes:
- `builder.verification_methods(default_suite=...)` is now `builder.verification_methods.defaults(suite=...)`
- Removed `DIDDocument.to_builder()`. Use `DIDDocumentBuilder.from_doc(doc)` instead.

0.1.0.post3

Fix typo in packaging.

0.1.0.post2

Minor fixes for packaging.

Page 6 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.