{"id":25980557,"url":"https://github.com/lainq/polyglot","last_synced_at":"2025-03-05T07:36:55.089Z","repository":{"id":51397193,"uuid":"345876283","full_name":"lainq/polyglot","owner":"lainq","description":"Find the percentage of programming languages used in your project","archived":false,"fork":false,"pushed_at":"2021-07-27T17:51:44.000Z","size":891,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T06:12:50.499Z","etag":null,"topics":["languages","linguist","percentage","polyglot","python","python3"],"latest_commit_sha":null,"homepage":"https://pranavbaburaj.github.io/polyglot/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lainq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"pranavbaburaj"}},"created_at":"2021-03-09T03:54:44.000Z","updated_at":"2024-05-24T19:38:02.000Z","dependencies_parsed_at":"2022-09-26T21:50:48.935Z","dependency_job_id":null,"html_url":"https://github.com/lainq/polyglot","commit_stats":null,"previous_names":["lainq/polyglot","pranavbaburaj/polyglot"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lainq%2Fpolyglot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lainq%2Fpolyglot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lainq%2Fpolyglot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lainq%2Fpolyglot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lainq","download_url":"https://codeload.github.com/lainq/polyglot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241989811,"owners_count":20053801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["languages","linguist","percentage","polyglot","python","python3"],"created_at":"2025-03-05T07:36:54.601Z","updated_at":"2025-03-05T07:36:55.083Z","avatar_url":"https://github.com/lainq.png","language":"Python","funding_links":["https://patreon.com/pranavbaburaj"],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/70764593/114295267-c9cdb780-9ac1-11eb-94aa-f864328d6845.png\" aly=\"logo\"\u003e\n  \u003ch3 align=\"center\"\u003ePolyglot\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Find the percentage of programming languages used in your project\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/pranavbaburaj/polyglot/blob/main/docs/README.md\"\u003e📖 Documentation\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/pranavbaburaj/polyglot/issues\"\u003eReport a Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/pranavbaburaj/polyglot/pulls\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cbr\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://static.pepy.tech/badge/python-polyglot\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/808537055177080892.svg\"\u003e\n    \u003cimg src=\"https://badges.frapsoft.com/os/v1/open-source.svg?v=103\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/pranavbaburaj/polyglot\"\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=Find%20the%20percentage%20of%20programming%20languages%20in%20your%20project\u0026url=https://github.com/pranavbaburaj/polyglot\u0026via=baburaj_pranav\u0026hashtags=developers,polyglot,language\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url/http/shields.io.svg?style=social\"\u003e\u003c/a\u003e\n    \u003cimg src=\"https://tokei.rs/b1/github/pranavbaburaj/polyglot\"\u003e\n    \u003cimg src=\"https://api.codacy.com/project/badge/Grade/601da323f4ea482f9c2ee7f4164e8ee9\"\u003e\n  \u003c/p\u003e\n\n\n  \u003cbr /\u003e\n\n\u003c/p\u003e\n\n\n## About The Project\n\nFind the percentage of programming languages used in your project\n\n\u003c!-- GETTING STARTED --\u003e\n\n## ⚡ Getting Started\n\nIn order to get started, please make sure that you have [`python`](https://python.org) and `pip` installed on your computer.\n\n\n### ⬇️ Installation\n\n- Install pip packages\n\n```sh\n# install the python-polyglot package using pip\n\npip3 install python-polyglot\n# or\npip install python-polyglot\n```\n\n## 🎉 Usage\n\nOnce Polyglot is all setup and good to go, implementing is easy as pie.\n\n### 🔰 Initial Setup\n\nYou can initialize Polyglot with the example below:\n\n```python\nfrom polyglot.core import Polyglot\n\ndirname = \"path/to/directory\"\n\npolyglot = Polyglot(dirname)\npolyglot.show(display=True)\n```\n\nRead the complete polyglot documentation [here](https://github.com/pranavbaburaj/polyglot/blob/main/docs/README.md)\n\n\u003cbr\u003e\n\u003cimg src=\"https://github.com/pranavbaburaj/polyglot/blob/main/docs/polyglot-result.png?raw=true\" height=\"450\"\u003e\n\n\u003e Read more about the documentation [here](https://github.com/pranavbaburaj/polyglot/blob/main/docs/README.md)\n\n\u003c!--\n```\n+-------------------------+---------+-------+-------+\n|         Language        |  Files  | Total | Blank |\n+-------------------------+---------+-------+-------+\n|       Unknown file      | 13.89 % |   5   |   0   |\n|           YAML          |  2.78 % |   1   |   0   |\n| GCC Machine Description |  8.33 % |   3   |   0   |\n|           Text          | 13.89 % |   5   |   0   |\n|          Python         | 55.56 % |   20  |   0   |\n|           TOML          |  2.78 % |   1   |   0   |\n|           JSON          |  2.78 % |   1   |   0   |\n+-------------------------+---------+-------+-------+\n\n\n+-------------------------+---------+-------+-------+\n|         Language        |  Lines  | Total | Blank |\n+-------------------------+---------+-------+-------+\n|       Unknown file      | 29.67 % |  3491 |  101  |\n|           YAML          | 58.35 % |  6865 |   1   |\n| GCC Machine Description |  2.97 % |  349  |   90  |\n|           Text          |  0.31 % |   36  |   4   |\n|          Python         |  8.07 % |  949  |  205  |\n|           TOML          |  0.59 % |   70  |   14  |\n|           JSON          |  0.04 % |   5   |   0   |\n+-------------------------+---------+-------+-------+\n```\n--\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. [Fork](https://github.com/pranavbaburaj/polyglot/fork) the Project\n2. Create your Feature Branch (`git checkout -b feature`)\n3. Commit your Changes (`git commit -m 'Add some features'`)\n4. Push to the Branch (`git push origin feature`)\n5. Open a Pull Request\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flainq%2Fpolyglot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flainq%2Fpolyglot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flainq%2Fpolyglot/lists"}