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.4.1.tar.gz
(33.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cpi_tools-0.4.1-py3-none-any.whl
(39.0 kB
view details)
File details
Details for the file cpi_tools-0.4.1.tar.gz.
File metadata
- Download URL: cpi_tools-0.4.1.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
793e763d3b903b320423541e63404a34cb3c2dda1ebc77325b2ec0d02d139410
|
|
| MD5 |
2681f5ac520db0aff58a71adb056b8ed
|
|
| BLAKE2b-256 |
320f3a432543dcf8a9477d29b201f8d84ca88913eafa0fb5340998ec805c0718
|
File details
Details for the file cpi_tools-0.4.1-py3-none-any.whl.
File metadata
- Download URL: cpi_tools-0.4.1-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ddb7473254be3ef7f7845334b55574e2f549d3338edd2de4cd8548995195ce
|
|
| MD5 |
734a6733d765dc3ea8bd3900c929b328
|
|
| BLAKE2b-256 |
ef1816411511ec1a7f3c469517f48a4a4d1696291989c0d4bf74bf4b96612eed
|