JARVICE container environment config wrapper for boto3
Project description
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.
Project details
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 jarboto-1.1.0.tar.gz.
File metadata
- Download URL: jarboto-1.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6aab9277e0b2dc0c2e7909ff53424a3a28d2055dac23ef24409da3739f03821
|
|
| MD5 |
81f49d9c3a36e8e070cab975b6ec6ded
|
|
| BLAKE2b-256 |
7d9087981aa3eb65d93b7a704a055cd6f5af08cfe6e82ea1268062b86ed61b21
|
Provenance
The following attestation bundles were made for jarboto-1.1.0.tar.gz:
Publisher:
python-publish.yml on nimbix/jarboto
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jarboto-1.1.0.tar.gz -
Subject digest:
f6aab9277e0b2dc0c2e7909ff53424a3a28d2055dac23ef24409da3739f03821 - Sigstore transparency entry: 171339498
- Sigstore integration time:
-
Permalink:
nimbix/jarboto@cdfd60a7f2997557edc5adac84ebd14d8bb0ba7d -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/nimbix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cdfd60a7f2997557edc5adac84ebd14d8bb0ba7d -
Trigger Event:
release
-
Statement type:
File details
Details for the file jarboto-1.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: jarboto-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5670db416facfae24054ee3ff080bc3512088ed9a6f5458b9bb2b2ace5f119c
|
|
| MD5 |
fb436065218287cf4d6bc99e46baf116
|
|
| BLAKE2b-256 |
1e3e95abfb52db062cbc6524b73b9d9f08fecfe45b0fad5ce65d520e02ead3fe
|
Provenance
The following attestation bundles were made for jarboto-1.1.0-py2.py3-none-any.whl:
Publisher:
python-publish.yml on nimbix/jarboto
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jarboto-1.1.0-py2.py3-none-any.whl -
Subject digest:
e5670db416facfae24054ee3ff080bc3512088ed9a6f5458b9bb2b2ace5f119c - Sigstore transparency entry: 171339499
- Sigstore integration time:
-
Permalink:
nimbix/jarboto@cdfd60a7f2997557edc5adac84ebd14d8bb0ba7d -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/nimbix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cdfd60a7f2997557edc5adac84ebd14d8bb0ba7d -
Trigger Event:
release
-
Statement type: