{"id":20060747,"url":"https://github.com/sinoroc/deptree","last_synced_at":"2025-05-05T15:33:21.680Z","repository":{"id":53161245,"uuid":"206357367","full_name":"sinoroc/deptree","owner":"sinoroc","description":"Display installed Python distributions as a tree of dependencies","archived":false,"fork":false,"pushed_at":"2023-04-23T11:07:34.000Z","size":75,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"develop-0.1.x","last_synced_at":"2025-04-19T07:10:33.716Z","etag":null,"topics":["python","python-package-management","python-pip"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/deptree/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinoroc.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","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}},"created_at":"2019-09-04T15:54:02.000Z","updated_at":"2024-03-18T22:26:26.000Z","dependencies_parsed_at":"2024-06-19T00:26:47.772Z","dependency_job_id":"279c7cae-9e98-40be-9c4d-73e4eef9708c","html_url":"https://github.com/sinoroc/deptree","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Fdeptree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Fdeptree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Fdeptree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Fdeptree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinoroc","download_url":"https://codeload.github.com/sinoroc/deptree/tar.gz/refs/heads/develop-0.1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252524308,"owners_count":21762072,"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":["python","python-package-management","python-pip"],"created_at":"2024-11-13T13:16:38.316Z","updated_at":"2025-05-05T15:33:21.435Z","avatar_url":"https://github.com/sinoroc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"..\n\n\nIntroduction\n============\n\nDisplay installed Python projects as a tree of dependencies.\n\n\nFeatures\n--------\n\n* Output compatible with ``requirements.txt``\n\n* Show dependencies or dependents\n\n* Detect circular dependencies\n\n* Detect missing dependencies\n\n\nRepositories\n------------\n\nDistributions:\n\n* https://pypi.org/project/deptree/\n\n\nSource code:\n\n* https://gitlab.com/sinoroc/deptree\n* https://github.com/sinoroc/deptree\n\n\nUsage\n=====\n\n.. code::\n\n    $ deptree --help\n    usage: deptree [-h] [--version] [-r] [-f] [project [project ...]]\n\n    Display installed Python projects as a tree of dependencies\n\n    positional arguments:\n      project        name of project whose dependencies (or dependents) to show\n\n    optional arguments:\n      -h, --help     show this help message and exit\n      --version      show program's version number and exit\n      -r, --reverse  show dependent projects instead of dependencies\n      -f, --flat     show flat list instead of tree\n\n\nExamples\n--------\n\n.. code::\n\n    $ deptree cryptography\n    cryptography==2.9  # cryptography\n      cffi==1.14.0  # cffi!=1.11.3,\u003e=1.8\n        pycparser==2.20  # pycparser\n      six==1.14.0  # six\u003e=1.4.1\n\n\n.. code::\n\n    $ deptree --reverse cryptography\n    cryptography==2.9  # -\n      SecretStorage==3.1.2  # cryptography\n        keyring==21.2.0  # SecretStorage\u003e=3; sys_platform == \"linux\"\n          twine==3.1.1  # keyring\u003e=15.1\n\n\n.. code::\n\n    $ deptree --flat cryptography\n    cffi==1.14.0\n    # pycparser\n\n    cryptography==2.9\n    # six\u003e=1.4.1\n    # cffi!=1.11.3,\u003e=1.8\n\n    pycparser==2.20\n\n    six==1.14.0\n\n\n.. code::\n\n    $ deptree --flat --reverse cryptography\n    # SecretStorage: cryptography\n    cryptography==2.9\n\n    # twine: keyring\u003e=15.1\n    keyring==21.2.0\n\n    # keyring: SecretStorage\u003e=3; sys_platform == \"linux\"\n    SecretStorage==3.1.2\n\n    twine==3.1.1\n\n\n.. code::\n\n    $ deptree CircularDependencyA\n    CircularDependencyA==0.0.0  # CircularDependencyA\n      CircularDependencyB==0.0.0  # CircularDependencyB\n        CircularDependencyA  # !!! CIRCULAR CircularDependencyA\n\n\nInstallation\n------------\n\nFor better comfort, use as a single-file isolated *zipapp*:\n\n* https://www.python.org/dev/peps/pep-0441/\n* https://docs.python.org/3/library/zipapp.html\n\n\nFor example:\n\n.. code::\n\n    $ python -m pip install --target ./deptree/ deptree\n    $ python -m zipapp --python '/usr/bin/env python' --main 'deptree.cli:main' ./deptree/\n    $ mv ./deptree.pyz ~/.local/bin/deptree\n\n\nOr use `zapp`_, or `toolmaker`_.\n\nThis way the tool can be used in virtual environments without installing it in\nthe virtual environments. The tool can then see the projects installed in the\nvirtual environment but without seeing itself.\n\n\nDetails\n=======\n\nSimilar projects\n----------------\n\n* `johnnydep`_\n* `pipdeptree`_\n* `pipgrip`_\n\n\n.. Links\n\n.. _`johnnydep`: https://pypi.org/project/johnnydep/\n.. _`pipdeptree`: https://pypi.org/project/pipdeptree/\n.. _`pipgrip`: https://pypi.org/project/pipgrip/\n.. _`toolmaker`: https://pypi.org/project/toolmaker/\n.. _`zapp`: https://pypi.org/project/zapp/\n\n\n.. EOF\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinoroc%2Fdeptree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinoroc%2Fdeptree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinoroc%2Fdeptree/lists"}