Skip to main content

Utils for the YouTube Predictive Analytics system

Project description

ytpa-utils

Description

This package contains utility functions used by the YouTube video predictive analytics (YTPA) system. They support extended functionality for:

  • pandas: df_utils.py
  • gensim (text processing): gensim_utils.py
  • data I/O: io_utils.py
  • numpy: np_utils.py
  • SQL: sql_utils.py
  • timing: time_utils.py
  • object type validation: val_utils.py
  • other: misc_utils.py

Installation

Install from PyPI with pip install ytpa-utils.

Make commands

Several make commands are implemented in Makefile.

Testing

Tests are implemented in the test/ directory, one file per module. Run them locally with make test.

Deploying a new package version

A new version of the package can be deployed by incrementing the version number in pyproject.toml and running make deploy. A better practice is to git push and allow the Github Actions pipeline to take care of running tests and deploying the new version only when the entire pipeline succeeds. Make sure to use the right version of the package in your other environments (update it in a requirements file and update the environment).

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

ytpa_utils-0.1.16.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

ytpa_utils-0.1.16-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file ytpa_utils-0.1.16.tar.gz.

File metadata

  • Download URL: ytpa_utils-0.1.16.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.5 Linux/5.15.0-91-generic

File hashes

Hashes for ytpa_utils-0.1.16.tar.gz
Algorithm Hash digest
SHA256 3670a3c7726ff1c36e714255b407a709cc85dbaf65161d42c8a1e8ec0a415169
MD5 66d7af7624845c360c83fcfd484eaddc
BLAKE2b-256 4ec73ef538d0f3bc0ac7685043069a9f296cebc591a241335863715e34f77287

See more details on using hashes here.

File details

Details for the file ytpa_utils-0.1.16-py3-none-any.whl.

File metadata

  • Download URL: ytpa_utils-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.5 Linux/5.15.0-91-generic

File hashes

Hashes for ytpa_utils-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 4e27c6dcc3dd02b0ff3beae1da43984753c5a41ab198c180204d31a96a9561fa
MD5 75a68e8fe01291feca4408b8a9afb41b
BLAKE2b-256 397d747008b0e71ccdc11c72770f5bf2a97a0f0aa0902882222eef9cd7ee9246

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