Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slevin48/training
Develop and Deploy an App with Python, Streamlit and Heroku
https://github.com/slevin48/training
heroku python streamlit
Last synced: 7 days ago
JSON representation
Develop and Deploy an App with Python, Streamlit and Heroku
- Host: GitHub
- URL: https://github.com/slevin48/training
- Owner: slevin48
- License: mit
- Created: 2021-10-31T11:42:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T15:53:48.000Z (10 months ago)
- Last Synced: 2024-01-23T01:04:59.711Z (10 months ago)
- Topics: heroku, python, streamlit
- Language: Jupyter Notebook
- Homepage:
- Size: 47.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Training
Learn Python, Numpy, Pandas, Scikit-Learn & Streamlit# 1. Get started with programming in Python
Download Python: https://www.python.org/Why Python: Number 1 language according to [TIOBE index](https://www.tiobe.com/tiobe-index/)
Agenda of [Python 101](doc/Python%20101.pptx):
| Chapter | | resources |
|---------|-|-----------|
|Datatypes|![](img/datatypes.jpg) | https://realpython.com/python-data-types/ |
|Loops & Conditions | ![](img/loops.jpg)|https://realpython.com/python-for-loop/|
|Functions | ![](img/functions.jpg)|https://realpython.com/defining-your-own-python-function/ |
|Modules|![](img/modules.jpg)|https://realpython.com/python-modules-packages/ |
|VScode|![](img/vscode.jpg)|https://realpython.com/python-development-visual-studio-code/ |
|Files management|![](img/files.jpg)|https://realpython.com/working-with-files-in-python/ |**Hands on + exercise!!!**
Open Terminal, and run python:
```python
>>> print("Hello World")
```# 2. Discover the Scientific Python ecosystem
* [Numpy 101](doc/Numpy%20101.pptx)
* [Pandas 101](doc/Pandas%20101.pptx)
* [Scikit-Learn 101](doc/Sklearn%20101.pptx)# 3. Develop web apps with Streamlit
Install via PIP (package manager for Python): `$ pip install streamlit`
Or if you cannot find pip:
`$ python3 -m pip install streamlit`Develop your first [app.py](code/app.py):
```python
import streamlit as st
st.write(“Hello World!”)
```![app](img/app.png)
Read more: https://streamlit.io/
**Deploy with Heroku**
Heroku tutorial: https://devcenter.heroku.com/articles/getting-started-with-python
https://github.com/slevin48/streamlit**Required files:**
1. [setup.sh](code/setup.sh)
2. [Procfile](code/Procfile)
3. [requirements.txt](code/requirements.txt)**Deploy with Streamlit Cloud**
[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/slevin48/training/main/app.py)
# 4. Version your code with Git & GitHub
Learn the basics about source control with Git:
- https://git-scm.com/
- https://realpython.com/advanced-git-for-pythonistas/