UMCCR Reusable Python modules
Project description
libumccr
UMCCR Reusable Python modules
Usage
- Install through
pip
like so
pip install libumccr
- Somewhere in your Python code
from libumccr.aws import libssm
ssm_value = libssm.get_ssm_param("my_param_name")
- Crawling S3 Objects from a Bucket, efficiently!
from libumccr.aws import libs3
bucket="my-bucket"
key_prefix="my_prefix"
key_suffix=".csv"
for obj in libs3.get_matching_s3_objects(bucket, prefix=key_prefix, suffix=key_suffix):
print(f"s3://{bucket}/{obj['Key']}")
Development
- Create Python virtual environment
git clone https://github.com/umccr/libumccr.git
cd libumccr
conda activate libumccr
make up
make ps
make install all
make check
make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libumccr-0.4.0rc1.tar.gz
(15.2 kB
view hashes)
Built Distribution
Close
Hashes for libumccr-0.4.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd120b00ce3b0e9ab058dc189d0899b69d5a8c1e0ec72ae44d8bba0351f8986 |
|
MD5 | 1dcab7f56a86218da3b230035c1dd2c0 |
|
BLAKE2b-256 | 3ac92d50ef6ec964a54c9631ab892e8b9c73dd35ae29d57f79809713097aac21 |