A tool to generate virtual barcodes to be used in NYPL Sierra.
0.1.0
Clone the repository and use poetry to create a virtual environment and install dependencies.
poetry install --without devOr, set up a virtual environment, activate it, and install via pip:
python -m venv .venvpython -m pip install git+https://github.com/BookOps-CAT/virtual-barcodes.gitActivate package's virtual environment.
Mint new barcodes:
barcodes mint [unit code] [number of barcodes to produce]Example, this command will create 200 barcodes, assign them to MSU, and output them to the NYPL virtual barcodes Google Sheet:
barcodes mint MSU 200- Sierra barcode documentation
- note when the difference in the step number 4 (10 - unit digit from the previous step) is 10, use the unit digit "0"