{"id":20688077,"url":"https://github.com/neutrinoceros/wxc","last_synced_at":"2025-10-29T17:43:36.456Z","repository":{"id":38838757,"uuid":"266415075","full_name":"neutrinoceros/wxc","owner":"neutrinoceros","description":"A command line tool to query source code from your current Python env","archived":false,"fork":false,"pushed_at":"2025-10-06T19:28:37.000Z","size":1271,"stargazers_count":17,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-10T03:16:44.137Z","etag":null,"topics":["developer-tools","python","python-environment"],"latest_commit_sha":null,"homepage":"","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/neutrinoceros.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-23T20:34:14.000Z","updated_at":"2025-10-06T19:28:38.000Z","dependencies_parsed_at":"2023-10-01T18:21:09.707Z","dependency_job_id":"8591a040-abc5-44de-9716-2690e21dae75","html_url":"https://github.com/neutrinoceros/wxc","commit_stats":{"total_commits":435,"total_committers":4,"mean_commits":108.75,"dds":0.1471264367816092,"last_synced_commit":"cbb30377f53b270ad3be7891c3cecc9becc5a406"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"purl":"pkg:github/neutrinoceros/wxc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neutrinoceros%2Fwxc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neutrinoceros%2Fwxc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neutrinoceros%2Fwxc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neutrinoceros%2Fwxc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neutrinoceros","download_url":"https://codeload.github.com/neutrinoceros/wxc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neutrinoceros%2Fwxc/sbom","scorecard":{"id":351568,"data":{"date":"2025-08-11","repo":{"name":"github.com/neutrinoceros/wxc","commit":"c362b12c1642456bf9425bd855e7dd3d10bd8975"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"27 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/bleeding_edge.yml:1","Warn: no topLevel permission defined: .github/workflows/cd.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   8 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   6 out of   6 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/cd.yml:11"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T08:26:16.657Z","repository_id":38838757,"created_at":"2025-08-18T08:26:16.657Z","updated_at":"2025-08-18T08:26:16.657Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002553,"owners_count":26083418,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["developer-tools","python","python-environment"],"created_at":"2024-11-16T22:59:08.173Z","updated_at":"2025-10-10T03:16:44.556Z","avatar_url":"https://github.com/neutrinoceros.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wxc\n\n[![PyPI](https://img.shields.io/pypi/v/wxc.svg?logo=pypi\u0026logoColor=white\u0026label=PyPI)](https://pypi.org/project/wxc/)\n[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)\n\n\n`wxc` (pronounced \"which\") allows you to inspect source code in your Python\nenvironment from the command line. It is based on the `inspect` module from the\nstandard library.\n\n\n## Installation\n\n```shell\n$ python -m pip install wxc\n```\n\n## Usage\n\nGet the version number of a package in your current environment\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/neutrinoceros/wxc/main/gallery/example_version.png\" width=\"800\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nLocate the file from which a Python package is imported\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/neutrinoceros/wxc/main/gallery/example_loc.png\" width=\"800\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nLocate a specific method's source code\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/neutrinoceros/wxc/main/gallery/example_method.png\" width=\"800\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nView the source code of function directly from the terminal stdout\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/neutrinoceros/wxc/main/gallery/example_source.png\" width=\"800\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n`wxc` tries to be helpful when you mistype\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/neutrinoceros/wxc/main/gallery/example_resilience.png\" width=\"800\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nFor more, run\n```shell\n$ wxc --help\n```\n\n## Known limitations\n\n`wxc` is not currently able to retrieve the source of compiled code binded into\nPython. It should however correctly point to the compiled file that an object is\nimported from.\n\n`wxc` should never be installed in isolation (for instance via\n[pipx](https://pipxproject.github.io/pipx/)) since it would completely defeat\nits purpose.\n\n## Notes\n\n- `wxc` is fully tested on macOS, Linux, and partially on Windows\n- this project was formerly named \"whych\" and renamed to avoid confusion with the\n  pypi-available package of the same name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneutrinoceros%2Fwxc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneutrinoceros%2Fwxc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneutrinoceros%2Fwxc/lists"}