{"id":13725531,"url":"https://github.com/google/python-subprocess32","last_synced_at":"2025-10-03T16:31:43.915Z","repository":{"id":57472092,"uuid":"46130165","full_name":"google/python-subprocess32","owner":"google","description":"A backport of the Python 3 subprocess module for use on Python 2.","archived":true,"fork":false,"pushed_at":"2020-06-16T21:50:27.000Z","size":261,"stargazers_count":173,"open_issues_count":2,"forks_count":46,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-09-03T06:36:17.027Z","etag":null,"topics":["backport","posix-platforms","python2","subprocess"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/subprocess32/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-13T15:32:09.000Z","updated_at":"2025-08-03T19:06:28.000Z","dependencies_parsed_at":"2022-08-30T15:11:49.398Z","dependency_job_id":null,"html_url":"https://github.com/google/python-subprocess32","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/google/python-subprocess32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpython-subprocess32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpython-subprocess32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpython-subprocess32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpython-subprocess32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/python-subprocess32/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpython-subprocess32/sbom","scorecard":{"id":437751,"data":{"date":"2025-08-11","repo":{"name":"github.com/google/python-subprocess32","commit":"b63954f56166eca312afb70b6d3a4af1128f81f3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/30 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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating quay.io/pypa/manylinux2014_x86_64 to quay.io/pypa/manylinux2014_x86_64@sha256:5321aa91c18d971ffbd4ac4d0f61044600d32d5d705ed9af8a66b1f5017b6765","Info:   0 out of   1 containerImage 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":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 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-19T05:04:09.156Z","repository_id":57472092,"created_at":"2025-08-19T05:04:09.156Z","updated_at":"2025-08-19T05:04:09.156Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274295251,"owners_count":25258576,"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-09-09T02:00:10.223Z","response_time":80,"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":["backport","posix-platforms","python2","subprocess"],"created_at":"2024-08-03T01:02:26.265Z","updated_at":"2025-10-03T16:31:43.897Z","avatar_url":"https://github.com/google.png","language":"Python","readme":"subprocess32\n------------\n[![PyPI version](https://badge.fury.io/py/subprocess32.svg)](https://badge.fury.io/py/subprocess32)\n[![POSIX Build Status](https://travis-ci.org/google/python-subprocess32.svg?branch=master)](https://travis-ci.org/google/python-subprocess32)\n[![Windows Build Status](https://ci.appveyor.com/api/projects/status/53apbb2jk1uslj0m?svg=true\n)](https://ci.appveyor.com/project/gpshead/python-subprocess32)\n\nThis is a backport of the Python 3 subprocess module for use on Python 2.\nThis code has not been tested on Windows or other non-POSIX platforms.\n\nsubprocess32 includes many important reliability bug fixes relevant on\nPOSIX platforms.  The most important of which is a C extension module\nused internally to handle the code path between fork() and exec().\nThis module is reliable when an application is using threads.\n\nRefer to the\n[Python 3.5 subprocess documentation](https://docs.python.org/3.5/library/subprocess.html)\nfor usage information.\n\n* Timeout support backported from Python 3.3 is included.\n* The run() API from Python 3.5 was backported in subprocess32 3.5.0.\n* Otherwise features are frozen at the 3.2 level.\n\nUsage\n-----\n\nThe recommend pattern for cross platform code is to use the following:\n\n```python\nif os.name == 'posix' and sys.version_info[0] \u003c 3:\n    import subprocess32 as subprocess\nelse:\n    import subprocess\n```\n\nOr if you fully control your POSIX Python 2.7 installation, this can serve\nas a replacement for its subprocess module.  Users will thank you by not\nfiling concurrency bugs.\n\nGot Bugs?\n---------\n\nTry to reproduce them on the latest Python 3.x itself and file bug\nreports on [bugs.python.org](https://bugs.python.org/).\nAdd gregory.p.smith to the Nosy list.\n\nIf you have can prove that the issue is specifically with this backport and not\na problem in Python 3 itself, feel free to use the github issue tracker for\nothers to collaborate with you on a fix, but do not expect any support.\n\nPython 2 has reached EOL, as has this project.\n\n-- Gregory P. Smith  _greg@krypto.org_  [Google LLC]\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fpython-subprocess32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fpython-subprocess32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fpython-subprocess32/lists"}