Installation
pip install onlinebrief24
Beispiele
import onlinebrief24
c = onlinebrief24.Client('email@example.com', 'secret_password')
c.login()
c.upload('/tmp/filename1.pdf', duplex=False, color=False)
c.upload('/tmp/filename2.pdf', registered='insertion', envelope='c4')
c.disconnect()
with-statement
with onlinebrief24.Client('email@example.com', 'secret_password') as c:
c.upload('/tmp/filename1.pdf', duplex=False, color=False)
c.upload('/tmp/filename2.pdf', registered='insertion', envelope='c4')
Optionen für Brief
| Option | Werte | Vorbelegung | Beschreibung |
|---|---|---|---|
| color |
|
True | Farbdruck ja/nein |
| duplex |
|
True | Duplexdruck ja/nein |
| envelope |
|
din_lang | Umschlagformat. DIN lang oder C4. |
| distribution |
|
auto | Versandzone. Automatisch, National, International |
| registered |
|
None | Einschreiben: Nein, Einwurf-Einschreiben, Standard-Einschreiben, Einschreiben eigenhändig |
| payment_slip |
|
None | Zahlschein: Kein Zahlschein, Inlands-Zahlschein, SEPA-Zahlschein |
Copyright
Release files for onlinebrief24 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onlinebrief24-1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / onlinebrief24-1.2-py2.py3-none-any.whl
| Download URL | onlinebrief24-1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9c8778d3597071607bb8788604ebf193cc7fae27e43a7c5052c69ac8ba7a06f8
|
|
BLAKE2b-256 checksum How to use checksums |
4e03b96a0e33035498371c194693112f28b4788b44b15fee286dfed4fbf85169
|
| 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.31.1 CPython/3.6.7
|