Skip to main content

A tool for generating repository structure documentation

Project description

Repodocify

A powerful Python tool for generating repository structure documentation in multiple formats.

✨ Features

  • 📝 Multiple Output Formats

    • Markdown for clean documentation
    • ASCII tree with file sizes
    • JSON structure with metadata
    • HTML with collapsible trees (coming soon!)
  • 🎯 Smart Filtering

    • Respects .gitignore patterns
    • Intelligent directory filtering
    • Configurable depth control
    • Cross-platform compatibility
  • 📊 Repository Statistics

    • File and directory counts
    • Size analysis
    • Last modified tracking

🚀 Installation

pip install repodocify

📖 Usage

Basic usage:

repodocify

With options:

# Generate markdown output (default)
repodocify --path /path/to/repo --max-depth 3

# Generate ASCII tree with file sizes
repodocify --format ascii --stats

# Generate JSON output
repodocify --format json --output repo-structure.json

# Generate interactive HTML tree
repodocify --format html

🛠️ Development

This project uses Poetry for dependency management. To set up the development environment:

  1. Install Poetry (if not already installed):

    pip install poetry
    
  2. Clone the repository:

    git clone https://github.com/yourusername/repodocify.git
    cd repodocify
    
  3. Install dependencies:

    poetry install
    
  4. Run tests:

    poetry run pytest
    

📋 Requirements

  • Python >=3.8.1
  • Click for CLI
  • Rich for terminal formatting
  • PyYAML for configuration (coming soon)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License

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

repodocify-1.0.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

repodocify-1.0.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file repodocify-1.0.0.tar.gz.

File metadata

  • Download URL: repodocify-1.0.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.11 Linux/6.8.0-1017-azure

File hashes

Hashes for repodocify-1.0.0.tar.gz
Algorithm Hash digest
SHA256 33afc1e717352ceae0fdb94eda581019def76b931ec950e61c56144682a40d94
MD5 b217f8274ec180da6111199cdd5a1b84
BLAKE2b-256 d46625cc7e1b6635e6ff3d0d8e31eb9ef16ffb616cec9e36485f4a8234a58069

See more details on using hashes here.

File details

Details for the file repodocify-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: repodocify-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.11 Linux/6.8.0-1017-azure

File hashes

Hashes for repodocify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 942a9562af27532260f48d1b3a57f6658d267a1ca6a4ed7b93eca5da0e79731c
MD5 6b719f4a8e972f0c503f6c049a9b5875
BLAKE2b-256 f693532ae1646384d43d72d2aef35573a0abdd3d34a77ca3e27399bb54c1cf6b

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