This repo can be used to scaffold a Python package. Unless you are a member of Hexafuchs, please use the Original Template by Microsoft or edit out any references to us.
Follow these steps to get started:
- Press the "Use this template" button at the top of this repo to create a new repo with the contents of this skeleton.
- Run "php ./configure.php" to run a script that will replace all placeholders throughout all the files.
- Have fun creating your package.
Note: Remember to activate discussions and pages in the repository settings. Set pages to workflow.
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
You can install the package via poetry (or another tool of your choosing):
poetry add :package_nameimport :package_slugCheckout the docstring or API docs for more usage information.
# All
./venv/bin/pytest -m ""
# Unit
./venv/bin/pytest -m "unit"
# Integration
./venv/bin/pytest -m "integration"
# Unit and Integration
./venv/bin/pytest -m "integration or unit"python3 -m venv venv
./venv/bin/python -m pip install --upgrade pip
./venv/bin/python -m pip install flit
./venv/bin/flit install --only-deps --deps develop./venv/bin/toxMake sure you have installed the dependencies.
cd docs
make clean
make html
You can find the documentation under
docs/_build/html/index.html
Either add the dependency to the optional dependencies, or create a new dependency within the [project] namespace, e.g.:
[project]
...
dependencies = [
"requests==2.32.3"
]Then, install dependencies with flit:
./venv/bin/flit install --only-deps --deps develop
# or: ./venv/bin/flit install --only-deps --deps allYou can find the API Documentation here.
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.