Skip to main content

A simple dashboard app to interactively fit ARIMA models.

Project description

Time Series App

PyPI version Python application

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 start it using the command

ts_app

or even

python -m ts_app

Press CTRL + C to stop it.

You can also start the app from an interactive session:

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ts_app-0.0.7.tar.gz
  • Upload date:
  • Size: 101.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for ts_app-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d97c64b2048894b578351eca3dab1c55d8c7f3b9dabea141d7aad0510d6c205e
MD5 68101a4e522e599ac48fce5a4a6da10c
BLAKE2b-256 60659a3bc5081b1eff724647ef0f887136f1f6fda40b8865e8c2fa2cdceaddaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ts_app-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 103.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for ts_app-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6f20c9fa6b4aee792183262056254d023d3def073f89d944da8a8a85db7afb0d
MD5 071c1bd4882e01df4cb05e295303f3a1
BLAKE2b-256 e4ae60776dc7dd42b8566f083092557e1e3f01b9da9621e94b0e5273a6fc2af6

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