Skip to main content

Assist the development of apps for OnSign TV platform by running them locally.

Project description

OnSign TV App Simulator

This simulator makes it easier to develop OnSign TV Apps by testing your configuration locally, without having to upload your HTML to OnSign TV every time you make a change while developing your app.

Installing

This simulator requires Python 3.8 and up. You can optionally install ffmpeg to determine the duration of video and audio files, but that is not needed unless you plan on using those attributes on your app. If you want ID3 information for audio files, you'll also need to install mutagen.

Installing from PyPI

You can easily install it from PyPI:

pip install onsigntv-app-simulator

Installing from this repo

You can also install it from this repo.

After cloning or downloading this repo, just enter the folder, create a new environment and install it.

python3 -m venv env
. env/bin/activate

python setup.py install

Using the Simulator

After installing, running the simulator is very simple. The following command should be in your path:

onsigntv-app-simulator path/to/apps

If you don't specify a path, the app simulator will use your current working directory.

After running, open your browser and navigate to http://127.0.01:8080/. Click on your template file, fill in the options and start developing.

The app simulator will automatically track files – like images, CSS or Javascript - used by your app. If any file used changes the app will be automatically reloaded.

Heads Up! If you installed the simulator in a virtualenv the command should be running with the virtualenv activated!

Report any issues you find here and keep on working on your apps!

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

onsigntv-app-simulator-1.5.0.tar.gz (83.2 kB view details)

Uploaded Source

Built Distribution

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

onsigntv_app_simulator-1.5.0-py3-none-any.whl (86.8 kB view details)

Uploaded Python 3

File details

Details for the file onsigntv-app-simulator-1.5.0.tar.gz.

File metadata

  • Download URL: onsigntv-app-simulator-1.5.0.tar.gz
  • Upload date:
  • Size: 83.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for onsigntv-app-simulator-1.5.0.tar.gz
Algorithm Hash digest
SHA256 7dea63828742e8a5a913c5b04212b459bd0e3e646c3057f42164a24b1fbcd842
MD5 7167536e119242284ef4fe723b0ab609
BLAKE2b-256 57e9ebfaefed96c95d7ff24a461b9228d77a151a9e8a453ae2b659fe17f64188

See more details on using hashes here.

File details

Details for the file onsigntv_app_simulator-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onsigntv_app_simulator-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 963efe1c1954ccd169f2cef5c9a9aa05cb5c2a63a8d9d975a3d4685f292294b1
MD5 7ad565979b131e7ba5e8da3f4687d6d0
BLAKE2b-256 f370d4d288f708e50c4f6c7613e33276b1e641bd094bf17d9f3c772d3fae20f3

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