Skip to main content

Generate a simple project tree excluding ignored directories.

Project description

projecttree

A lightweight Python utility to generate a clean project tree, excluding build and cache directories.

Installation

pip install projecttree
(or locally:)
pip install -e .
Usage
from projecttree import generate_project_tree

tree = generate_project_tree(".")
print(tree)
Command Line

✅ Default behavior
projectree .
✅ With custom extensions
projectree . --ext .py,.md
✅ Ignoring custom folders
projectree . --ignore venv,__pycache__
✅ Save output to file
projectree . --save tree.txt

---

## 📜 Step 7: Add a License

File: `LICENSE`  
(Use MIT License as an example.)

```text
MIT License

Copyright (c) 2025 [Your Name]

Permission is hereby granted, free of charge, to any person obtaining a copy
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

projectree-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

projectree-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file projectree-0.1.0.tar.gz.

File metadata

  • Download URL: projectree-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for projectree-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e0243622b9e258a1ed6e45bd8a90d7fa9a5c44c32d63b3e13ec94dea2824589
MD5 8611c62135be58bc06dfef43478bc882
BLAKE2b-256 689572a3e659152e8f5226d6d17780aab620c3dfa6a4dc41df8da8ae89d3f136

See more details on using hashes here.

File details

Details for the file projectree-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: projectree-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for projectree-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa2b62e66564ea070025b57c8a1a4b642cc7b5f1e199d2b40ff7c1c5ae36d4a0
MD5 fb6fcee7b24383b22d7af51fb2726ac8
BLAKE2b-256 9ba3e8b8a0ddd6a05a2896a9cede6ed28036c43b632dfce69ffb80e0f1aeec4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page