Skip to main content

A simple dashboard app to interactively fit ARIMA models.

Project description

Time Series App

PyPI version

A simple web app to learn a little about Time Series analysis and forecasting.

You can create a sample, or upload a file, and interactively fit a time series model on it. To give it a try, click here...

screencast of the app

Installation

The easiest way to install the app is from PyPI using:

pip install ts-app

You can then use the command

ts_app

or even

python -m ts_app

to start it. Press CTRL + C to stop it.

You can also start the app from the python interpreter:

>>> import ts_app
>>> ts_app.run_app()

Manual set up

1. Using a virtual environment

You'll need Python 3.8 and above. Packages used include statsmodels, flask, dash, pandas and NumPy.

  1. Fetch the necessary files:

    git clone https://github.com/Tim-Abwao/time-series-app.git
    cd time-series-app
    
  2. Create the virtual environment:

    python3 -m venv venv
    source venv/bin/activate
    pip install -U pip
    pip install -r requirements.txt
    
  3. Start the app:

    You can use the convenient run.sh script, or waitress:

    waitress-serve --listen=127.0.0.1:8000 ts_app:server
    

    then browse to localhost:8000 to interact with the web app.

    Afterwards, use CTRL + C to stop it.

2. Using Docker

You'll need Docker.

  1. Fetch the necessary files, just as above:

    git clone https://github.com/Tim-Abwao/time-series-app.git
    cd time-series-app
    
  2. Build an image for the app and run it in a container,

    docker build --tag ts_app .
    docker run --name ts -d -p 8000:8000 --rm  ts_app
    

    in which case the app will be running at http://0.0.0.0:8000.

    Afterwards, use

    docker stop ts
    

    to terminate it.

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

ts_app-0.0.5.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

ts_app-0.0.5-py3-none-any.whl (102.9 kB view details)

Uploaded Python 3

File details

Details for the file ts_app-0.0.5.tar.gz.

File metadata

  • Download URL: ts_app-0.0.5.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for ts_app-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ae5f3ec96461d6e4d294a51b1b4f65b2c2ec70b9062552237cdb4e355499d878
MD5 1492e28607b38affbf975341213f1d61
BLAKE2b-256 b7cefee8dcf21b3ff1a87e3c1ae32f39973c2e35267a170fbecb9d003032c98d

See more details on using hashes here.

File details

Details for the file ts_app-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ts_app-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 102.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for ts_app-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4e9bafde75556f0d905c63717af206417e8f3afb7082c9da269b60e162cc5e9c
MD5 2cb244114ffe3b5d8c8e7623debdbca9
BLAKE2b-256 f0fa0b27e896ebf2bf52a0b991a392b89e700147b0c69517843408e9edf23ed0

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