Hosted at this link https://skaarfacee-woofbot-streamlit-app-8p0tmx.streamlit.app/
Chat with your pet dog
Built with ❤️ by skaarfacee
README.md: This Document! To help you find your way aroundstreamlit_app.py: The main app that gets run bystreamlitrequirements.txt: Pins the version of packages neededLICENSE: Follows Streamlit's use of Apache 2.0 Open Source License.gitignore: Tells git to avoid comitting / scanning certain local-specific files.streamlit/config.toml: Customizes the behaviour of streamlit without specifying command line arguments (streamlit config show)Makefile: Provides useful commands for working on the project such asrun,lint,test, andtest-e2erequirements.dev.txt: Provides packages useful for development but not necessarily production deployment. Also includes all ofrequirements.txtvia-rpyproject.toml: Provides a main configuration point for Python dev tools.flake8: Becauseflake8doesn't play nicely withpyproject.tomlout of the box.pre-commit-config.yaml: Provides safeguards for what you commit and push to your repotests/: Folder for tests to be picked up bypytest
Assumes working python installation and some command line knowledge (install python with conda guide).
# External users: download Files
git clone [email protected]:skaarfacee/my_pet.git
# Go to correct directory
cd my_pet
# Run the streamlit app (will install dependencies in a virtualenvironment in the folder venv)
make runOpen your browser to http://localhost:8501/ if it doesn't open automatically.
The Makefile and development requirements provide some handy Python tools for writing better code.
See the Makefile for more detail
# Run black, isort, and flake8 on your codebase
make lint
# Run pytest with coverage report on all tests not marked with `@pytest.mark.e2e`
make test
# Run pytest on tests marked e2e (NOTE: e2e tests require `make run` to be running in a separate terminal)
make test-e2e
# Run pytest on tests marked e2e and replace visual baseline images
make test-e2e-baseline
# After running tests, display the coverage html report on localhost
make coverageFor the easiest experience, deploy to Streamlit Cloud
For other options, see Streamilt deployment wiki
This package was created with Cookiecutter and the gerardrbentley/cookiecutter-streamlit project template.
- Cookiecutter: https://github.com/audreyr/cookiecutter
gerardrbentley/cookiecutter-streamlit: https://github.com/gerardrbentley/cookiecutter-streamlit