{"id":50996526,"url":"https://github.com/mauricelambert/supplychainanalysis","last_synced_at":"2026-06-20T10:02:13.643Z","repository":{"id":342610979,"uuid":"1049975863","full_name":"mauricelambert/SupplyChainAnalysis","owner":"mauricelambert","description":"This module provides CLI and functions to analyse supply chain and dependencies in python packages and apt packages.","archived":false,"fork":false,"pushed_at":"2025-09-03T19:10:29.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-06T18:52:30.561Z","etag":null,"topics":["apt","python","statistics","supply-chain","supply-chain-management","supply-chain-security"],"latest_commit_sha":null,"homepage":"","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/mauricelambert.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T19:09:31.000Z","updated_at":"2025-09-03T19:12:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mauricelambert/SupplyChainAnalysis","commit_stats":null,"previous_names":["mauricelambert/supplychainanalysis"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mauricelambert/SupplyChainAnalysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FSupplyChainAnalysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FSupplyChainAnalysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FSupplyChainAnalysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FSupplyChainAnalysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauricelambert","download_url":"https://codeload.github.com/mauricelambert/SupplyChainAnalysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FSupplyChainAnalysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34565244,"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-20T02:00:06.407Z","response_time":98,"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":["apt","python","statistics","supply-chain","supply-chain-management","supply-chain-security"],"created_at":"2026-06-20T10:02:12.850Z","updated_at":"2026-06-20T10:02:13.637Z","avatar_url":"https://github.com/mauricelambert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![SupplyChainAnalysis Logo](https://mauricelambert.github.io/info/python/security/SupplyChainAnalysis_small.png \"SupplyChainAnalysis logo\")\n\n# SupplyChainAnalysis\n\n## Description\n\nThis module provides CLI and functions to analyse supply chain and\ndependencies in python packages and apt packages.\n\n## Requirements\n\nThis package require:\n\n - python3\n - python3 Standard Library\n\n### Optional\n\n - python3-apt\n\n## Installation\n\n### Pip\n\n```bash\npython3 -m pip install SupplyChainAnalysis\n```\n\n### Git\n\n```bash\ngit clone \"https://github.com/mauricelambert/SupplyChainAnalysis.git\"\ncd \"SupplyChainAnalysis\"\npython3 -m pip install .\n```\n\n### Wget\n\n```bash\nwget https://github.com/mauricelambert/SupplyChainAnalysis/archive/refs/heads/main.zip\nunzip main.zip\ncd SupplyChainAnalysis-main\npython3 -m pip install .\n```\n\n### cURL\n\n```bash\ncurl -O https://github.com/mauricelambert/SupplyChainAnalysis/archive/refs/heads/main.zip\nunzip main.zip\ncd SupplyChainAnalysis-main\npython3 -m pip install .\n```\n\n## Usages\n\n### Command line\n\n```bash\nSupplyChainAnalysis              # Using CLI package executable\npython3 -m SupplyChainAnalysis   # Using python module\npython3 SupplyChainAnalysis.pyz  # Using python executable\nSupplyChainAnalysis.exe          # Using python Windows executable\n\nSupplyChainAnalysis              # help message\nSupplyChainAnalysis.py module ([--count/-c]|[--details/-s]|[--packages|-p]|[package names, ...])\n\nSupplyChainAnalysis apt -c\nSupplyChainAnalysis apt --count\nSupplyChainAnalysis apt -p\nSupplyChainAnalysis apt --packages\nSupplyChainAnalysis apt -d | grep gnome\nSupplyChainAnalysis apt --details | grep python3 | awk '{ print $3 }'\nSupplyChainAnalysis apt python3 perl bash\n\nSupplyChainAnalysis importlib\nSupplyChainAnalysis pkg_resources\n```\n\n### Python script\n\n```python\nfrom SupplyChainAnalysis import *\n\napt = AptPackagesAnalysis()\nfor package in apt.package_seen_tree(\"python3\"):\n    print(*package)\n\nimportlib = ImportlibPackagesAnalysis()\nimportlib.dependencies_count(\"python3\")\nimportlib.make_statistics()\n\npkg_resources = PkgResourcesPackagesAnalysis()\npkg_resources.get_all()\npkg_resources.get_dependencies(\"requests\")\npkg_resources.check_exists(\"flake8\")\n```\n\n## Links\n\n - [Pypi](https://pypi.org/project/SupplyChainAnalysis)\n - [Github](https://github.com/mauricelambert/SupplyChainAnalysis)\n - [Documentation](https://mauricelambert.github.io/info/python/security/SupplyChainAnalysis.html)\n - [Python executable](https://mauricelambert.github.io/info/python/security/SupplyChainAnalysis.pyz)\n - [Python Windows executable](https://mauricelambert.github.io/info/python/security/SupplyChainAnalysis.exe)\n\n## License\n\nLicensed under the [GPL, version 3](https://www.gnu.org/licenses/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Fsupplychainanalysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauricelambert%2Fsupplychainanalysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Fsupplychainanalysis/lists"}