Skip to content

lainq/polyglot

Repository files navigation


Polyglot

Find the percentage of programming languages used in your project
📖 Documentation · Report a Bug · Request Feature



About The Project

Find the percentage of programming languages used in your project

⚡ Getting Started

In order to get started, please make sure that you have python and pip installed on your computer.

⬇️ Installation

  • Install pip packages
# install the python-polyglot package using pip

pip3 install python-polyglot
# or
pip install python-polyglot

🎉 Usage

Once Polyglot is all setup and good to go, implementing is easy as pie.

🔰 Initial Setup

You can initialize Polyglot with the example below:

from polyglot.core import Polyglot

dirname = "path/to/directory"

polyglot = Polyglot(dirname)
polyglot.show(display=True)

Read the complete polyglot documentation here


Read more about the documentation here

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature)
  3. Commit your Changes (git commit -m 'Add some features')
  4. Push to the Branch (git push origin feature)
  5. Open a Pull Request