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
afolu_bucket = 'cpi-afolu-landscape'
#Path within S3
path = 'entity_name_data'
#S3 File name 
file_name = 'afolu_entity_list.csv'

#Read file from S3
df = aws_tools.read_from_s3(afolu_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.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

cpi_tools-0.0.2-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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