Skip to main content

Tilty Dashboard

Coverage Status PyPI version

This is a minimalistic websocket based dashboard for the Tilt hydrometer.

It's fed by sqlite via tilty

Installation And Running

Docker

# assume $(pwd)/data contains tilt.sqlite that is being written to with tilty
$ docker run -it data:/etc/tilty -p 5000:5000 myoung34/tilty-dashboard:latest
# now hit http://localhost:5000

Pip

$ pip install tilty-dashboard

$ cat <<EOF >/etc/tilty/prod.config
[webapp]
  host=0.0.0.0
  port=5000
  database_uri="sqlite:////etc/tilty/tilt.sqlite"
EOF

$ cat <<EOF >/etc/tilty/prod.configspec
[webapp]
  host=string(default=127.0.0.1)
  port=string(default=5000)
  database_uri=string(default="sqlite:////etc/tilty/tilt.sqlite")
EOF

$ curl -sL https://raw.githubusercontent.com/myoung34/tilty-dashboard/master/config/prod_gunicorn.py >/etc/tilty/gunicorn.py

$ cd /usr/local/lib/python3.7/dist-packages

$ gunicorn --worker-class eventlet -w 1 -c /etc/tilty/gunicorn.py tilty_dashboard:app

Local Development

Seed the database:

$ make seed

Run it in docker:

$ docker-compose up

Then just hit http://localhost:5000

Metadata

Release files for tilty-dashboard 1.2.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 tilty-dashboard 1.2.0
File Size Uploaded Provenance
tilty_dashboard-1.2.0.tar.gz 15.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tilty-dashboard 1.2.0
File Interpreter ABI Platform
tilty_dashboard-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / tilty_dashboard-1.2.0.tar.gz

Download URL tilty_dashboard-1.2.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1e7a016df3df19c7623de07dc33e7271850ba8a66da91c1a2e9c30d05c7f3279
BLAKE2b-256 checksum
How to use checksums
bf41fe00cd590c58f3c5f3fa9368ef25cae48995562607f8a2c115167e45204c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release files / tilty_dashboard-1.2.0-py3-none-any.whl

Download URL tilty_dashboard-1.2.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9c8a7e896e57525cda248cb4af588ffcb037b8109ccd280782e38f50d4705aa
BLAKE2b-256 checksum
How to use checksums
1a984fb9d49669b3ddf855c2a419ec30c054256d4ccaa5f8874fe34fa195f080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Security for tilty-dashboard 1.2.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.

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