{"id":13400065,"url":"https://github.com/pallets/click","last_synced_at":"2025-12-16T17:59:22.761Z","repository":{"id":16353696,"uuid":"19103692","full_name":"pallets/click","owner":"pallets","description":"Python composable command line interface toolkit","archived":false,"fork":false,"pushed_at":"2025-04-27T00:29:50.000Z","size":3780,"stargazers_count":16314,"open_issues_count":120,"forks_count":1428,"subscribers_count":184,"default_branch":"main","last_synced_at":"2025-05-05T13:59:15.697Z","etag":null,"topics":["cli","click","pallets","python"],"latest_commit_sha":null,"homepage":"https://click.palletsprojects.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pallets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","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},"funding":{"github":"pallets","custom":"https://palletsprojects.com/donate","tidelift":"pypi/Flask"}},"created_at":"2014-04-24T09:52:19.000Z","updated_at":"2025-05-05T12:40:50.000Z","dependencies_parsed_at":"2023-01-14T12:41:03.408Z","dependency_job_id":"22a792b8-42c1-492a-a34d-8ffa972463a0","html_url":"https://github.com/pallets/click","commit_stats":{"total_commits":1633,"total_committers":383,"mean_commits":4.263707571801566,"dds":0.7152480097979179,"last_synced_commit":"02046e7a19480f85fff7e4577486518abe47e401"},"previous_names":["mitsuhiko/click"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets%2Fclick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets%2Fclick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets%2Fclick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets%2Fclick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pallets","download_url":"https://codeload.github.com/pallets/click/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252596423,"owners_count":21773846,"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":["cli","click","pallets","python"],"created_at":"2024-07-30T19:00:47.585Z","updated_at":"2025-12-16T17:59:22.754Z","avatar_url":"https://github.com/pallets.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/pallets/click/refs/heads/stable/docs/_static/click-name.svg\" alt=\"\" height=\"150\"\u003e\u003c/div\u003e\n\n# Click\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n-   Arbitrary nesting of commands\n-   Automatic help page generation\n-   Supports lazy loading of subcommands at runtime\n\n\n## A Simple Example\n\n```python\nimport click\n\n@click.command()\n@click.option(\"--count\", default=1, help=\"Number of greetings.\")\n@click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\ndef hello(count, name):\n    \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n    for _ in range(count):\n        click.echo(f\"Hello, {name}!\")\n\nif __name__ == '__main__':\n    hello()\n```\n\n```\n$ python hello.py --count=3\nYour name: Click\nHello, Click!\nHello, Click!\nHello, Click!\n```\n\n\n## Donate\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, [please\ndonate today][].\n\n[please donate today]: https://palletsprojects.com/donate\n\n## Contributing\n\nSee our [detailed contributing documentation][contrib] for many ways to\ncontribute, including reporting issues, requesting features, asking or answering\nquestions, and making PRs.\n\n[contrib]: https://palletsprojects.com/contributing/\n","funding_links":["https://github.com/sponsors/pallets","https://palletsprojects.com/donate","https://tidelift.com/funding/github/pypi/Flask"],"categories":["Python","HarmonyOS","Desktop App Development","Python 程序","Projects with Great Documentation","Programming Languages","cli","📚 فهرست","CLI Development","Python Tools","Python 🐍","📦 Additional Python Libraries","CLI Tools","[Python](https://www.python.org/)"],"sub_categories":["Windows Manager","Python Toolkit","网络服务_其他","Python","ابزارهای خط فرمان","Ranking/Recommender","Miscellaneous","Useful awesome list for Go cli"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets%2Fclick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpallets%2Fclick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets%2Fclick/lists"}