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.0rc1.tar.gz
(31.1 kB
view hashes)
Built Distribution
Close
Hashes for openelm_pytorch-0.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc63af35aa8d642b7435f776e0b9cfcd38a3f917c82f2a242f24af87e04bf656 |
|
MD5 | 2f8ba7bae6538423c0b5bd7c65926ef9 |
|
BLAKE2b-256 | ba227751d98eb7d68ff494e6ef2134b6107104f1b366d0b45ad9cacd6ba4961c |