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
- Host: GitHub
- URL: https://github.com/lainq/polyglot
- Owner: lainq
- License: mit
- Created: 2021-03-09T03:54:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-27T17:51:44.000Z (about 4 years ago)
- Last Synced: 2025-03-05T06:12:50.499Z (7 months ago)
- Topics: languages, linguist, percentage, polyglot, python, python3
- Language: Python
- Homepage: https://pranavbaburaj.github.io/polyglot/
- Size: 870 KB
- Stars: 27
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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 pippip3 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 Polyglotdirname = "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