A command line utility to create scannable labels for McMaster parts
Project description
mcm-label
A command line utility to create scannable labels for McMaster parts.
| Order Line Item | Label |
|---|---|
Installation
pip install mcm-label
Usage
- From McMaster's website, navigate to your "Order History", then left click on the order you'd like to create labels for. The address should look something like:
https://www.mcmaster.com/order-history/order/<a bunch of random numbers and letters>/ - Right click anywhere on the page and click "Save Page As..." - confirm the "file type" says something like "Web Page, complete" - then save
- Run
mcm-labelwith the argument of wherever you saved the order webpage; specifically this must be either the html file directly, or the folder it's contained within. - The output will be a
label_###.pngfile for each part number in the order. These files are located next to the order html file.
Details
$ mcm-label -h
usage: mcm-label [-h] [-d] [FILE]
positional arguments:
FILE Path to a McMaster order html file, or the folder containing one
options:
-h, --help show this help message and exit
-d, --debug Enables outputting raw html and pdfs of labels
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
mcm_label-0.0.2.tar.gz
(5.3 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 mcm_label-0.0.2.tar.gz.
File metadata
- Download URL: mcm_label-0.0.2.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bacb92c528a0bf8378b41e9d1301d7e745e8b90348f9beda97ae5897f4a9a736
|
|
| MD5 |
79c732e8473d885b5e1bf57b2f31d309
|
|
| BLAKE2b-256 |
2f035ea9bf1bf7e883188575203f400dd94ad00b577b42f8ed634307c90d80d3
|
File details
Details for the file mcm_label-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mcm_label-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41909c797d390c6f17f6fef1d00f7539db1fd7ba7e11782e35c1ad34c097288c
|
|
| MD5 |
f848b378c80987d4585ac5fa7cc168bc
|
|
| BLAKE2b-256 |
95392ca83561a049353ae4ea702968735ea72c5b72924f83d623fbc5f5a4dacc
|