sourceorrery (Python)
Read secrets from a SourceOrrery vault. Secrets belong to the runtime, not the repository.
from sourceorrery import SecretReader
with SecretReader("development") as reader, reader.get("database-password") as secret:
connect(password=secret.value.expose_text())
The package only reads. The vault is unlocked the way the sourceorrery
CLI unlocks it: OS credential store first, then SOURCEORRERY_PASSPHRASE,
then SOURCEORRERY_PASSPHRASE_FILE. Every failure is a typed exception
with a stable code and a hint that says what to do.
Documentation: https://sourceorrery.ai/sdks/python/. Source:
bindings/python in the repository.
Building from source
pip install maturin
cd bindings/python
maturin develop --release # into the active virtualenv
Tests read the vault created by scripts/ci/fixture-vault.sh:
eval "$(bash ../../scripts/ci/fixture-vault.sh)"
python -m pytest
Metadata
Release files for sourceorrery 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sourceorrery-0.1.3.tar.gz | 110.2 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| sourceorrery-0.1.3-cp311-abi3-win_arm64.whl | CPython 3.11 | abi3 | Windows ARM64 | Details |
| sourceorrery-0.1.3-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| sourceorrery-0.1.3-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| sourceorrery-0.1.3-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| sourceorrery-0.1.3-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
| sourceorrery-0.1.3-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 12.4 MB
Release files / sourceorrery-0.1.3.tar.gz
| Download URL | sourceorrery-0.1.3.tar.gz |
|---|---|
| Size | 110.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d848a7addc3578f0f366d8fa11f88ff9f1e65d242a1e8322631e15fd79ad5800
|
|
BLAKE2b-256 checksum How to use checksums |
820d63280ec845ef5426d62aed8b30f6804a5d93670bce559c79709043cfde8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / sourceorrery-0.1.3-cp311-abi3-win_arm64.whl
| Download URL | sourceorrery-0.1.3-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0847054afadb161594f31ef44907c08d6721837836daa922a5eae27522fa31c2
|
|
BLAKE2b-256 checksum How to use checksums |
24ad206f39ef33bd32d2d873e585978b38cc4dd525aba853f60ec1ba88e44d99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / sourceorrery-0.1.3-cp311-abi3-win_amd64.whl
| Download URL | sourceorrery-0.1.3-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
23eab57517d981e889ee9141eaaf0e0882750b7330a37570553b5206fff0f09b
|
|
BLAKE2b-256 checksum How to use checksums |
01dde80559acc7685700b9c62355b7736e87e246abe4c1e58c9474b47a7b3332
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / sourceorrery-0.1.3-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | sourceorrery-0.1.3-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c201847fbbc9661180f7e7668e023e2f2a445dfe169999ca9d2bd936b24bde7c
|
|
BLAKE2b-256 checksum How to use checksums |
768215dcd43ce36a9f80e531e879b62c25cf248547d84a0697be0c92a0406610
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / sourceorrery-0.1.3-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | sourceorrery-0.1.3-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e732ed4dc6a2a5820ebbbe00d4f43f2e3d8891a5ede61da063f0432793bad0e5
|
|
BLAKE2b-256 checksum How to use checksums |
f33d4544236a2433463718a9220426df666fa3ffbebd388ff605dee6d6f8b2c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / sourceorrery-0.1.3-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | sourceorrery-0.1.3-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
908f9d4aceee0dfcc5eb65094dbce64929c65e87bc43f2862c3597c6a9a4248f
|
|
BLAKE2b-256 checksum How to use checksums |
dfa64d41421d7df8961f4d66ab235edbc5d06c793fa3bfd98b412bd9db869df0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / sourceorrery-0.1.3-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | sourceorrery-0.1.3-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
0e9afef700cddcc7295d2c2301afd22f6e335a913831f6fa0a009ba5ffc6a5d7
|
|
BLAKE2b-256 checksum How to use checksums |
ae5c19697008c0066eb4563809704c4715bb75dfab1f38c98c92de64cbd123a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for sourceorrery 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.