Skip to main content

pie-documents

PythonIE

PyPI Tests Codecov pre-commit Black

Annotation-, document- and metric implementations as well as utilities for Python-IE.

Available annotation types: see here.

Available document types: see here.

Available metrics:

Document processing utilities:

Setup

pip install pie-documents

To install the latest version from GitHub:

pip install git+https://git@github.com/ArneBinder/pie-documents.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-documents
    cd pie-documents
    
  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.

Metadata

Release files for pie-documents 0.1.0

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-documents 0.1.0
File Size Uploaded Provenance Actions
pie_documents-0.1.0.tar.gz 37.4 kB Without provenance Details for pie_documents-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pie-documents 0.1.0
File Interpreter ABI Platform Actions
pie_documents-0.1.0-py3-none-any.whl Python 3 none any Details for pie_documents-0.1.0-py3-none-any.whl

Total release size: 87.0 kB

Release files / pie_documents-0.1.0.tar.gz

Download URL pie_documents-0.1.0.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
93b041dd7ca36ee246213e585a7ae10ae4bc6fc7aadc39bb049badc21b259457
BLAKE2b-256 checksum
How to use checksums
b6771701ba17f1ae07995d072e8b409517385922e091cea0334c3081e314e626
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pie_documents-0.1.0-py3-none-any.whl

Download URL pie_documents-0.1.0-py3-none-any.whl
Size 49.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4802b8f4e58c8a97c26566818ee42597ec180ba49098453813891db5640ee20a
BLAKE2b-256 checksum
How to use checksums
e97758ff5d96605c7ce629fed383b45c1c0172c2ef4562779fdd439ee632ef9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for pie-documents 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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