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.3.tar.gz
(33.8 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.3-py3-none-any.whl
(39.6 kB
view details)
File details
Details for the file cpi_tools-0.4.3.tar.gz.
File metadata
- Download URL: cpi_tools-0.4.3.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ef5a312a393d6510f0a30d427fd06cfa2dd567a97cecd52d7d5a8a299eb9df
|
|
| MD5 |
09f73ed19ba34e3cc0cd929b6f1b9ba2
|
|
| BLAKE2b-256 |
42ec28898f2484080ff7d387cc9d86d33afeb83e0fb09d9487ab1a35a4ca1aab
|
File details
Details for the file cpi_tools-0.4.3-py3-none-any.whl.
File metadata
- Download URL: cpi_tools-0.4.3-py3-none-any.whl
- Upload date:
- Size: 39.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4e1d7a3a0c3bd2069f5e54afabbebcbf9a8c4f8cfd30d58160114653b1c13be
|
|
| MD5 |
7e8c352c557f6d4f46855e0126bd6dbf
|
|
| BLAKE2b-256 |
1635df08be992aa53d9a6e42718d464f70ffa2db4a28f91bff4b9a17b396a1a9
|