Skip to main content

Shared Python utilities for SQL, Excel, and date helpers.

Project description

analytics_toolkit

A compact Python toolkit for AB-test analysis, SQL workflows, Excel reports, and date helpers.

Version: 1.3.6.14
Depends: Python (>=3.8,<3.15)
Imports: clickhouse-connect (>=0.5.14,<1), lz4 (>=4.3.2,<5), numpy (>=1.24.2,<2), openpyxl (>=3.1.1,<4), orjson (>=3.8.7,<4), pandas (>=1.4.4,<3), psycopg2-binary (>=2.9.5,<3), python-dateutil (>=2.8.2,<3), pytz (>=2022.7), requests (>=2.28.2,<3), scipy (>=1.10.1,<2), sqlglot (>=20,<31), sqlparse (>=0.4.3,<1), tqdm (>=4.65.0,<5), trino (>=0.320,<1), zstandard (>=0.20.0,<1)
Suggests: apache-airflow (>=2.4,<3; optional extra airflow)
Install: pip install analytics-toolkit
PyPI: pypi.org/project/analytics-toolkit
License: MIT
Source: github.com/Karapsin/analytics_toolkit
Issues: GitHub Issues

Installation

From PyPI:

pip install analytics-toolkit

From GitHub:

pip install git+https://github.com/Karapsin/analytics_toolkit.git

Areas

  • analytics_toolkit.ab_utils: AB-test metric comparison helpers.
  • analytics_toolkit.sql: SQL read, execute, load, and transfer helpers.
  • analytics_toolkit.excel: Excel report helpers for long-format dataframes.
  • analytics_toolkit.dates: date and period helpers.
  • analytics_toolkit.general: shared logging and file path helpers.

SQL Import Policy

Supported SQL imports are from analytics_toolkit import sql or import analytics_toolkit.sql as sql. Deep imports under analytics_toolkit.sql.* are internal implementation details and may change; call SQL helpers through the sql facade, for example sql.create_sql_table(...) or sql.transfer(...). Do not restore removed root implementation paths.

Documentation

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

analytics_toolkit-1.3.6.14.tar.gz (221.5 kB view details)

Uploaded Source

Built Distribution

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

analytics_toolkit-1.3.6.14-py3-none-any.whl (192.1 kB view details)

Uploaded Python 3

File details

Details for the file analytics_toolkit-1.3.6.14.tar.gz.

File metadata

  • Download URL: analytics_toolkit-1.3.6.14.tar.gz
  • Upload date:
  • Size: 221.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for analytics_toolkit-1.3.6.14.tar.gz
Algorithm Hash digest
SHA256 8e9ddc084cfbe370c727751aefc88f6eb87d2408716afe6f5654c1c3e4a1b7da
MD5 6817e627cf347051e5dc17ed5c123161
BLAKE2b-256 d37c1c0c65c54e99d25c9fc05deebd67e5946b43b6d3c9ba9dee54357e753476

See more details on using hashes here.

Provenance

The following attestation bundles were made for analytics_toolkit-1.3.6.14.tar.gz:

Publisher: publish.yml on Karapsin/analytics_toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file analytics_toolkit-1.3.6.14-py3-none-any.whl.

File metadata

File hashes

Hashes for analytics_toolkit-1.3.6.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8945cce726984b534374ab6c1f3a5a33cf9d7b4ebe8b8a190d7aed6918304620
MD5 c7874b8dc97618157a525c776a7c9100
BLAKE2b-256 16dd97a63df50abf8104408a58451ba25696b0358585d1b23ad84ff1566b2025

See more details on using hashes here.

Provenance

The following attestation bundles were made for analytics_toolkit-1.3.6.14-py3-none-any.whl:

Publisher: publish.yml on Karapsin/analytics_toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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