openelm-pytorch
Project description
openelm-pytorch
A simple template for Python projects, with CI/CD configured through GitHub Actions. Compatible with any virtual environment manager (e.g. venv
, pyenv
, poetry
, conda
).
Install
pip install "openelm-pytorch @ git+ssh://git@github.com/fkodom/openelm-pytorch.git"
# Install all dev dependencies (tests etc.)
pip install "openelm-pytorch[test] @ git+ssh://git@github.com/fkodom/openelm-pytorch.git"
# Setup pre-commit hooks
pre-commit install
Tooling
Tool | Description | Runs on |
---|---|---|
black | Code formatter | - git commit (through pre-commit ) - git push - pull requests |
ruff | Code linter | - git commit (through pre-commit ) - git push - pull requests |
pytest | Unit testing framework | - git push - pull requests |
mypy | Static type checker | - git push - pull requests |
pre-commit | Pre-commit hooks | - git commit |
twine $\dagger$ | PyPI package uploader | - New release (git tag ) |
$\dagger$ Requires enabling the
publish.yaml
workflow. To activate, move the file from.github/disabled-workflows/publish.yaml.disabled
to.github/workflows/publish.yaml
, and set a valid PyPI token asPYPI_API_TOKEN
in the repo secrets.Then tag a new release of this repo, and GHA will automatically build and publish a Python wheel (
.whl
) to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openelm_pytorch-0.1.0.tar.gz
(31.4 kB
view hashes)
Built Distribution
Close
Hashes for openelm_pytorch-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ccda381ed8004af45912e1348f01d840bdd8e3b2558242ae14fb56e4d1de99 |
|
MD5 | 013e544548298c1293ac69f3597e51ea |
|
BLAKE2b-256 | c600f213506ae4c2462469d03b6486ddfc774c50918625afb9b14f8abb7ac0e3 |