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.
- 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.
To install PyCodar, follow these steps:
- Clone the repository:
git clone https://github.com/briana929/PyCodar.git
- Navigate to the project directory:
cd PyCodar
- Install the required dependencies:
pip install -r requirements.txt
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.
python pycodar.py /path/to/your/python/project
This command will analyze the specified directory and display the results in your terminal.
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.
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.
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.
We welcome contributions to PyCodar! If you want to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix:
git checkout -b feature/my-feature
- Make your changes and commit them:
git commit -m "Add my feature"
- Push your changes to your fork:
git push origin feature/my-feature
- Create a pull request.
Please ensure that your code follows our coding standards and includes tests where applicable.
This project is licensed under the MIT License. See the LICENSE file for details.
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.
We thank all contributors and users who help make PyCodar better. Your support and feedback are invaluable.
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.