dymopy-0.1.8
توضیحات
API wrapper for DYMO Web Services.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dymopy-0.1.8 |
| نام | dymopy |
| نسخه کتابخانه | 0.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Bill Ash |
| ایمیل نویسنده | bill@overco.net |
| آدرس صفحه اصلی | https://github.com/bill-ash/dymopy |
| آدرس اینترنتی | https://pypi.org/project/dymopy/ |
| مجوز | - |
# dymopy
Simple http client for creating labels using the DYMO Connect Web Service.
Heavily influenced by the [dymojs package](https://github.com/dsandor/dymojs) 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
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl dymopy-0.1.8:
pip install dymopy-0.1.8.whl
نصب پکیج tar.gz dymopy-0.1.8:
pip install dymopy-0.1.8.tar.gz