dymopy
Simple http client for creating labels using the DYMO Connect Web Service.
Heavily influenced by the dymojs package available for node.
Example
Example using a Dymo Twin Turbo. You may need to modify make_params() to
suit your printer.
from dymopy import Dymo
dymo = Dymo()
status = dymo.get_status()
assert status['status_code'] == 200
printer = dymo.get_printer()
assert printer['status_code'] == 200
# Helpers for with text XML to send to the printer
label_params = make_params(side="Right")
label_xml = make_xml("Hello", "I am Bill!")
print_resp = dymo.print(label_xml=label_xml, label_params=label_params)
assert print_resp.status_code == 200
Release files for dymopy 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dymopy-0.1.8.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dymopy-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / dymopy-0.1.8.tar.gz
| Download URL | dymopy-0.1.8.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2549278114a043d5624433d81ee2f1cf74783e6449df242acfaae491a4ce5fd4
|
|
BLAKE2b-256 checksum How to use checksums |
dcf212680030ae514b062f24e68ab4cc3edc150fe25d293afc9598d8bb24e57b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / dymopy-0.1.8-py3-none-any.whl
| Download URL | dymopy-0.1.8-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
784e181f96704d699a1114f49a499dfeaac61d48a0fdb44f540b5e50fc35c95d
|
|
BLAKE2b-256 checksum How to use checksums |
460efd2eb40233d1a926f68d33dda839d4b8628871637c947010331f53ca0a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|