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.0.3.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for cpi_tools-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 881633496144ce239e9497b3016b20808908251d22e980d83871660e2cded5a7 |
|
MD5 | 66beef1f09a13de38f66f738d3c6b69b |
|
BLAKE2b-256 | 8e7355ebe29028b2a2bdc54b502253d7cc0d05cd214eeaa00c1425ce95d3bca3 |