Skip to main content

A CLI tool to list Python backend files, ignoring caches, envs, and system files

Project description

pytreefind

A minimalist CLI tool that lists Python files in a clean tree structure.

Quick Start

# Basic usage (current directory, 3 levels deep)
pytreefind

# Custom directory and depth
pytreefind -L 2 /path/to/project

Features

What it does
  • Shows only Python (.py) files
  • Automatically excludes:
    • __pycache__
    • Virtual environments (env, venv)
    • Version control (.git)
    • Node modules (node_modules)
    • Test artifacts (.pytest_cache)
    • Package metadata (*.egg-info)
  • Customizable depth level
Requirements
  • Python 3.7+
  • tree command installed on your system
    • Ubuntu/Debian: apt install tree
    • macOS: brew install tree
    • Windows: choco install tree

Installation

pip install pytreefind
Development Installation
git clone git@github.com:preston-56/pytreefind.git
cd pytreefind
pip install -e .
For Maintainers
python3 -m build
twine upload dist/*

License

MIT License - Preston Osoro

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pytreefind-0.1.1-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytreefind-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pytreefind-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-59-generic

File hashes

Hashes for pytreefind-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac998cd1d097f8ca90b010814834d9ad4535f3ea031ce3b157e7d7357c700c15
MD5 4bd85612f8886553432deca707f5b18e
BLAKE2b-256 3afb8d90792e1f7295e8ed45a45f66b4c1c8b9f7b1df3bff15573daacf980e2c

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