Skip to main content

Connectors for interacting with popular API's used in marketing analytics using clean and concise Python code.

Project description

route1.io Python connectors

Issues License Version


At route1.io we've written high level, easy-to-use abstractions in Python for connecting to common APIs used in marketing analytics. This repository contains our official code, documentation, and tutorials to help you on your way accessing what matters most: your data.

Sample gif showing importing the connectors

Table of Contents


Supported API's

Below is a list of API's currently supported by our custom connectors


Installation

pip

Easily install to your environment from PyPI with

$ pip install route1io-connectors

Sample usage

All connectors provided by the package can be imported with Python's standard import syntax. See our wiki for tutorials regarding specific platform connectors!

from route1io_connectors import aws

# Credentials 
# NOTE: Storing credentials in source isn't secure in practice. 
#       It's recommended you store them in a more secure place.
AWS_ACCESS_KEY_ID = "YOUR_AWS_ACCESS_KEY_ID"
AWS_SECRET_ACCESS_KEY = "YOUR_AWS_SECRET_ACCESS_KEY"
REGION_NAME = "YOUR_DEFAULT_REGION_NAME"

# Connect to S3 
s3 = aws.connect_to_S3(
    aws_access_key_id=AWS_ACCESS_KEY_ID,
    aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
    region_name=REGION_NAME
)

# Download remote file from S3 bucket to local machine
aws.download_from_S3(
    s3=s3,
    bucket="your.s3.bucket",
    key="local_file.csv"
    local_fpath="tmp/local_file.csv",
)

Documentation

Documentation can be found in docs/_build/html or online at Read The Docs

License

This library operates under the GNU GPL v3.0 license.


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

route1io_connectors-0.21.0.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

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

route1io_connectors-0.21.0-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

Details for the file route1io_connectors-0.21.0.tar.gz.

File metadata

  • Download URL: route1io_connectors-0.21.0.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for route1io_connectors-0.21.0.tar.gz
Algorithm Hash digest
SHA256 63d7766290ff3a3d576c021ef2aff4a57200e751222845bd19f1b092d6a3c486
MD5 4ac0be2624fe39fc08f8e698e9d83e79
BLAKE2b-256 ea77b70c90c59bcc2b13684099c61580724012512d69d0e424c3a839e44f717a

See more details on using hashes here.

File details

Details for the file route1io_connectors-0.21.0-py3-none-any.whl.

File metadata

File hashes

Hashes for route1io_connectors-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 deba73498b1e33b4be57c51b4fc275edf417fca26a5d0ce7ac97a4ae711f7d29
MD5 a5a66c532499723327a6bb264058eac4
BLAKE2b-256 4337bbdaecd3198b871054b0b50094bd94ba130cad73ea3ea65c33f40651a3d2

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