{"id":37063043,"url":"https://github.com/whtsky/parguments","last_synced_at":"2026-01-14T07:01:56.260Z","repository":{"id":6607293,"uuid":"7850600","full_name":"whtsky/parguments","owner":"whtsky","description":"A simple cli args parser for Python","archived":true,"fork":false,"pushed_at":"2019-04-07T20:59:43.000Z","size":35,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-28T20:48:17.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"parguments.readthedocs.org","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/whtsky.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}},"created_at":"2013-01-27T09:53:53.000Z","updated_at":"2023-01-28T18:37:45.000Z","dependencies_parsed_at":"2022-09-26T17:31:35.815Z","dependency_job_id":null,"html_url":"https://github.com/whtsky/parguments","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/whtsky/parguments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fparguments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fparguments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fparguments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fparguments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whtsky","download_url":"https://codeload.github.com/whtsky/parguments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fparguments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T07:01:55.693Z","updated_at":"2026-01-14T07:01:56.255Z","avatar_url":"https://github.com/whtsky.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#parguments\n\nA simple cli args parser for Python.\n\nUseful for creating command-line scripts.\n\n\n[![Build Status](https://travis-ci.org/whtsky/parguments.png?branch=master)](https://travis-ci.org/whtsky/parguments)\n[![Coverage Status](https://coveralls.io/repos/whtsky/parguments/badge.png)](https://coveralls.io/r/whtsky/parguments)\n\n##Example\n\n```python\n\"\"\"\ncatsup v1.0\n\nUsage:\n    catsup init [\u003cpath\u003e]\n    catsup build\n    catsup deploy\n    catsup -h | --help\n    catsup --version\n\nOptions:\n    -h --help               show this screen.\n    -s --settings=\u003cfile\u003e    specify a config file. [default: config.json]\n\"\"\"\nfrom parguments import Parguments\n\nparguments = Parguments(__doc__, version='1.0')\n\n@parguments.command\ndef init(path):\n    \"\"\"\n    Usage:\n        catsup init [\u003cpath\u003e]\n\n    Options:\n        -h --help               show this screen.\n        -s --settings=\u003cfile\u003e    specify a setting file. [default: config.json]\n    \"\"\"\n    pass\n\n@parguments.command\ndef build(settings):\n    \"\"\"\n    Usage:\n        catsup build [-s \u003cfile\u003e|--settings=\u003cfile\u003e]\n\n    Options:\n        -h --help               show this screen.\n        -s --settings=\u003cfile\u003e    specify a setting file. [default: config.json]\n    \"\"\"\n    pass\n\n@parguments.command\ndef deploy(settings):\n    \"\"\"\n    Usage:\n        catsup deploy [-s \u003cfile\u003e|--settings=\u003cfile\u003e]\n\n    Options:\n        -h --help               show this screen.\n        -s --settings=\u003cfile\u003e    specify a setting file. [default: config.json]\n    \"\"\"\n    pass\n\nif __name__ == '__main__':\n    parguments.run()\n\n```\n\n##Development\n\n```bash\nchmod +x dev.sh\n./dev.sh\nsource bin/active\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhtsky%2Fparguments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhtsky%2Fparguments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhtsky%2Fparguments/lists"}