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.2
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.2.tar.gz | 110.2 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| sourceorrery-0.1.2-cp311-abi3-win_arm64.whl | CPython 3.11 | abi3 | Windows ARM64 | Details |
| sourceorrery-0.1.2-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| sourceorrery-0.1.2-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| sourceorrery-0.1.2-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| sourceorrery-0.1.2-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
| sourceorrery-0.1.2-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.2.tar.gz
| Download URL | sourceorrery-0.1.2.tar.gz |
|---|---|
| Size | 110.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a639c48b78835339ca6eaefd1fe3d6d9795b9f35ab3b4f13ca7db07b9c50547f
|
|
BLAKE2b-256 checksum How to use checksums |
df5ef88098e21bdce5e3970543a5a6bf23e02a65e4e636d3e01797d48765b8ab
|
| 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.2-cp311-abi3-win_arm64.whl
| Download URL | sourceorrery-0.1.2-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
1b9184f8ab8595fb8e9d6d1178568837571c6895628feca8c0ab162b0cff5b5c
|
|
BLAKE2b-256 checksum How to use checksums |
85861f85f90793abdab17cba48a50712ce6e1765fdc1a0d95ffa7e6c7eefd85a
|
| 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.2-cp311-abi3-win_amd64.whl
| Download URL | sourceorrery-0.1.2-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
315d780236ca5071087164e392d3b4236dd6ef9990a289b4c89856c732e69347
|
|
BLAKE2b-256 checksum How to use checksums |
1f7e240941c293244f0ab27361b46a4419b072db06e3af2f7913229f1263ab68
|
| 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.2-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | sourceorrery-0.1.2-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 |
f8a8f9f242a6fc1b729e2fceb942b318e37b3f1254d576789b521ce3fab88c9e
|
|
BLAKE2b-256 checksum How to use checksums |
995247a9be9a0fa0648738d1cfd1e119140c8a0c275d809bef6f3d271948fc2a
|
| 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.2-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | sourceorrery-0.1.2-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 |
7c55ec3f10a2941b72041588ad353157c05b9aaa522f35397a9c10879272e78a
|
|
BLAKE2b-256 checksum How to use checksums |
cd3a696ff99da6302255029cf44b4d13112d2d4977d17285d81b428b6d9d1179
|
| 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.2-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | sourceorrery-0.1.2-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 |
ae977fcfbe5b5990a41c77bd88189d652be82fad156283caed87bff0957392b5
|
|
BLAKE2b-256 checksum How to use checksums |
de72ee831a2c280bf68fa43a12aa8beba88007ab1241fc71e09b01f89adb23a9
|
| 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.2-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | sourceorrery-0.1.2-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 |
7151df847ead040df0a87028fbc0233d36e1d6f802d15603987b252d524292f0
|
|
BLAKE2b-256 checksum How to use checksums |
f037f7a67f67759b49ca501ec40da0afa99cdf2bd0809235e7b7e4962ebbe9d8
|
| 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.2
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.