Boto Plugin for the CloeePy Framework
Attaches a Boto Session to CloeePy application context.
## Installation
`pip install CloeePy-Boto`
## Configuration
### Configuration Basics
CloeePy-Boto configuration is by environment variables, and text-based
configuration is note supported. All you need to do is ensure
`cloeepy_boto` is listed under `CloeePy.Plugins`
To learn what environment variables to configure, read the
[Boto3 Docs](https://boto3.readthedocs.io/en/latest/guide/configuration.html#guide-configuration)
```
CloeePy
...
Plugins:
cloeepy_boto: {}
```
### Customize Plugin Namespace
By default, your connection is available on the CloeePy application context as
`app.boto`. Optionally you can specify a different namespace by which you access
the rabbitmq connection via `pluginNamespace`.
```
...
Plugins:
cloeepy_boto:
pluginNamespace: customBotoNS
```
Then, you would access your Boto connection on the application context like so:
```
app = CloeePy()
result = app.customBotoNS.ping()
app.log.info(result)
```
## Usage
```
import os
from cloeepy import CloeePy
if __name__ == "__main__":
# Required: set config path as environment variable
os.environ["CLOEEPY_CONFIG_PATH"] = "./example-config.yml"
# instantiate application instance
app = CloeePy()
# create s3 resource and print bucket names
s3 = app.boto.resource('s3')
for bucket in s3.buckets.all():
print(bucket.name)
```
Metadata
Release files for CloeePy-Boto 0.0.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 | Provenance | Actions |
|---|---|---|---|---|
| CloeePy-Boto-0.0.0.tar.gz | 3.4 kB | Without provenance | Details for CloeePy-Boto-0.0.0.tar.gz |
Release files / CloeePy-Boto-0.0.0.tar.gz
| Download URL | CloeePy-Boto-0.0.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00afc66f5355e3c03c4d69441ca635b7f7364a5c50f0cbe3c7283adbda89e706
|
|
BLAKE2b-256 checksum How to use checksums |
1f90f14ceb666278cf53f7b65206e709f6812e2d70712900f7cb06132fc3085a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for CloeePy-Boto 0.0.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.