Skip to main content

Little api client for paperless(-ngx).

Project description

PyPaperless

GitHub Release Python Version GitHub License

Tests Codecov Linting Typing

Little asynchronous client for Paperless-ngx, written in Python. You should at least use Python >=3.12.

Features

  • Depends on aiohttp, works in async environments.
  • Token authentication preferred (credentials possible using a URL like https://user:pass@example.com)
  • Request single resource items.
  • Iterate over all resource items or request them page by page.
  • Create, update and delete resource items.
  • Add, remove and update custom fields on documents.
  • Almost feature complete.
  • pypaperless is designed to transport data only. Your code must organize it.

Find out more about Paperless-ngx here:

Installation

pip install pypaperless

Documentation

Please check out the docs for detailed instructions and examples.

Compatibility matrix

Choosing the right version of pypaperless for your Paperless-ngx instance can be tricky. This little matrix is here to help.

pypaperless Paperless-ngx
>= 5.2 >= 2.19
>= 5.1 >= 2.17
>= 5.0 >= 2.17
>= 4.1 >= 2.16
>= 4.0 >= 2.15
< 4.0 < 2.15
  • pypaperless <4.0 is not compatible with Paperless-ngx >=2.15 due to breaking server changes.
  • pypaperless >=5.0 implements date changes in the document API and is therefore not compatible with Paperless-ngx <2.17.
  • pypaperless >=5.1 will drop support for all Paperless-ngx versions without the Open API schema, introduced in 2.15.
  • pypaperless >=5.2 utilizes API models and data which is available as of Paperless-ngx >=2.19.

Consider keeping both Paperless-ngx and pypaperless always updated.

Authors & contributors

pypaperless is written by Tobias Schulz. Its his first Python project. Feedback appreciated.

Check out all contributors here.

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

pypaperless-5.2.3.tar.gz (160.5 kB view details)

Uploaded Source

Built Distribution

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

pypaperless-5.2.3-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file pypaperless-5.2.3.tar.gz.

File metadata

  • Download URL: pypaperless-5.2.3.tar.gz
  • Upload date:
  • Size: 160.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypaperless-5.2.3.tar.gz
Algorithm Hash digest
SHA256 ad63b5146490b62336c8cae5d5445d52760ca6d4d9a15c7cf0a8872a25c8e33e
MD5 3e366e4645afdeba4b707edd8036e834
BLAKE2b-256 0302c338f3da8b5e64b0ab82e2b8f663abdd3faa7bb52a32fc0b3d71918241f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypaperless-5.2.3.tar.gz:

Publisher: release.yml on tb1337/pypaperless

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypaperless-5.2.3-py3-none-any.whl.

File metadata

  • Download URL: pypaperless-5.2.3-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypaperless-5.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 034dc8486efc9d12d041e55221c44c2c1e41d35bc6e37beca9985cfc573ee93a
MD5 6f33434d89037bf32377a52d387b8677
BLAKE2b-256 d18b31047987583848ee1305de3ece6e5e23166b18b4ab7d4d3e5dd914cee805

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypaperless-5.2.3-py3-none-any.whl:

Publisher: release.yml on tb1337/pypaperless

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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