semvec/pypi-packages huggingface dataset:
streamlit-heroku 0.0.2
Tool to help create files needed to deploy Streamlit App on Heroku
Requires Python: >=3.6

<h1>streamlit-heroku</h1>
<h4>This is a command line tool to help create necessary files to deploy a Streamlit app on Heroku</h4>

<h2>Installation</h2>

```bash
pip install streamlit-heroku
```

<h2>Instructions</h2>
From the top directory of a git repo, run the following command:

```python
streamlit_heroku
```

If you run the command in an empty repo named ```new-app```, the repo will now contain the following tree:

```
.
├── new-app
│   └── app.py
├── Procfile
├── requirements.txt
├── runtime.txt
└── setup.sh
```

The main Streamlit app should go in new-app/app.py.

After installing dependencies, you will need to update the requirements.txt. Here is an example of one method:
```bash
pip freeze > requirements.txt
```

<h3>Note:</h3> This template assumes Python version 3.9.7, which is the default version for Heroku. If you want to use a different version, you can update runtime.txt. The following runtimes are supported on all supported stacks:

    python-3.10.0
    python-3.9.7
    python-3.8.12
    python-3.7.12
    python-3.6.15

<h2>Deploy</h2>
Your project should ready to deploy using the Heroku CLI.

<h3>Create Heroku App</h3>

```bash
heroku create
```
<h3>Push to Heroku</h3>

```bash
git push heroku main
```
<h3>Open your app</h3>

```bash
heroku open
```