This project has been archived by its maintainers, and is no longer receiving any updates.
pie-models
IMPORTANT: THIS PROJECT WAS MOVED TO pie-modules, NO FURTHER DEVELOPMENT WILL HAPPEN HERE.
Model and Taskmodule implementations for PyTorch-IE.
Available models:
- SimpleSequenceClassificationModel
- SequenceClassificationModel
- TokenClassificationModelWithSeq2SeqEncoderAndCrf
Available taskmodules:
Setup
pip install pie-models
To install the latest version from GitHub:
pip install git+https://git@github.com/ArneBinder/pie-models.git
Development
Setup
- This project is build with Poetry. See here for installation instructions.
- Get the code and switch into the project directory:
git clone https://github.com/ArneBinder/pie-models cd pie-models
- 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
- Create the release branch:
git switch --create release main - Increase the version:
poetry version <PATCH|MINOR|MAJOR>, e.g.poetry version patchfor 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. - Commit the changes:
git commit --message="release <NEW VERSION>" pyproject.toml, e.g.git commit --message="release 0.13.0" pyproject.toml - Push the changes to GitHub:
git push origin release - Create a PR for that
releasebranch on GitHub. - Wait until checks passed successfully.
- Merge the PR into the main branch. This triggers the GitHub Action that creates all relevant release artefacts and also uploads them to PyPI.
- Cleanup: Delete the
releasebranch. This is important, because otherwise the next release will fail.
Metadata
Release files for pie-models 0.7.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pie_models-0.7.7.tar.gz | 29.3 kB | Without provenance | Details for pie_models-0.7.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pie_models-0.7.7-py3-none-any.whl | Python 3 | none | any | Details for pie_models-0.7.7-py3-none-any.whl |
Total release size: 66.0 kB
Release files / pie_models-0.7.7.tar.gz
| Download URL | pie_models-0.7.7.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f939419baee6715dcc4961d9a056be81ac0e4338e187a268193b8002ea1d176e
|
|
BLAKE2b-256 checksum How to use checksums |
a16d34737237ac8a6c7eef7c006e5ce358516da8ba3e1e4fb2c56f6c02d3b1f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / pie_models-0.7.7-py3-none-any.whl
| Download URL | pie_models-0.7.7-py3-none-any.whl |
|---|---|
| Size | 36.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ca824b4d2b5c7184aef7102a7daa790378d31294879851ef8c9dcc4127a5d90
|
|
BLAKE2b-256 checksum How to use checksums |
a97952775e170b8e7f01e3e8ea21f19da19a8ad2859761743fc8e4cc1215e4ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for pie-models 0.7.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.