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.3.19.tar.gz
(12.2 kB
view hashes)
Built Distribution
cpi_tools-0.3.19-py3-none-any.whl
(16.4 kB
view hashes)
Close
Hashes for cpi_tools-0.3.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd79ad1a314c42db46cc0be1069ce20ae0aead7e51e64df950c2cd26a6393b0 |
|
MD5 | 5bcd088692d668831b9d95b784b4f345 |
|
BLAKE2b-256 | 1c0d3721de522a7e04b8a67b19779a03b86e4f02efeb7329578b1e8c427bafe9 |