Python client for the Kleer (PE Accounting) API
Project description
kleer-python
Python client for the Kleer (PE Accounting) API.
Kleer (formerly PE Accounting) is a Swedish accounting and invoicing platform for businesses. This library provides a convenient Python interface to their REST API.
Installation
pip install kleer-python
Usage
from kleer import KleerClient
kleer_client = KleerClient(token="your-api-token", company_id=12345)
# List clients
clients = kleer_client.clients.list()
# Get a specific client
c = kleer_client.clients.get(1)
# Create a client
new = kleer_client.clients.create({"name": "Acme Corp"})
# Update a client
kleer_client.clients.update(1, {"name": "Acme Inc"})
# Delete a client
kleer_client.clients.delete(1)
Available resources
companies, users, clients, suppliers, projects, client_projects, client_invoices, events, activities, expenses, dimensions, products, accounts, bank_accounts, bank_transactions
Development
pip install -e ".[dev]"
pytest
ruff check src/
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 kleer_python-0.1.0.tar.gz.
File metadata
- Download URL: kleer_python-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ba4d86f4f6b7c078e32ccc97a4041d6522a35c03b9b5d0919dacbe97d15c530
|
|
| MD5 |
1bd45eafc5222f4334e9017eb42d0d07
|
|
| BLAKE2b-256 |
3e4b434abd8c1d49987c11f9cf9dd9542e5aeb7e7713a91316f401870999434a
|
File details
Details for the file kleer_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kleer_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62b637849cb83b93ca2159dd720aea43560d02fe4f1734acbf1c5d99c26647c3
|
|
| MD5 |
e93d1ff99ec747ebaefb9710c1e0d4ce
|
|
| BLAKE2b-256 |
aa600d19f9a879bb2e83669443b42fdceef04a965ffaa1eeaa17816b33b5dc73
|