Skip to main content

Repository of functions used across CPI

Project description

CPI Data Tools

A repository of commonly used tools across CPI

Instructions

  1. 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


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.4.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpi_tools-0.4.4-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file cpi_tools-0.4.4.tar.gz.

File metadata

  • Download URL: cpi_tools-0.4.4.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

Hashes for cpi_tools-0.4.4.tar.gz
Algorithm Hash digest
SHA256 3a1576a3e10ff463c71d37fb5021c3a16b3ad1c189bfbbd08ecb1afe8bd67e50
MD5 5c32e54213e9c52ef79695c0c650d26a
BLAKE2b-256 551218ad307b0d744eaa8a0fa039cc63ca65cbd662e12fc3fb5ea6bee5266300

See more details on using hashes here.

File details

Details for the file cpi_tools-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: cpi_tools-0.4.4-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

Hashes for cpi_tools-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f2189231f3bfad806454abce1642870dcc71900a9f8b600c86d2f44f51a67ffb
MD5 83d63a6bb4a3968dd3de0e07126b5213
BLAKE2b-256 95cec665dd8d7baf530c24d6cb7c3aeee5c0923c76122e28974f075857898650

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page