python-netbox-qrcode
Port variant v12
Summary QR Code generation for netbox objects (3.12)
Package version 0.0.18
Homepage https://github.com/netbox-community/netbox-qrcode
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v13
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 28 MAY 2025, 21:42:51 UTC
Port created 08 JAN 2023, 04:18:24 UTC
Subpackage Descriptions
single # Netbox QR Code Plugin [Netbox] plugin for generate QR codes for objects: Device, Module, Cable, Powerfeed, Powerpanel, Location This plugin depends on [qrcode] and [Pillow] python library [Downloads] [Downloads] [Downloads] ## Compatibility | Plugin Version | NetBox Version | Tested on | | ------------- |:-------------| :-----------:| | 0.0.11 | 3.7.x | 3.7.x | | 0.0.14 | 4.0.x | v4.0.11 | | 0.0.15 | 4.1.x | v4.1.6 | | 0.0.17 | 4.2.x | v4.2.4 | ## Installation If Netbox was installed according to the standard installation instructions. It may be necessary to activate the virtual environment. ``` source /opt/netbox/venv/bin/activate ` The plugin is available as a Python package in pypi and can be installed with pip ` pip install netbox-qrcode ``` Enable the plugin in /opt/netbox/netbox/netbox/configuration.py: ``` PLUGINS = ['netbox_qrcode'] ``` Restart NetBox and add `netbox-qrcode` to your local_requirements.txt ## Configuration ### Label Design Extensive label customisation is possible, it's also possible to include different labels for each object type, for example 2 labels for the Device view. For advice on configuration please see the two links below: - [General Configuration >>] - [Configuration Examples >>] ![Cable QR Code] ### Printing #### Setting the label printer If the print does not look like the preview in the Netbox, first try to get a perfect print using Word. As many printer settings also have an influence on the print result. Borderless printing is possible if the printer (e.g. thermal transfer printer) supports this. ![ShowImage] Here is an example of what needs to be considered to print borderless from a Word document. [Go to: Example Zebra ZM400 300dpi label printer and a label 56x32mm. >>] #### Setting Browser Print Settings When you press the “Print” button, there are some print properties that are added by the browser. However, these interfere with the print result. They should therefore be deactivated. ##### Firefox: | Parameter | Value | | --------------------------------------------- | --------------------------- | | Orientation | Portrait | | Paper size | User defined | | Margins | none | | Scale | Fit to page width or 100% | | Options --> Print headers and footers | disable | | Options --> Print backgrounds | disable | ##### Chrome: Chrome can alter settings between printing and the print preview, therefore the below settings are recomended
Configuration Switches (platform-specific settings discarded)
PY312 ON Build using Python 3.12 PY313 OFF Build using Python 3.13
Package Dependencies by Type
Build (only) python312:dev:std
python-pip:single:v12
autoselect-python:single:std
Build and Runtime python312:primary:std
Runtime (only) python-qrcode:single:v12
python-Pillow:single:v12
Download groups
main mirror://PYPIWHL/ae/a0/f91e4c189ed19b1127d5a3a1de541d975dcd41a8c5233bfefabcdbcf6a9e
Distribution File Information
2e3850a4c5d05e278ce1fa4934c988a57087f6a06747bc2d7dfd97708e7c61dc 15165 python-src/netbox_qrcode-0.0.18-py3-none-any.whl
Ports that require python-netbox-qrcode:v12
No other ports depend on this one.