This project has been archived by its maintainers, and is no longer receiving any updates.
Deprecation notice
This library is unmaintained! My employer stopped using billomat services. Therefore no fix or update will be done on this project anymore. If you're interested in taking over maintenance, let me know.
Python client for the billomat.com API
The syntax of the client is inspired by the great Django ORM.
Example usage
from billomat import models
from billomat.base import Client
Client.api_name = 'apiname'
Client.api_key = 'apikey'
# set optional app-id and -secret
Client.app_id = 'app_id'
Client.app_secret = 'app_secret'
articles = models.Article.objects.all()
for article in articles:
print unicode(article.title)
articles = articles.filter(title='Awesome')
for article in articles:
print unicode(article.title)
article = models.Article.objects.get(article_number=2)
article.title = u'This is an awesome article'
article.save()
article = models.Article.objects.create(
title=u'This is an awesome article',
)
article.delete()
Django support
Automatic client configuration by django config is supported
BILLOMAT_API_NAME = 'aaa'
BILLOMAT_API_KEY = 'bbb'
BILLOMAT_APP_ID = 'ccc'
BILLOMAT_APP_SECRET = 'ddd'
The client sends 3 django signals:
- billomatclient_request, send before the request
- billomatclient_response, send after the request containing the response
- billomatclient_error, send after a request error containing the exception
Each signal sends a request_id which is a unique identifier (uuid4) for each request to track the status along the signal flow.
License
Metadata
Release files for billomat 0.1.32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| billomat-0.1.32.tar.gz | 10.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| billomat-0.1.32-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.7 kB
Release files / billomat-0.1.32.tar.gz
| Download URL | billomat-0.1.32.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89fbe73738aaef4a27c63d4f1ff75828f9dbb2d83ea4974943738620f8005345
|
|
BLAKE2b-256 checksum How to use checksums |
be66b3219fa4749db6caa2765855fd367e7d67cc997575523c2eda37a1a4f459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
|
Release files / billomat-0.1.32-py3-none-any.whl
| Download URL | billomat-0.1.32-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ab58d3a97038b013a66e1e536231e443c170540941827d04862d08978caf1ba
|
|
BLAKE2b-256 checksum How to use checksums |
7a74550b6d285c0f8e4657d3cc0ad4c16743dadb25d8c80c334af61943d36f0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
|
Security for billomat 0.1.32
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.