{"adoption": {"forks": 89, "observed_at": "2026-08-28T04:05:37.283058+00:00", "stars": 1794}, "canonical_url": "https://ross.abutalabs.com/products/pigar", "card": {"archived": false, "artifact_type": "cli-tool", "description": ":coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools", "package-manager", "parser", "search-engine"], "health_score": 92, "homepage": "https://damnever.github.io/pigar/", "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["damnever/pigar"], "name": "damnever/pigar", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-07-24T20:40:10+00:00", "repo": "damnever/pigar", "stars": 1794, "tags": ["requirements-txt", "dependency-analysis", "pypi", "import-scanning", "jupyter-notebook", "command-line", "python", "automation"], "topics": ["pip", "requirements", "python", "pypi", "denpendenies", "importerror", "distribution-search"], "urls": [], "use_cases": ["generate requirements.txt from python project imports", "find which pypi package provides an import name like bs4", "check if requirements.txt dependencies are outdated", "generate requirements for jupyter notebooks", "create separate requirements files for python 2 and 3", "resolve ImportError by mapping module name to package"], "what_it_is": "pigar is a Python CLI tool that automatically generates requirements.txt files by analyzing import statements in a project's source code, including Jupyter notebooks and dynamic imports. It can also search PyPI for distributions by top-level import name and check requirements for outdated versions.", "when_to_avoid": ["you need full dependency management with lockfiles - use pipenv, uv, or poetry instead", "you need transitive dependency resolution rather than direct import scanning", "your project relies heavily on packages not installed locally and not on PyPI"], "when_to_choose": ["you need to bootstrap a requirements.txt for an existing codebase with no dependency file", "you want to trace imports (including dynamic ones and notebooks) to their distributions", "you need to look up the package behind an unfamiliar import name"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pigar", "repo": "damnever/pigar", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.283058+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:22:53.610152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c22d19f2cb7fa04cd2bfb27689227fc9800860fdff723626a16e4615ad26471", "fetched_at": "2026-08-28T04:05:37.283058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/damnever/pigar"}, {"content_hash": "b7dff3033b600d30f4d0131fc934683c644f88720b2e6a7536b92d2bb98dbfce", "fetched_at": "2026-08-29T11:01:45.287138+00:00", "kind": "homepage", "missing": false, "url": "https://damnever.github.io/pigar/"}, {"content_hash": "2df1f7f9a81f95f52a9b8200579a1599a02704d014a4613530d6ac8f08546aff", "fetched_at": "2026-08-29T11:01:45.295969+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pigar/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 24}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3990, "days_push": 40, "days_rel": 297, "gap_med": 326, "n_releases_24m": 2}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}