Repository of functions used across CPI
Project description
CPI Data Tools
A repository of commonly used tools across CPI
Instructions
- Install:
pip install cpi_tools
AWS Tools
from cpi_tools import aws_tools
#S3 Bucket
bucket = 'YOUR_BUCKET'
#Path within S3
path = 'PATH_IN_BUCKET'
#S3 File name
file_name = 'FILE_NAME'
#Read file from S3
df = aws_tools.read_from_s3(bucket, path, file_name)
#Write file to S3
aws_tools.write_to_s3(df, bucket, path, file_name)
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
cpi_tools-0.1.0.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for cpi_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2556fda02fab2fece01c78e6ae66243dd85b892b11d2efd9853103320a26add2 |
|
MD5 | ff710b63ac10b2d04f89d34b69cd5b19 |
|
BLAKE2b-256 | c4b7fc1adaa31480c88d77677e9cc79a241bf3698c5e888e62dafda47cc7a203 |