pytest-subprocess

v1.6.0 safe
2.3
Low Risk

A plugin to fake subprocess for pytest

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 8 test file(s) found

  • Test runner config found: conftest.py
  • 8 test file(s) detected (e.g. conftest.py)
  • Classifier: Framework :: Pytest
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://pytest-subprocess.readthedocs.io
  • 1 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (28167 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 58 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ase class that fakes the real subprocess.Popen()""" stdout: Optional[BUFFER] = None stderr: Option
  • d will be used instead of the subprocess.Popen()""" process = cls.__dispatch(command) if p
  • hese would match: subprocess.run(["cmake", "-S/tmp/src", "-B/tmp/build"]) subproc
  • "-B/tmp/build"]) subprocess.run(["cmake", "-S/other/src", "-B/other/build"]) #
  • missing args): # subprocess.run(["cmake", "-B/tmp/build", "-S/tmp/src"]) Args:
  • r_subprocess(cmd) proc = subprocess.run(cmd, check=True) assert proc.args == cmd assert isi
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: aklajnert.pl

⚠ Suspicious Page Links score 8.0

Found 4 suspicious link(s) on the package page

  • Non-HTTPS external link: http://opensource.org/licenses/MIT
  • Non-HTTPS external link: http://opensource.org/licenses/BSD-3-Clause
  • Non-HTTPS external link: http://www.gnu.org/licenses/gpl-3.0.txt
  • Non-HTTPS external link: http://www.apache.org/licenses/LICENSE-2.0
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Andrzej Klajnert" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with pytest-subprocess
Build a simple Python application using the pytest-subprocess package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!