Skip to main content

Model and Taskmodule implementations for PyTorch-IE

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

pie-modules

PyTorch Lightning PyTorch-IE

PyPI Tests Codecov pre-commit Black

Model-, taskmodule-, and metric-implementations for PyTorch-IE.

Available models:

Available taskmodules:

Available metrics:

Setup

pip install pie-modules

To install the latest version from GitHub:

pip install git+https://git@github.com/ArneBinder/pie-modules.git

Development

Setup

  1. This project is build with Poetry. See here for installation instructions.
  2. Get the code and switch into the project directory:
    git clone https://github.com/ArneBinder/pie-modules
    cd pie-modules
    
  3. Create a virtual environment and install the dependencies:
    poetry install
    

Finally, to run any of the below commands, you need to activate the virtual environment:

poetry shell

Note: You can also run commands in the virtual environment without activating it first: poetry run <command>.

Code Formatting, Linting and Static Type Checking

pre-commit run -a

Testing

run all tests with coverage:

pytest --cov --cov-report term-missing

Releasing

  1. Create the release branch: git switch --create release main
  2. Increase the version: poetry version <PATCH|MINOR|MAJOR>, e.g. poetry version patch for a patch release. If the release contains new features, or breaking changes, bump the minor version (this project has no main release yet). If the release contains only bugfixes, bump the patch version. See Semantic Versioning for more information.
  3. Commit the changes: git commit --message="release <NEW VERSION>" pyproject.toml, e.g. git commit --message="release 0.13.0" pyproject.toml
  4. Push the changes to GitHub: git push origin release
  5. Create a PR for that release branch on GitHub.
  6. Wait until checks passed successfully.
  7. Merge the PR into the main branch. This triggers the GitHub Action that creates all relevant release artefacts and also uploads them to PyPI.
  8. Cleanup: Delete the release branch. This is important, because otherwise the next release will fail.

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

pie_modules-0.8.3.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pie_modules-0.8.3-py3-none-any.whl (50.2 kB view details)

Uploaded Python 3

File details

Details for the file pie_modules-0.8.3.tar.gz.

File metadata

  • Download URL: pie_modules-0.8.3.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pie_modules-0.8.3.tar.gz
Algorithm Hash digest
SHA256 5f434d0dca1d44fa2a13460339f2ae0c95a6461ef952fcdf4c1545aaf4beb278
MD5 08f28f4a8c58d05a4a77f61ef205ac6d
BLAKE2b-256 a2f8177aaf265bdea328df70c3aef1c823828392d1ef67ac4f003eb58c4fdbd8

See more details on using hashes here.

File details

Details for the file pie_modules-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: pie_modules-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 50.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pie_modules-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4a161b0160925b919a37880f24dbd696de40ce58ad5a06ab2064a227862c0823
MD5 01608358e43326c5c059a6c16a3eaafc
BLAKE2b-256 be5851a40b5b3e84dab734ac2d81bcd8bf238bcf0b4dcb0ba4d15599e8b97e01

See more details on using hashes here.

Supported by

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