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.2.8.tar.gz
(10.6 kB
view hashes)
Built Distribution
cpi_tools-0.2.8-py3-none-any.whl
(11.5 kB
view hashes)
Close
Hashes for cpi_tools-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 002de80bae79dde5b81e6ae312b23fea2ea0b5a93977f3b5cb7e5688b8cca3ba |
|
MD5 | c0e23213ab0d4a19451a0ea11ff7fabb |
|
BLAKE2b-256 | 0ea33f168510e9942c3cc48c01c3621f037f2f23f430392c43a6f6be96c188da |