Skip to content

Understand your Python codebase. 📡 Summarizes your directory in a single table. Displays the file structure of all the files, their functions, classes, and methods in a nicely colored tree. Shows a table of all the files with counts of the lines and much more.

Notifications You must be signed in to change notification settings

briana929/PyCodar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCodar 📡

GitHub release License Python

Overview

Welcome to PyCodar, a tool designed to help you understand your Python codebase. PyCodar provides a clear summary of your directory, displaying the file structure in a visually appealing tree format. You can easily see all the files, their functions, classes, and methods, along with a detailed table that includes line counts and more.

For the latest releases, visit our Releases page.

Features

  • Directory Summary: Get a complete overview of your Python files in a single table.
  • Visual File Structure: View your code in a nicely colored tree format.
  • Detailed Insights: Access information about functions, classes, and methods in each file.
  • Line Counts: Quickly see how many lines of code are in each file.
  • Dead Code Detection: Identify and remove unused code to keep your project clean.

Installation

To install PyCodar, follow these steps:

  1. Clone the repository:
    git clone https://github.com/briana929/PyCodar.git
  2. Navigate to the project directory:
    cd PyCodar
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

To use PyCodar, run the following command in your terminal:

python pycodar.py <directory_path>

Replace <directory_path> with the path to the directory you want to analyze. PyCodar will generate a summary of your codebase, including the file structure and detailed insights.

Example

python pycodar.py /path/to/your/python/project

This command will analyze the specified directory and display the results in your terminal.

Command-Line Options

PyCodar comes with several command-line options to customize your analysis:

  • -h, --help: Show help message and exit.
  • --color: Enable colored output for better visibility.
  • --dead-code: Enable dead code detection.

Example with Options

python pycodar.py /path/to/your/python/project --color --dead-code

This command will analyze your project with colored output and will also check for dead code.

Topics

PyCodar covers a wide range of topics relevant to software development and architecture. Here are some key areas:

  • Architecture: Understand the structure of your codebase.
  • Code Structure: Get insights into how your code is organized.
  • Codebase: Analyze the entire codebase for better management.
  • Command-Line Tool: Use PyCodar directly from your terminal.
  • Dead Code: Identify and remove unnecessary code.
  • Metadata: Access metadata about your files and functions.
  • Software Development: Enhance your development process with clear insights.
  • Visualization: See your code structure in a visual format.

Contributing

We welcome contributions to PyCodar! If you want to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or fix:
    git checkout -b feature/my-feature
  3. Make your changes and commit them:
    git commit -m "Add my feature"
  4. Push your changes to your fork:
    git push origin feature/my-feature
  5. Create a pull request.

Please ensure that your code follows our coding standards and includes tests where applicable.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions, please open an issue on GitHub. We appreciate your feedback and contributions.

For the latest releases, visit our Releases page.

Acknowledgments

We thank all contributors and users who help make PyCodar better. Your support and feedback are invaluable.

Conclusion

PyCodar is a powerful tool for anyone working with Python codebases. It simplifies the process of understanding your project’s structure and helps you maintain a clean and efficient codebase.

Start using PyCodar today and take control of your Python projects!


For further information and updates, check the Releases section.

About

Understand your Python codebase. 📡 Summarizes your directory in a single table. Displays the file structure of all the files, their functions, classes, and methods in a nicely colored tree. Shows a table of all the files with counts of the lines and much more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages