traingenerator
π§ A web app to generate template code for machine learning
File Explorer
- FUNDING.yml
- pull_request_template.md
- __init__.py
- main.py
- utils.py
- 1800x1200_cat_relaxing_on_patio_other.jpg
- An_up-close_picture_of_a_curious_male_domestic_shorthair_tabby_cat.jpg
- 51cendGFkQL.jpg
- Australian-Cattle-Dog-in-Bewegung.jpeg
- fake-image-data.zip
- demo.gif
- dropdowns.png
- social-preview-tiny.png
- update-index-html.py
- code-template.py.jinja
- sidebar.py
- test-inputs.yml
- code-template.py.jinja
- sidebar.py
- test-inputs.yml
- code-template.py.jinja
- sidebar.py
- test-inputs.yml
- code-template.py.jinja
- sidebar.py
- test-inputs.yml
- conftest.py
- test_templates.py
- .gitignore
- CONTRIBUTING.md
- heroku-setup.sh
- LICENSE
- Pipfile
- Pipfile.lock
- Procfile
- README.md
- requirements-dev.txt
- requirements.txt
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details βΌ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
git push
View Details βΌ
git push
Push commits to a remote repository.
git push
Send local changes in the current branch to its default remote counterpart:
git push {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart:
git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:
heroku
View Details βΌ
heroku
Create and manage Heroku apps.
heroku login
Log in to your Heroku account:
heroku create
Create a Heroku app:
heroku logs --app {{app_name}}
Show logs for an app:
pip install
View Details βΌ
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
pytest
View Details βΌ
pytest
Run Python tests.
pytest {{path/to/test_file1.py path/to/test_file2.py ...}}
Run tests from specific files:
pytest -k {{expression}}
Run tests with names matching a specific [k]eyword expression:
pytest {{[-x|--exitfirst]}}
Exit as soon as a test fails or encounters an error:
streamlit
View Details βΌ
streamlit
Framework for creating interactive, data-driven web apps in Python.
streamlit hello
Check for the Streamlit installation:
streamlit run {{project_name}}
Run a Streamlit application:
streamlit --help
Display help:
