{"id":37527642,"url":"https://github.com/getargv/getargv.py","last_synced_at":"2026-01-20T16:52:44.760Z","repository":{"id":65566754,"uuid":"594336242","full_name":"getargv/getargv.py","owner":"getargv","description":"Python bindings to libgetargv","archived":false,"fork":false,"pushed_at":"2025-10-10T17:47:31.000Z","size":165,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T08:12:42.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://getargv.github.io/getargv.py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getargv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-01-28T08:11:36.000Z","updated_at":"2025-10-10T17:47:34.000Z","dependencies_parsed_at":"2023-11-28T21:35:03.645Z","dependency_job_id":"5cc2739e-d9e1-4773-b0a0-6ffc7c975688","html_url":"https://github.com/getargv/getargv.py","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/getargv/getargv.py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getargv","download_url":"https://codeload.github.com/getargv/getargv.py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-16T08:25:18.541Z","updated_at":"2026-01-16T08:25:18.629Z","avatar_url":"https://github.com/getargv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\u003cimg src=\"logo.svg\" width=\"200\" alt=\"getargv\"\u003e\u003c/h1\u003e\n\n[![Python package](https://github.com/getargv/getargv.py/actions/workflows/python-package.yml/badge.svg)](https://github.com/getargv/getargv.py/actions/workflows/python-package.yml)\n\nThis module uses libgetargv to obtain binary string representations of the arguments of other processes on macOS.\n\n## Motivation\n\nOn macOS you must use the KERN_PROCARGS2 sysctl to obtain other proc's args, however the returned representation is badly documented and a naive approach doesn't deal with leading empty args. libgetargv parses the results of the sysctl correctly, and this module provides Python bindings to libgetargv.\n\n## Installation\n\nInstall the module with pip by executing:\n\n    $ pip install getargv\n\n## Usage\n\n```python\nimport os\nimport getargv\ngetargv.as_bytes(os.getpid()) #=\u003e b'arg0\\x00arg1\\x00'\ngetargv.as_list(os.getpid()) #=\u003e [b'arg0',b'arg1']\n```\n\n## Development\n\nAfter checking out the repo, run `python setup.py build`. Then run `python setup.py install`. Then, run `python test.py` to run the tests. You can also run `python -i load.py` for an interactive prompt that will allow you to experiment. Python code goes in the file `src/getargv/__init__.py`, C code goes in the file `src/getargv/getargvmodule.c`.\n\nTo install this module onto your local machine, run `python setup.py build \u0026\u0026 python setup.py install`. To release a new version, update the version number in `pyproject.toml`, and then run `make upload-production`, which will create a git tag for the version, push git commits and the created tag, and push the `.whl` file to [pypi.org](https://pypi.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/getargv/getargv.py.\n\n## License\n\nThe module is available as open source under the terms of the [BSD 3-clause License](https://opensource.org/licenses/BSD-3-Clause).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetargv%2Fgetargv.py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetargv%2Fgetargv.py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetargv%2Fgetargv.py/lists"}