src-py-lib

v0.3.4 safe
1.9
Low Risk

Reusable libraries for Sourcegraph projects

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 5 test file(s) found

  • 5 test file(s) detected (e.g. test_import.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (2640 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • Type checker (mypy / pyright / pytype) referenced in project
  • 252 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 score 1.5

Found 1 network call pattern(s)

  • st 1") self._client = httpx.Client( timeout=self.timeout, limits=httpx.
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ID.""" try: raw = base64.b64decode(graphql_id, validate=True).decode() except (ValueError,
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • c]) try: result = subprocess.run(command, capture_output=True, text=True, timeout=5, check=Fa
  • le) try: result = subprocess.run( ["gcloud", "auth", "application-default", "prin
  • .""" try: subprocess.run([self.op_binary, "signin"], check=True) except FileN
  • try: result = subprocess.run( [self.op_binary, "whoami", "--format", "jso
  • try: result = subprocess.run( [self.op_binary, "read", secret_ref],
  • """ try: result = subprocess.run( ["git", "rev-parse", "--short", "HEAD"],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

⚠ 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 "Sourcegraph" 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 src-py-lib
Build a simple Python application using the src-py-lib package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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