SDK for interacting with Nillion's Private Storage solutions.
Project description
SDK for interacting with Nillion’s Private Storage solutions.
Installation and Usage
You can install the package using pip:
pip install secretvaults
The library can be imported in the usual ways:
import secretvaults
from secretvaults import *
Examples and Usage Documentation
Please see the examples directory for examples and documentation.
Development
All installation and development dependencies are fully specified in pyproject.toml. The project.optional-dependencies object is used to specify optional requirements for various development tasks. This makes it possible to specify additional options (such as docs, lint, and so on) when performing installation using pip:
python -m pip install ".[docs,lint]"
Documentation
The documentation can be generated automatically from the source files using Sphinx:
python -m pip install ".[docs]"
cd docs
sphinx-apidoc -f -E --templatedir=_templates -o _source ../src && make html
Testing and Conventions
All unit tests are executed and their coverage is measured when using pytest (see the pyproject.toml file for configuration details):
python -m pip install ".[test]"
python -m pytest test
Style conventions are enforced using Pylint:
python -m pip install ".[lint]"
python -m pylint src/secretvaults
Contributions
In order to contribute to the source code, open an issue or submit a pull request on the GitHub page for this library.
Versioning
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.
Publishing
This library can be published as a package on PyPI via the GitHub Actions workflow found in .github/workflows/build-publish-sign-release.yml that follows the recommendations found in the Python Packaging User Guide.
Ensure 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 that activates and sets as the default all tagged versions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secretvaults-0.3.2.tar.gz.
File metadata
- Download URL: secretvaults-0.3.2.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
660dd9c1bda1c1d0395b4ed16ff6cf0fc6d6587ad0a9bd7061640d05f4644f41
|
|
| MD5 |
be77092fb6625ec01ae5562fd795f049
|
|
| BLAKE2b-256 |
fb4331433116c5795679b6f5b92129732e2209cf421628dcff9bfec527b0e6c2
|
Provenance
The following attestation bundles were made for secretvaults-0.3.2.tar.gz:
Publisher:
build-publish-sign-release.yml on NillionNetwork/secretvaults-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
secretvaults-0.3.2.tar.gz -
Subject digest:
660dd9c1bda1c1d0395b4ed16ff6cf0fc6d6587ad0a9bd7061640d05f4644f41 - Sigstore transparency entry: 667217304
- Sigstore integration time:
-
Permalink:
NillionNetwork/secretvaults-py@fe90f831a49d9e26274dfe0350837cc6b503ab84 -
Branch / Tag:
refs/tags/0.3.2 - Owner: https://github.com/NillionNetwork
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-publish-sign-release.yml@fe90f831a49d9e26274dfe0350837cc6b503ab84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file secretvaults-0.3.2-py3-none-any.whl.
File metadata
- Download URL: secretvaults-0.3.2-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65a3158b287ea106d7369723b9a53bcb5c6786974c74634bce71b1d71fba33f9
|
|
| MD5 |
6a5ce94d94c70c0717cd151a1a7d142f
|
|
| BLAKE2b-256 |
d1dfa3e34005625cad877e93c62050b8715caa451fb254ea9f020e9afc5f5f60
|
Provenance
The following attestation bundles were made for secretvaults-0.3.2-py3-none-any.whl:
Publisher:
build-publish-sign-release.yml on NillionNetwork/secretvaults-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
secretvaults-0.3.2-py3-none-any.whl -
Subject digest:
65a3158b287ea106d7369723b9a53bcb5c6786974c74634bce71b1d71fba33f9 - Sigstore transparency entry: 667217326
- Sigstore integration time:
-
Permalink:
NillionNetwork/secretvaults-py@fe90f831a49d9e26274dfe0350837cc6b503ab84 -
Branch / Tag:
refs/tags/0.3.2 - Owner: https://github.com/NillionNetwork
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-publish-sign-release.yml@fe90f831a49d9e26274dfe0350837cc6b503ab84 -
Trigger Event:
push
-
Statement type: