Skip to main content

A utility package to handle data analytics

Project description

markets_analytics

A utility package to that helps with data analytics by reducing boiler plate code and replacing them with helper function for database interactivity, ETL pipelines, Google Sheets, and dates.

Installation

pip install markets_analytics 

Imports

The following examples showcase how to import packages for the areas you're interested in.

Although you can import original classes like RedshiftConnector, aliases have already been provided to reduce this step further.

Database connectivity:

from markets_analytics import redshift, datalake, exasol

ETL pipelines:

from markets_analytics import etl

Google Sheets:

from markets_analytics import GSheetHelper
gsheet = GSheetHelper('<Name of the GSheet>')

Date utilities:

from markets_analytics import dateutil

Google Chat:

from markets_analytics import GoogleChat
gchat = GoogleChat('<Webhook URL of the Google Chat Space>')

Email

from markets_analytics import Email
email = Email('<Your Email ID>', '<Your Email App Password>') # App Password is setup via Google 2FA Security tab

Releasing New Version

To release new versions after making changes, we need to update the pyproject.toml file and increment the version's minor or major counter by 1. You would then be able to run the following in your terminal (make sure dist only contains the new version files after build command has successfully completed):

python3 -m pip install --upgrade build twine
python3 -m build
python3 -m twine upload --repository testpypi dist/*

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

markets_analytics-0.1.5.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

markets_analytics-0.1.5-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file markets_analytics-0.1.5.tar.gz.

File metadata

  • Download URL: markets_analytics-0.1.5.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for markets_analytics-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bfe688dedeb8668bcaeb6f14f7e903db5c56be5a3bcf6fe86390a19a05d83a51
MD5 03b1c4b6995d3836d85af369eeb1ac89
BLAKE2b-256 fde931b739fd8afec636ba4f55d85b10b92d228a576849ce2fdc24f9077a39eb

See more details on using hashes here.

File details

Details for the file markets_analytics-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for markets_analytics-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 665d78b234d80f60e99361f39d610d269bb7da2f0f93526711efca2d6ce194b1
MD5 da77cc62fd8f065299308a82ad510020
BLAKE2b-256 d98873366c2ad2ac54e5a0f88b3aea0f0df2f85c236d5bad745d9b2c134019b0

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