An open API service indexing awesome lists of open source software.

https://github.com/lainq/polyglot

Find the percentage of programming languages used in your project
https://github.com/lainq/polyglot

languages linguist percentage polyglot python python3

Last synced: 7 months ago
JSON representation

Find the percentage of programming languages used in your project

Awesome Lists containing this project

README

          





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`](https://python.org) and `pip` installed on your computer.

### โฌ‡๏ธ Installation

- Install pip packages

```sh
# 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:

```python
from polyglot.core import Polyglot

dirname = "path/to/directory"

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

Read the complete polyglot documentation [here](https://github.com/pranavbaburaj/polyglot/blob/main/docs/README.md)



> Read more about the documentation [here](https://github.com/pranavbaburaj/polyglot/blob/main/docs/README.md)

## 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](https://github.com/pranavbaburaj/polyglot/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