{"id":15581456,"url":"https://github.com/moralcode/asset-labelmaker","last_synced_at":"2025-04-07T03:35:23.387Z","repository":{"id":113202993,"uuid":"588445811","full_name":"MoralCode/asset-labelmaker","owner":"MoralCode","description":"it makes labels for Snipe-IT assets (or really anything) containing just an identifier and nothing more ","archived":false,"fork":false,"pushed_at":"2023-12-17T22:01:38.000Z","size":68,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T08:19:49.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoralCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-01-13T06:11:37.000Z","updated_at":"2023-01-13T06:11:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"6341c0e0-a4b2-45e6-b4f8-23f1f216c62a","html_url":"https://github.com/MoralCode/asset-labelmaker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2Fasset-labelmaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2Fasset-labelmaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2Fasset-labelmaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2Fasset-labelmaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoralCode","download_url":"https://codeload.github.com/MoralCode/asset-labelmaker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247589147,"owners_count":20963018,"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","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":[],"created_at":"2024-10-02T19:48:20.547Z","updated_at":"2025-04-07T03:35:23.358Z","avatar_url":"https://github.com/MoralCode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asset LabelMaker\n\nThis is a quick script i threw together to generate Snipe-IT Asset labels in a way that was independent of any particular installation or domain name. The barcodes and QR codes only encode the asset tag value itself.\n\n\nThis is somewhat early stages and may not be as easy to use as something more fully-polished. A lot of assumptions were made for the sake of development speed, like:\n- linux environment\n- you want a label layout with a similar design to the default snipe-it one with a QR code on the left and a Code 128 barcode at the bottom\n\n\n## Usage\n\nThis script creates a label using the supplied parameters supplied text into a label. \n\nSet up of dependencies is managed with pipenv. `pipenv install` should just work. Tun with `pipenv run python3 ./labelgen.py \u003coptions\u003e`.\n\nThe script is set up to use argparse. Run it with the `--help` flag to learn about the options available.\n\n### The bash script\nIf you want to make a ton of labels at once, this bash script can help - its literally a for loop to repeatedly call the makefile with different asset tag values.\n\nThe only fanciness is that it loops in batches to take advantage of some amount of system parallelism to generate labels a bunch faster without slamming the system with too many labels at once. \n\nYou should only need to edit the last line for the most part\n\n**Testing Mode**\n\nThe script also contains a testing mode to generate one of each style kind of label to serve as a quick glance/way to generate comparison information to ensure that nothing gets broken as changes are made in future.\n\nto use it, simply supply an argument to the script, such as `./make_bulk.sh true`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoralcode%2Fasset-labelmaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoralcode%2Fasset-labelmaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoralcode%2Fasset-labelmaker/lists"}