c8y-api

v3.7.3 safe
2.3
Low Risk

Python microservice and application client for the Cumulocity REST API

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 15 test file(s) found

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

Well-documented package

  • Documentation URL: "Documentation" -> https://cumulocity-python-api.readthedocs.io/en/latest/
  • 2 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (3670 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

  • 450 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 7.5

Found 5 network call pattern(s)

  • tfa_token} response = requests.post(url=url, data=form_data, timeout=60.0) if response.s
  • requests.Session: s = requests.Session() s.auth = self.auth s.headers = {'Accept':
  • quest_json) session = requests.Session() timeout_time = time.time() + timeout_s whi
  • th.password } r = requests.post(url=c8y.base_url + '/tenant/oauth', data=form_data, timeout=
  • word } response = requests.post(url=c8y.base_url + '/tenant/oauth', data=form_data, timeout=
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • """ decoded = base64.b64decode(bytes(auth_value, 'utf-8')) parts = [x.decode('utf-8
  • self._body = json.loads(base64.b64decode(body)) return self._body @property def user
  • y_instance: mod = __import__('c8y_api.model.inventory') self._inventory_instance = mod.model.Inventory(
✓ Shell / Subprocess Execution

No shell execution patterns detected

⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • if secret: return getpass.getpass(prompt) return input(prompt) def __init__(self)
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.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 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 c8y-api
Build a simple Python application using the c8y-api package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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