{"id":20827281,"url":"https://github.com/realpython/rptree","last_synced_at":"2025-04-09T06:11:23.626Z","repository":{"id":46271591,"uuid":"324220583","full_name":"realpython/rptree","owner":"realpython","description":"Directory Tree Generator","archived":false,"fork":false,"pushed_at":"2025-03-06T21:37:48.000Z","size":39,"stargazers_count":57,"open_issues_count":3,"forks_count":18,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T04:07:17.434Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realpython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-12-24T19:07:19.000Z","updated_at":"2025-03-23T20:57:26.000Z","dependencies_parsed_at":"2024-11-17T23:11:46.295Z","dependency_job_id":null,"html_url":"https://github.com/realpython/rptree","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.045454545454545414","last_synced_commit":"08dcb019aea6e3e326c39be9741e52adb77a2c19"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Frptree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Frptree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Frptree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Frptree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realpython","download_url":"https://codeload.github.com/realpython/rptree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987285,"owners_count":21028895,"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":[],"created_at":"2024-11-17T23:11:39.742Z","updated_at":"2025-04-09T06:11:23.605Z","avatar_url":"https://github.com/realpython.png","language":"Python","readme":"# RP Tree\n\nRP Tree is a command-line tool to generate directory tree diagrams.\n\n## Installation\n\nTo install **RP Tree**, just run the following command:\n\n```sh\n$ pip install rptree\n```\n\n## Usage\n\n```sh\n$ rptree /path/to/directory/\n```\n\n**Note:** The `-h` or `--help` option provides help on using RP Tree.\n\n## Sample Output\n\n```sh\n$ rptree hello/\n./hello/\n│\n├── hello/\n│   ├── __init__.py\n│   └── hello.py\n│\n├── tests/\n│   └── test_hello.py\n│\n├── LICENSE\n├── README.md\n├── requirements.txt\n└── setup.py\n```\n\nThat's it! You've generated a nice directory tree diagram.\n\n## Features\n\nIf you run RP Tree with a directory path as an argument, then you get a full directory tree diagram printed on your screen. The default input directory is your current directory.\n\nRP Tree also provides the following options:\n\n- `-v`, `--version` shows the application version and exits\n- `-h`, `--help` show a usage message\n- `-d`, `--dir-only` generates a directory-only tree diagram\n- `-o`, `--output-file` generates a full directory tree diagram and save it to a file in markdown format\n\n## Release History\n\n- 0.1.1\n  - Display the entries in alphabetical order\n- 0.1.0\n  - A work in progress\n\n## About the Author\n\nLeodanis Pozo Ramos - Email: leodanis@realpython.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Frptree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealpython%2Frptree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Frptree/lists"}