Skip to main content

A toolbox for Analytics and Research.

Project description


A toolbox for Analytics and Research.


pip install analytics_toolbox


Help With Postges Connection Setup

Step 1. Formatting Your Database Config Files

For example, you have the following config.ini file.

hostname =
port = 5432
database = dbname 
user = htpeter

hostname =
port = 5432
database = dbname 
user = htpeter

Step 2. Ensuring you have .pgpass setup

You don't pass passwords to analytics_toolbox in its current form. Instead it leverages pgpass. Simply paste a record for each database in a text file ~/.pgpass with the following information.


When psycopg2 or even psql attempt to connect to a server, it will look in this file and if it finds matching server information, it will use that password.

Ensure you limit the permissions on this file using chmod 600 ~/.pgpass

Usage Examples

import analytics_toolbox as atb

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for analytics-toolbox, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size analytics_toolbox-0.1.0-py3-none-any.whl (13.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size analytics_toolbox-0.1.0.tar.gz (14.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page