NetBox Auto Cable Label Plugin
Plugin for netbox that allows the automatic generation of the label field content for cables based on a user defined template
- Free software: Apache-2.0
Compatibility
| NetBox Version | Plugin Version |
|---|---|
| 4.x | 0.1.x |
Installing
For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.
Install from PyPI
pip install netbox-cable-labels
Install from GitHub
pip install git+https://github.com/jsenecal/netbox-cable-labels
or by adding to your local_requirements.txt or plugin_requirements.txt (netbox-docker):
netbox-cable-labels
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py,
or if you use netbox-docker, your /configuration/plugins.py file :
PLUGINS = [
'netbox_cable_labels'
]
Configuring
Setup PLUGINS_CONFIG with the following:
PLUGINS_CONFIG = {
"netbox_cable_labels": {"label_template": "Some Jinja2 template string here"},
}
Please note that the cable instance is passed as
cableto the templating engine.
Default configuration
By default, the plugin copies the cable id in the label, prefixed with the pound (#) sign.
"#{{cable.pk}}"
Management command
Using manage.py, you can run the command generate_labels to automatically generate labels on cables that do not already have one set, based on the configured template.
./manage.py generate_labels
Metadata
Release files for netbox-cable-labels 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netbox_cable_labels-0.1.0.tar.gz | 9.8 kB | With provenance | Details for netbox_cable_labels-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netbox_cable_labels-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for netbox_cable_labels-0.1.0-py3-none-any.whl |
Total release size: 19.2 kB
Release files / netbox_cable_labels-0.1.0.tar.gz
| Download URL | netbox_cable_labels-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
268d013912c66dbfbd5470aa1d6d67a5ddb3e72437cbd67cc6d0e6e1b2c07186
|
|
BLAKE2b-256 checksum How to use checksums |
83b7ae2c6b3a6493700dbb36708aee29dbc56f5af9fb2a4d9469aa29cc1ee350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2025.
Transparency logRelease files / netbox_cable_labels-0.1.0-py3-none-any.whl
| Download URL | netbox_cable_labels-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92858f9b232dfd41369471b9f37336204ebc24436a6a7af9dce31bc185e4533c
|
|
BLAKE2b-256 checksum How to use checksums |
c377d1de5e081c8836bca430bac34a609a342523a38daaa352b1638b33b290cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2025.
Transparency logSecurity for netbox-cable-labels 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for netbox_cable_labels-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.