Adds custom fields 'Tag ID'.
Project description
netbox-tag-id
Description
This NetBox plugin adds a custom field type "Tag ID" and related actions. It allows you to generate, display, and print Code39 identifiers for devices, with customizable format and CUPS printing integration.
Features
- Adds a "Tag ID" custom field type to NetBox.
- Automatic generation of identifiers (customizable prefix, suffix, length).
- Dedicated panel display.
- Direct tag printing via CUPS (Code39, LibreBarcode font).
- Customizable fonts and print message.
- Patches NetBox form to support the Tag ID field.
Installation
- Copy the
netbox_tag_idfolder into your NetBox plugins directory. - Install required Python dependencies (see
pyproject.toml). - Add the plugin to your NetBox configuration:
PLUGINS = [ "netbox_tag_id", ]
- Apply migrations:
python manage.py migrate netbox_tag_id
- Restart NetBox.
Configuration
No mandatory configuration. Tag ID field parameters (prefix, suffix, length, printer, etc.) are managed via the NetBox interface.
Printing
- Required fonts are included in
netbox_tag_id/fonts/. - Printing uses CUPS via the
lpcommand. - Printer name, CUPS host, options, etc. are customizable.
Dependencies
- NetBox >= 4.4.0
- Python >= 3.10
- PIL (Pillow)
- Django
Structure
netbox_tag_id/: plugin source codemodels.py: Tag ID configuration modelprinting.py: tag generation and printingforms.py: CustomField form patchcf_types.py: custom field type extensionstatic/: JS and CSS for Tag ID paneltemplates/: HTML templates for UIfonts/: fonts for Code39 renderingmigrations/: Django migrations
Author
ARCO - Sasha De Oliveira
License: Apache-2.0
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
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 netbox_tag_id-0.1.0.tar.gz.
File metadata
- Download URL: netbox_tag_id-0.1.0.tar.gz
- Upload date:
- Size: 208.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32225b79b638806a213a0d5546f2898b9a789ddec9cf4087eb6b463ac6285106
|
|
| MD5 |
d7eb36818b3bb892cfbb7a2cd3e5a03d
|
|
| BLAKE2b-256 |
ead442a624344c5a905d098da08f9b4c2983c5a602fa482a16c166b36a309e58
|
File details
Details for the file netbox_tag_id-0.1.0-py3-none-any.whl.
File metadata
- Download URL: netbox_tag_id-0.1.0-py3-none-any.whl
- Upload date:
- Size: 217.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e49d7c871b30f7d53d3fd3be82b125e2853f425c112e8486e9f1244e498797
|
|
| MD5 |
b266601277aece0aa0aa1fcc8c0211bb
|
|
| BLAKE2b-256 |
163af1445952123000c3e7de7daba6e40b37cb4ace302a0fc61029778b447dc8
|