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.4.tar.gz
(15.6 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.3.4-py3-none-any.whl
(20.2 kB
view details)
File details
Details for the file cpi_tools-0.3.4.tar.gz.
File metadata
- Download URL: cpi_tools-0.3.4.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d98ee015f85bcf6312753a7838fa9d2f42b26883fec7e36d4ce9c3e5b8bb5c8
|
|
| MD5 |
7188e1600b85864d3b1a52a377ac51a8
|
|
| BLAKE2b-256 |
6db53fc8e8ccd28a221392e62ff9fe7202edd6a6d1146c0a8a6d3a9e085ab34a
|
File details
Details for the file cpi_tools-0.3.4-py3-none-any.whl.
File metadata
- Download URL: cpi_tools-0.3.4-py3-none-any.whl
- Upload date:
- Size: 20.2 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 |
e340379df38bbddad86c6e11340844a1432c42f4d13b558481426eca676d5109
|
|
| MD5 |
9acdd2041ebf996c3d22463e30f61cc6
|
|
| BLAKE2b-256 |
c8990479a9fb809be5331796c10633cb33d6b0769ada1bdf30b88f26cf2439eb
|