swh.core

v5.1.0 safe
2.1
Low Risk

Software Heritage core utilities

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 26 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: conftest.py
  • Test runner config found: conftest.py
  • 26 test file(s) detected (e.g. server_testing.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://docs.softwareheritage.org/devel/swh-core/
  • 1 documentation file(s) (e.g. conf.py)
  • Brief PyPI description (292 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

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

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • l requests.get like: requests.get('https://example.org/path/to/resource?a=b&c=d') will lo
  • l requests.get like: requests.get('http://example.org/path/to/resource?a=b&c=d') will loo
  • l requests.get like: requests.get('http://example.org/') will look for the content of the
  • _type self.session = requests.Session() adapter = requests.adapters.HTTPAdapter(
  • json"}, ) response = requests.get("https://example.org/test/data") assert decode_response(
  • vents_url: response = requests.get( sentry_issue_events_url, headers={"Authorizatio
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ny]) -> Exception: temp = __import__(exc_dict["module"], fromlist=[exc_dict["type"]]) try: return getattr(temp, exc_dict["type"])(*ex
⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • m %s)", dbname, template) subprocess.check_call( [ "psql", "--quiet",
  • o}") try: subprocess.run( psql_command + ["-f", str(sqlfile)], check=
  • ues ('{flavor}')" subprocess.check_call(psql_command + ["-c", query]) flavor_set = True
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: inria.fr>

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" 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 swh.core
Build a simple Python application using the swh.core package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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