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.28.tar.gz
(14.2 kB
view details)
Built Distribution
File details
Details for the file cpi_tools-0.3.28.tar.gz
.
File metadata
- Download URL: cpi_tools-0.3.28.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b16d1f92e25ab069cd04be7afe88455875610ca1fd7f1006d9dff4bacfdee15 |
|
MD5 | f2e6b0f522315b881b82a10833d8bfd4 |
|
BLAKE2b-256 | 8c788592811f61adb79b930165c08856535df0d073439a347d112e9d984228ea |
File details
Details for the file cpi_tools-0.3.28-py3-none-any.whl
.
File metadata
- Download URL: cpi_tools-0.3.28-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1a45ec9b63a97e8a7efdfd9172076dcd8866be1acd1bfd52bda0ff8a13fdd6d |
|
MD5 | 90077a9c87d7c1ff373ec6f03e038312 |
|
BLAKE2b-256 | 5798de35aa094ef74fb2c615015745d458781ba651a78c4a616b91c30434bfbb |