Core modules of PyTorch-IE
Project description
pie-core
This contains the core modules of PyTorch-IE.
Setup
pip install pie-core
To install the latest version from GitHub:
pip install git+https://git@github.com/ArneBinder/pie-core.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-core cd pie-core
- Create a virtual environment and install the dependencies (including development dependencies):
poetry install --with dev
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.
📄 License
- pie-core is released under the MIT License – see
LICENSE. - Third-party licenses and attributions are listed in
LICENSES/THIRD_PARTY_LICENSES.md.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pie_core-0.3.0.tar.gz.
File metadata
- Download URL: pie_core-0.3.0.tar.gz
- Upload date:
- Size: 43.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3892ad3eee414e194005ef1eb453ec1698d37e5a0d80c5583b40f1bb4e8cca
|
|
| MD5 |
55cf1b2c273eaeeaa74480aec2ccc6ab
|
|
| BLAKE2b-256 |
a4696815fa723bebcd62c9ac7d61fd1332fd9f7e668be5f3ff2655098defcbe6
|
File details
Details for the file pie_core-0.3.0-py3-none-any.whl.
File metadata
- Download URL: pie_core-0.3.0-py3-none-any.whl
- Upload date:
- Size: 50.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c2f6c91457c0a05826ccf127b3c40d4f4afb2862a56b82cab6f52d43066719c
|
|
| MD5 |
b685ec500524ba2eaddad25a4dc9c6a8
|
|
| BLAKE2b-256 |
203eeb3260369fd0452d85e674c77f44106043cfe24e65755fd738e85c5a583e
|