{"id":34087486,"url":"https://github.com/natecohen/netbox-binary-prefix","last_synced_at":"2025-12-30T16:24:14.443Z","repository":{"id":321084149,"uuid":"1084376956","full_name":"natecohen/netbox-binary-prefix","owner":"natecohen","description":"NetBox plugin to display disk and memory units with IEC binary prefixes","archived":false,"fork":false,"pushed_at":"2025-10-27T16:56:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-27T18:35:06.389Z","etag":null,"topics":["netbox-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natecohen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-27T15:45:13.000Z","updated_at":"2025-10-27T16:56:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9234f73e-9cae-44cb-bde2-b41616a299b3","html_url":"https://github.com/natecohen/netbox-binary-prefix","commit_stats":null,"previous_names":["natecohen/netbox-binary-prefix"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/natecohen/netbox-binary-prefix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecohen%2Fnetbox-binary-prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecohen%2Fnetbox-binary-prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecohen%2Fnetbox-binary-prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecohen%2Fnetbox-binary-prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natecohen","download_url":"https://codeload.github.com/natecohen/netbox-binary-prefix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecohen%2Fnetbox-binary-prefix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27729153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["netbox-plugin"],"created_at":"2025-12-14T13:45:01.512Z","updated_at":"2025-12-14T13:45:04.043Z","avatar_url":"https://github.com/natecohen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetBox Binary Prefix\n\nA simple NetBox plugin that patches the display of disk and memory sizes to use proper IEC binary prefixes (KiB, MiB, GiB, etc.) instead of the default decimal ones (KB, MB, GB).\n\n## Compatibility\n\n| NetBox Version | Plugin Version |\n|----------------|----------------|\n| 4.2            | 1.0.0          |\n| 4.3            | 1.0.0          |\n| 4.4            | 1.0.0          |\n\n\n## Installation\n\nInstall the plugin from PyPI:\n\n```bash\npip install netbox-binary-prefix\n```\n\nor by adding to your `local_requirements.txt` or `plugin_requirements.txt` (netbox-docker):\n\n```bash\nnetbox-binary-prefix\n```\n\nEnable the plugin in `/opt/netbox/netbox/netbox/configuration.py`,\n or if you use netbox-docker, your `/configuration/plugins.py` file :\n\n```python\nPLUGINS = [\n    \"netbox_binary_prefix\",\n]\n```\n\n## Usage\n\nOnce installed and enabled, the plugin will automatically patch the `_humanize_megabytes` helper function to display sizes with binary units.\n\nThis functionality is dependent on the `DISK_BASE_UNIT` and `RAM_BASE_UNIT` configuration variables being set to `1024` as [documented here](https://netboxlabs.com/docs/netbox/configuration/miscellaneous/#disk_base_unit).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatecohen%2Fnetbox-binary-prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatecohen%2Fnetbox-binary-prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatecohen%2Fnetbox-binary-prefix/lists"}