{"id":28348268,"url":"https://github.com/ragnarok540/astspy","last_synced_at":"2026-01-20T16:56:22.216Z","repository":{"id":57412037,"uuid":"195669135","full_name":"Ragnarok540/astspy","owner":"Ragnarok540","description":"Abstract Syntax Tree SPY","archived":false,"fork":false,"pushed_at":"2025-05-21T15:36:08.000Z","size":11,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-04T00:09:09.264Z","etag":null,"topics":["abstract-syntax-tree","ast","classes","code-metrics","functions","line-numbers","lines-of-code","metrics","metrics-gathering","python","spy","static-analysis","static-code-analysis","statistics"],"latest_commit_sha":null,"homepage":null,"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/Ragnarok540.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,"zenodo":null}},"created_at":"2019-07-07T15:44:47.000Z","updated_at":"2025-05-21T15:36:12.000Z","dependencies_parsed_at":"2025-05-12T19:28:23.612Z","dependency_job_id":"64bc6755-91e2-4a18-9da7-46c2d1c731eb","html_url":"https://github.com/Ragnarok540/astspy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ragnarok540/astspy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ragnarok540%2Fastspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ragnarok540%2Fastspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ragnarok540%2Fastspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ragnarok540%2Fastspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ragnarok540","download_url":"https://codeload.github.com/Ragnarok540/astspy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ragnarok540%2Fastspy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260996872,"owners_count":23094780,"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":["abstract-syntax-tree","ast","classes","code-metrics","functions","line-numbers","lines-of-code","metrics","metrics-gathering","python","spy","static-analysis","static-code-analysis","statistics"],"created_at":"2025-05-27T18:10:43.305Z","updated_at":"2026-01-20T16:56:22.212Z","avatar_url":"https://github.com/Ragnarok540.png","language":"Python","readme":"# astspy\nastspy (Abstract Syntax Tree SPY) is an open source command line tool to\nextract information from Python source code files.\n\nastspy can be used with Python 3 and 2 code, but make sure to\nanalyze files from each version in their respective environments.\n\n# Features\n- Print the names of classes and functions found in the file\n- Calculate an aproximation of the number of lines of code of each class\n  or function definition (sizes)\n- See what functions or classes have docstrings\n- Print the locations of the definitions in the file (line numbers)\n- Get stats from the sizes of the definitions\n\n## Installation\n\nYou can install, upgrade, and uninstall ``astspy.py`` with these commands:\n\n```sh\n  $ pip install astspy\n  $ pip install --upgrade astspy\n  $ pip uninstall astspy\n```\n\n## Help\n\nTo get help use:\n\n```sh\n  $ astspy -h\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragnarok540%2Fastspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragnarok540%2Fastspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragnarok540%2Fastspy/lists"}