Little api client for paperless(-ngx).
Project description
PyPaperless
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:
- Project: https://docs.paperless-ngx.com
- API Docs: https://docs.paperless-ngx.com/api/
- Source Code: https://github.com/paperless-ngx/paperless-ngx
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.0is not compatible with Paperless-ngx>=2.15due to breaking server changes. - pypaperless
>=5.0implements date changes in the document API and is therefore not compatible with Paperless-ngx<2.17. - pypaperless
>=5.1will drop support for all Paperless-ngx versions without the Open API schema, introduced in2.15. - pypaperless
>=5.2utilizes 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
Release history Release notifications | RSS feed
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 pypaperless-5.2.2.tar.gz.
File metadata
- Download URL: pypaperless-5.2.2.tar.gz
- Upload date:
- Size: 163.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3cc1e2d2d8a4689cd8d33a98474b2af65c7d9b9724e26f2f15f97f8c6d99c52
|
|
| MD5 |
f7e8f49bc56bb77eb66b1a644c1b714b
|
|
| BLAKE2b-256 |
ac4ae327b719ff11e8c424fa58b7bd5a9fdec7b9f03a910311a8a8ee4be0ca52
|
Provenance
The following attestation bundles were made for pypaperless-5.2.2.tar.gz:
Publisher:
release.yml on tb1337/paperless-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypaperless-5.2.2.tar.gz -
Subject digest:
a3cc1e2d2d8a4689cd8d33a98474b2af65c7d9b9724e26f2f15f97f8c6d99c52 - Sigstore transparency entry: 775118049
- Sigstore integration time:
-
Permalink:
tb1337/paperless-api@0889305edaaefd9fdf7e767a36d8a108e91303c6 -
Branch / Tag:
refs/tags/v5.2.2 - Owner: https://github.com/tb1337
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0889305edaaefd9fdf7e767a36d8a108e91303c6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pypaperless-5.2.2-py3-none-any.whl.
File metadata
- Download URL: pypaperless-5.2.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42457f936dde0a72cd3ed23ae3252a280e2e0e2249c8782f3a9e8c08361c1f60
|
|
| MD5 |
f0d4a67e8b0f1dc40906ff49ef22b833
|
|
| BLAKE2b-256 |
113232a55895f2b2679692c552a8dc3614d6fd39ec7207f68d7bef253e303311
|
Provenance
The following attestation bundles were made for pypaperless-5.2.2-py3-none-any.whl:
Publisher:
release.yml on tb1337/paperless-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypaperless-5.2.2-py3-none-any.whl -
Subject digest:
42457f936dde0a72cd3ed23ae3252a280e2e0e2249c8782f3a9e8c08361c1f60 - Sigstore transparency entry: 775118051
- Sigstore integration time:
-
Permalink:
tb1337/paperless-api@0889305edaaefd9fdf7e767a36d8a108e91303c6 -
Branch / Tag:
refs/tags/v5.2.2 - Owner: https://github.com/tb1337
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0889305edaaefd9fdf7e767a36d8a108e91303c6 -
Trigger Event:
release
-
Statement type: