Heroku-Streamlit-Setup (hss)
This is a simple cli (command line interface) library to help you put your streamlit webapp in production.
I'll soon write a article on Medium explaining it (:
If you have any problem with it, please open an issue and I'll get back to you.
Install with pip
This lib is hosted on pypi.org
pip install hss
Why is this package important and what do I need to use it?
From what I've seen there's not lots of documentation about putting streamlit webapps into production, trust me I've suffered. And if this is your first experience with Heroku, this will be very very helpfull.
You just need a Free Heroku Account, a Github account and a Streamlit webapp you want to share with the world.
The simplest way to use it
- After the requirements.txt, Procfile and the setup.sh file are created, upload them into your project's repository
- Create a new app using Heroku and select connect to Github and select your desired repo and click Deploy
Documentation
$ hss --help
Usage:
hss [options] [<appname>] [<path>] [<email>]
Arguments:
<appname> The app filename (with or without .py).
<path> The path to the directory containing the application
files for which a requirements file should be
generated (defaults to the current working
directory).
<email> The email associated with your Heroku account.
Options:
--no-reqs Don't make a requirements file
--no-setup Don't make a setup.sh file
--no-proc Don't make a Procfile
--force Substitute the current requirements.txt.
Metadata
Release files for hss 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hss-0.0.4.tar.gz | 3.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hss-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / hss-0.0.4.tar.gz
| Download URL | hss-0.0.4.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53eb27da30b49be3dab8aa5e29a16202ccaf39867172df4ac9986d3b1a4e3d38
|
|
BLAKE2b-256 checksum How to use checksums |
89ebf03291a33af0b058384b516ea11b74bf10b1c91b724bdc2a4f4c8b06987c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
|
Release files / hss-0.0.4-py3-none-any.whl
| Download URL | hss-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3d7f8b464ec5fa65825c72a0a84d2b477a3dfcdeff5d0bbe425ed56c25295e3
|
|
BLAKE2b-256 checksum How to use checksums |
85f62f8965e090cadec3610b6239f93497f7a79f9ad2dc540b2dc0d84e805d87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
|
Security for hss 0.0.4
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.