Skip to main content

ts-prac

An installable Python package containing three separate Time Series practical workflows:

  • Shampoo sales (12-month forecast)
  • Daily minimum temperatures (30-day forecast)
  • Daily female births (30-day forecast)

Each workflow includes data loading and cleaning, EDA, summary statistics, visualizations, ADF stationarity testing, first-difference demonstration when needed, chronological 80/20 split, ARIMA(1,1,1) evaluation, MAE/RMSE, pickle model persistence, future forecasting, confidence intervals, and interpretation.

Install locally

From this project folder:

py -m pip install .

For development/editable installation:

py -m pip install -e .

Required CSV files

Put the matching dataset CSV files in the current working directory before running:

  • shampoo_sales.csv
  • daily_minimum_temperatures.csv
  • daily_total_female_births.csv

The package writes charts, metrics, and .pkl files to an outputs/ folder in the current working directory.

Run a practical

ts-prac shampoo
ts-prac temperature
ts-prac births

Run all three sequentially:

ts-prac

Or from Python/Jupyter:

from ts_prac import shampoo, temperature, female_births
shampoo.main()
# temperature.main()
# female_births.main()

Build and validate before publishing

py -m pip install --upgrade build twine
py -m build
py -m twine check dist/*

Test on TestPyPI first, then publish to PyPI with Twine. Package name ts-prac must be available on PyPI before you can publish it. Distribution name uses a hyphen, while the Python import name is ts_prac with an underscore.

Metadata

Release files for ts-prac 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ts-prac 0.1.0
File Size Uploaded Provenance
ts_prac-0.1.0.tar.gz 22.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ts-prac 0.1.0
File Interpreter ABI Platform
ts_prac-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.7 kB

Release files / ts_prac-0.1.0.tar.gz

Download URL ts_prac-0.1.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
652f9b3f7da6f2e80ed9da87159583e22cec97b0a15952d22a6e526411bf55c0
BLAKE2b-256 checksum
How to use checksums
392d3f3234ed6100de6680f32e6c8209228663498eb29d1284b99f66a9b99347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Release files / ts_prac-0.1.0-py3-none-any.whl

Download URL ts_prac-0.1.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fb61d0d16d9d8994e2989bf7492e75984249e20f1b2362ac42a090fbd0bcc96
BLAKE2b-256 checksum
How to use checksums
f193671a07c775ba25d49b9591a0673646f7369a6876fe663bf42812cb49b5c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Security for ts-prac 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page