{"id":20610531,"url":"https://github.com/reugn/pyloc","last_synced_at":"2025-03-06T17:45:35.009Z","repository":{"id":100155040,"uuid":"173429486","full_name":"reugn/pyloc","owner":"reugn","description":"Python implementation of tool for counting lines of code","archived":false,"fork":false,"pushed_at":"2019-03-07T17:08:28.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T03:25:53.138Z","etag":null,"topics":["cloc","codelines","lines-of-code","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reugn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-02T09:38:10.000Z","updated_at":"2019-11-17T23:28:27.000Z","dependencies_parsed_at":"2023-05-12T17:30:42.739Z","dependency_job_id":null,"html_url":"https://github.com/reugn/pyloc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Fpyloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Fpyloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Fpyloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Fpyloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reugn","download_url":"https://codeload.github.com/reugn/pyloc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242257902,"owners_count":20098228,"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":["cloc","codelines","lines-of-code","python"],"created_at":"2024-11-16T10:17:07.409Z","updated_at":"2025-03-06T17:45:35.004Z","avatar_url":"https://github.com/reugn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pyloc\n[![](https://img.shields.io/badge/python-3.5+-blue.svg)]()\n\nPython implementation of tool for counting lines of code.\n\n### Installation\n```\npip install -U git+https://github.com/reugn/pyloc.git\n```\n\n### Usage\npyloc --help\n```\nusage: pyloc [options]\n\npositional arguments:\n  path                  working directory\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -gi, --gitignore      filter sources by .gitignore file\n  -s {files,comment,code,blank}, --sort {files,comment,code,blank}\n                        sort results by field\n  -o {table,json}, --out {table,json}\n                        output format\n```\n\nSimple example\n```\npyloc ./test\n+------------+---------+-----------+--------+---------+\n| File Ext   |   Files |   Comment |   Code |   Blank |\n+============+=========+===========+========+=========+\n| py         |       2 |       104 |    111 |      55 |\n+------------+---------+-----------+--------+---------+\n| c          |       1 |        24 |     70 |      21 |\n+------------+---------+-----------+--------+---------+\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freugn%2Fpyloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freugn%2Fpyloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freugn%2Fpyloc/lists"}