Skip to main content

pie-core

Huggingface Hub Lightning PyTorch-IE

PyPI Tests Codecov pre-commit Black

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

  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-core
    cd pie-core
    
  3. 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

  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.

📄 License

Metadata

Release files for pie-core 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pie-core 0.3.1
File Size Uploaded Provenance Actions
pie_core-0.3.1.tar.gz 43.9 kB Without provenance Details for pie_core-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pie-core 0.3.1
File Interpreter ABI Platform Actions
pie_core-0.3.1-py3-none-any.whl Python 3 none any Details for pie_core-0.3.1-py3-none-any.whl

Total release size: 94.1 kB

Release files / pie_core-0.3.1.tar.gz

Download URL pie_core-0.3.1.tar.gz
Size 43.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8d86eabf4302236108829f7ba1a5bc9732232b3dfa9003dc518dfc0bd4f40d1a
BLAKE2b-256 checksum
How to use checksums
779c1839cd6a29046bcc28017fab36fb1900d529c0524a6a4cedf801a5a33679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.11

Release files / pie_core-0.3.1-py3-none-any.whl

Download URL pie_core-0.3.1-py3-none-any.whl
Size 50.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
749030e1a6e16972a7f729ad29804cabbfd4b5c06899797a9af93e991f97f059
BLAKE2b-256 checksum
How to use checksums
24cb1ceba907e13436b42c41eee783b9bf2c89bdea5db5e115abff011d7f4643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.11

Security for pie-core 0.3.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page