https://github.com/null-none/dymo-scale
Reading information from Dymo USB scale.
https://github.com/null-none/dymo-scale
dymo dymo-labelwriter python scale
Last synced: 8 months ago
JSON representation
Reading information from Dymo USB scale.
- Host: GitHub
- URL: https://github.com/null-none/dymo-scale
- Owner: null-none
- License: mit
- Created: 2017-05-02T08:57:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-16T12:40:27.000Z (over 2 years ago)
- Last Synced: 2025-03-25T06:20:01.554Z (9 months ago)
- Topics: dymo, dymo-labelwriter, python, scale
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 12
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Reading information from Dymo USB scale.
=======
Install
=======
.. code-block:: bash
# sudo apt-get install python libusb-1.0-0
# touch /etc/udev/rules.d/99-garmin.rules
# echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0922", ATTR{idProduct}=="8003", MODE="666"' > /etc/udev/rules.d/99-garmin.rules
.. code-block:: bash
pip install dymo-scale
=======
Example
=======
.. code-block:: python
from dymo import scale
usb = scale.USB(vendor_id=0x0922, product_id=0x8003)
print(usb.get_weight())
=======
Donation
=======
.. image:: https://img.shields.io/badge/Donate-PayPal-green.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYZQ6ZRZ3EW5C