{"id":19839412,"url":"https://github.com/scientifichackers/plugingen","last_synced_at":"2026-06-09T06:05:49.181Z","repository":{"id":57453668,"uuid":"161906946","full_name":"scientifichackers/plugingen","owner":"scientifichackers","description":"A plugin generator for pip.","archived":false,"fork":false,"pushed_at":"2018-12-17T07:09:58.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-31T03:07:05.667Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scientifichackers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-15T13:20:46.000Z","updated_at":"2018-12-17T07:09:59.000Z","dependencies_parsed_at":"2022-08-29T08:41:53.304Z","dependency_job_id":null,"html_url":"https://github.com/scientifichackers/plugingen","commit_stats":null,"previous_names":["pycampers/plugingen"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/scientifichackers/plugingen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fplugingen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fplugingen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fplugingen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fplugingen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scientifichackers","download_url":"https://codeload.github.com/scientifichackers/plugingen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fplugingen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34093796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-12T12:22:18.982Z","updated_at":"2026-06-09T06:05:49.162Z","avatar_url":"https://github.com/scientifichackers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugingen\n\nCreate `pip` plugins in seconds. 🗲\n\n---\n\nFor instance, This is how you would go about creating a plugin for the popular package `pipdeptree`:\n\n```python\n# pip_plugin_tree.py\nimport plugingen\n\ncli = plugingen.create(\n    code=\"import pipdeptree\\npipdeptree.main()\", requirements=[\"pipdeptree\"]\n)\n```\n\n```python\n# setup.py\nsetup(\n    ...\n    py_modules=['pip_plugin_tree'],\n    entry_points={\"console_scripts\": [\"pip-plugin-tree = pip_plugin_tree:cli\"]},\n)\n```\n\nAnd that's literally it.\n\nFor just this, You get a plugin that automatically gets discovered, works across virtualenvs, without any modification to the original package whatsoever.\n\nYou even get your own little spot at `$ pip --help`:\n\n```\n$ pip --help\n...\n  completion                  A helper command used for command completion.\n  help                        Show help for commands.\n\n3rd Party Commands:\n  tree\n  compile\n  sync\n\nGeneral Options:\n  -h, --help                  Show help.\n  --isolated                  Run pip in an isolated mode, ignoring environment variables and user configuration.\n...\n```\n\n```\n$ pip tree -l\nDjango==2.1.4\n  - pytz [required: Any, installed: 2018.7]\npip==19.0.dev0\nsetuptools==40.6.3\nwheel==0.32.3\n```\n\n---\n\n(This is a prof of concept for a [fork](https://github.com/devxpy/pip) of `pip` that supports plugins. Follow discussion [here](https://github.com/pypa/pip/issues/3999#issuecomment-447743331).)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientifichackers%2Fplugingen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscientifichackers%2Fplugingen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientifichackers%2Fplugingen/lists"}