codeflare-sdk

v0.40.1 safe
2.7
Low Risk

Python SDK for codeflare client

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

  • Test runner config found: pyproject.toml
  • Test runner config found: conftest.py
  • 19 test file(s) detected (e.g. test_auth.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (4445 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 5.0

Partial type annotation coverage

  • 108 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 9.0

Found 6 network call pattern(s)

  • ready response = requests.get( dashboard_uri, headers=self
  • se None, cpu_requests=requests.get("cpu", 0), cpu_limits=limits.get("cpu", 0),
  • , 0), memory_requests=requests.get("memory", 0), memory_limits=limits.get("memory", 0),
  • cpu_requests=details.requests.get("cpu", 0), cpu_limits=details.limits.get("cpu", 0),
  • memory_requests=details.requests.get("memory", 0), memory_limits=details.limits.get("memo
  • worker_cpu_requests = requests.get("cpu", 0) worker_memory_limits = limits.get("mem
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • 509.load_pem_x509_certificate(base64.b64decode(ca_cert)) ca_private_key = serialization.load_pem_priva
  • lization.load_pem_private_key(base64.b64decode(ca_key), None) # Write CA certificate with secure permi
  • h, "w") as f: f.write(base64.b64decode(ca_cert).decode("utf-8")) os.chmod(ca_crt_path, stat.S_I
  • t = load_pem_x509_certificate(base64.b64decode(certificate)) private_key = load_pem_private_key(base64.
  • te_key = load_pem_private_key(base64.b64decode(key), password=None) private_pub_key_bytes = private_key
  • fake_go_ski = ( b"\xf3\x3f\x71\x69\x34\x38\xe7\x0c\x4f\x76" b"\xd8\x9b\xbb\x64\xea\x9d\xd5\x01\xd6\x08" )
✓ Shell / Subprocess Execution

No shell execution patterns detected

⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • -run") STORAGE_PATH = f"s3://{os.environ.get('AWS_S3_BUCKET', 'my-bucket')}/ray-checkpoints/{CHECKPOINT_PREFIX
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: redhat.com

✓ 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 "Michael Clifford" 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 codeflare-sdk
Build a simple Python application using the codeflare-sdk package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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