Skip to main content

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

Project description

analytics_toolkit

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

Quick Start Guide

Documentation Overview

Version: 1.3.6.18
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(...).

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.7.1.tar.gz (224.3 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.7.1-py3-none-any.whl (192.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analytics_toolkit-1.3.7.1.tar.gz
  • Upload date:
  • Size: 224.3 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.7.1.tar.gz
Algorithm Hash digest
SHA256 dce852361e5d7291c051a221855bbfeae3ca381d18c8d44a214f855dfe8e11b6
MD5 510538e380cc6b100425c9fcebed993a
BLAKE2b-256 4d1c60541a964c4513d1c7499bd6bdb9d0cdbde7e57566661f87c83d9f833eab

See more details on using hashes here.

Provenance

The following attestation bundles were made for analytics_toolkit-1.3.7.1.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.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for analytics_toolkit-1.3.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6650b1cebac7abe94e9b60a5f1da98841d19e711862baa87c295e762c0491e4
MD5 9aa46132f39082fdfa4b962922149782
BLAKE2b-256 750f88334958482911e9575dba6f8e8417fa939cc3bb12aa3414651937a32360

See more details on using hashes here.

Provenance

The following attestation bundles were made for analytics_toolkit-1.3.7.1-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