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.1
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.1.tar.gz | 110.2 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| sourceorrery-0.1.1-cp311-abi3-win_arm64.whl | CPython 3.11 | abi3 | Windows ARM64 | Details |
| sourceorrery-0.1.1-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| sourceorrery-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| sourceorrery-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| sourceorrery-0.1.1-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
| sourceorrery-0.1.1-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.1.tar.gz
| Download URL | sourceorrery-0.1.1.tar.gz |
|---|---|
| Size | 110.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
465055439066a0a4096d513185426162261060775083b05d2b5509c8b1a57e74
|
|
BLAKE2b-256 checksum How to use checksums |
3783c8397cfb4e55986d1be214299a155182c8aa8eb1904803ab4f2cd4270aaa
|
| 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.1-cp311-abi3-win_arm64.whl
| Download URL | sourceorrery-0.1.1-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a9a883f397616bf7ec58b6765762300cf2bcea48b01e5765ba57025f08010042
|
|
BLAKE2b-256 checksum How to use checksums |
5698f2ece7845ab484a9e15fb72d95cca94b09ab89c752a43cb2dd8e930d9faa
|
| 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.1-cp311-abi3-win_amd64.whl
| Download URL | sourceorrery-0.1.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a9c99f9a6b5b261e188fe50679a29708df594c9c92b0eac0e13488eaa9c9d817
|
|
BLAKE2b-256 checksum How to use checksums |
340071bfc20ccc86a6fd5795ceca64656ac7f0f620cd43ff76c679102ede63ce
|
| 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.1-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | sourceorrery-0.1.1-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 |
200f5b3d7731f61e485e0c9668016705b5943d43bbff20209dfc1fc2fcc058fd
|
|
BLAKE2b-256 checksum How to use checksums |
2a5444524ada505bd482cc47277d2f423c6ec1a587ed3e87c1bf8acd5a06fd80
|
| 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.1-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | sourceorrery-0.1.1-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 |
44d24e669702e876baef5c5d4bb115ddceac9956407e6526cbb825eed8abb7a2
|
|
BLAKE2b-256 checksum How to use checksums |
23f42ff1d58ceb150d8ee5277a0003a6737a104d20bb21ee18780afc832ca5bb
|
| 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.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | sourceorrery-0.1.1-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 |
150cff59e37ca3eef267327e30a9cd933bd64368ed9564bd1243a4eade70bd8f
|
|
BLAKE2b-256 checksum How to use checksums |
345532b3297989d92df003bd60c67197f0a1dd231f1be895eec9aae2bce9eb45
|
| 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.1-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | sourceorrery-0.1.1-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 |
ee0c3546a9e896c9bd731d0d12f7c5bda44c75daec3ce5808f32371b2a1efc84
|
|
BLAKE2b-256 checksum How to use checksums |
c29d582c368fd5ec228f76caf39305fd816f6c88faa4d45bb37d00af059b6823
|
| 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.1
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.