API wrapper for DYMO Web Services.
Project description
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
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
dymopy-0.1.8.tar.gz
(4.7 kB
view details)
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 dymopy-0.1.8.tar.gz.
File metadata
- Download URL: dymopy-0.1.8.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2549278114a043d5624433d81ee2f1cf74783e6449df242acfaae491a4ce5fd4
|
|
| MD5 |
fda8e49effb8fec2d72158be34d4e995
|
|
| BLAKE2b-256 |
dcf212680030ae514b062f24e68ab4cc3edc150fe25d293afc9598d8bb24e57b
|
File details
Details for the file dymopy-0.1.8-py3-none-any.whl.
File metadata
- Download URL: dymopy-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
784e181f96704d699a1114f49a499dfeaac61d48a0fdb44f540b5e50fc35c95d
|
|
| MD5 |
8e08086d098caca0f48ba12d12ff5f71
|
|
| BLAKE2b-256 |
460efd2eb40233d1a926f68d33dda839d4b8628871637c947010331f53ca0a79
|