Skip to main content

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 as PYPI_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


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 details)

Uploaded Source

Built Distribution

openelm_pytorch-0.1.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file openelm_pytorch-0.1.0.tar.gz.

File metadata

  • Download URL: openelm_pytorch-0.1.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for openelm_pytorch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 56c7e5f2a1dd0bee16e7d3013bf7af3d3acc5e856f8cef297714af18f7cef11e
MD5 539f00c9cb9902293bb18ff551fb0864
BLAKE2b-256 85146ea57954727761eca877ca32cf720fbba06961f93a33552af340c69a9d88

See more details on using hashes here.

File details

Details for the file openelm_pytorch-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openelm_pytorch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ccda381ed8004af45912e1348f01d840bdd8e3b2558242ae14fb56e4d1de99
MD5 013e544548298c1293ac69f3597e51ea
BLAKE2b-256 c600f213506ae4c2462469d03b6486ddfc774c50918625afb9b14f8abb7ac0e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page