jarboto
JARVICE container environment config wrapper for boto3
Environment configuration
The following values are mandatory:
JARVICE_S3_ACCESSKEYJARVICE_S3_SECRETKEYJARVICE_S3_BUCKET
Note that the jarboto.S3 constructor throws jarboto.ConfigError if one of these values is not set
The following values are optional:
JARVICE_S3_ENDPOINTURL(defaults to AWS)JARVICE_S3_PREFIX(defaults tooutput/)JARVICE_S3_REGION(defaults to None)
Usage
Typical usage pattern when looking to conditionally fetch objects either from S3 or from another source:
import jarboto
try:
buf = jarboto.S3().get(name)
except jarboto.ConfigError:
# alternate method to fetch object follows
# ...
except jarboto.S3Error as e:
# actually failed to fetch object
print(e)
Notes:
- Keep
S3object if you intend to perform multiple operations in that context. - Run
pydoc jarboto.S3for additional help on method use.
Release files for jarboto 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jarboto-1.1.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jarboto-1.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.5 kB
Release files / jarboto-1.1.0.tar.gz
| Download URL | jarboto-1.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6aab9277e0b2dc0c2e7909ff53424a3a28d2055dac23ef24409da3739f03821
|
|
BLAKE2b-256 checksum How to use checksums |
7d9087981aa3eb65d93b7a704a055cd6f5af08cfe6e82ea1268062b86ed61b21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.
Transparency logRelease files / jarboto-1.1.0-py2.py3-none-any.whl
| Download URL | jarboto-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e5670db416facfae24054ee3ff080bc3512088ed9a6f5458b9bb2b2ace5f119c
|
|
BLAKE2b-256 checksum How to use checksums |
1e3e95abfb52db062cbc6524b73b9d9f08fecfe45b0fad5ce65d520e02ead3fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.
Transparency log