Skip to content

A lightweight Python script to analyze and count files, lines, and characters in your GitHub projects.

License

Notifications You must be signed in to change notification settings

tynax/GitHub-Project-Stats

Repository files navigation

📊 GitHub Project Stats

A lightweight Python script to analyze and count files, lines, and characters in your GitHub projects.


GitHub Project Stats Python Version License


Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. Commands
  6. Contributing
  7. License
  8. Acknowledgments

Introduction

GitHub Project Stats helps developers quickly understand the structure of their GitHub projects. It counts the number of files, lines of code, and characters in your repositories. This simple tool helps you gauge project size and complexity at a glance.


Features

  • File Counting: Counts all files in your project.
  • Line Counting: Tallies the total number of lines across files.
  • Character Counting: Gives you an overview of character usage.
  • Lightweight: Designed to run efficiently without requiring heavy resources.
  • Command-Line Interface: Easy to integrate into your workflow.

Installation

To get started, you'll need to have Python 3.8 or higher installed.

  1. Clone the repository:

    git clone https://github.com/tynax/GitHub-Project-Stats.git
  2. Navigate into the project directory:

    cd GitHub-Project-Stats
  3. Install required dependencies:

    pip install -r requirements.txt

Usage

To use the script, navigate to your project directory and run:

python main.py

This will execute the analysis on your GitHub project. Make sure you have Python 3.8 or higher to ensure smooth execution.


Commands

You can customize the command by using various options:

  • --path: Specify the directory path to analyze.
  • --verbose: Get detailed output during execution.

Example:

python main.py --path your/project/path --verbose

Contributing

We welcome contributions to improve GitHub Project Stats. Here’s how you can help:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/YourFeature
  3. Make your changes and commit them:

    git commit -m "Add YourFeature"
  4. Push to the branch:

    git push origin feature/YourFeature
  5. Create a pull request.

Make sure to check existing issues for bugs or feature requests before starting a new one.


License

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


Acknowledgments

  • Thanks to the open-source community for their support.
  • Special thanks to contributors who help improve this project.

For more information, check the Releases section for the latest updates and downloads.


Happy coding! 🎉