elastic-transport

v9.4.2 safe
2.4
Low Risk

Transport classes and utilities shared among Python Elastic client libraries

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

  • Test runner config found: setup.cfg
  • Test runner config found: conftest.py
  • 27 test file(s) detected (e.g. __init__.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://elastic-transport-python.readthedocs.io
  • Detailed PyPI description (1361 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

  • 125 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)

  • secure httpbin""" sock = socket.create_connection((httpbin_secure.host, httpbin_secure.port)) ctx = ssl.cr
  • eded. try: sock = socket.create_connection(("tls-v1-1.badssl.com", 1011)) ctx = ssl.SSLContext(
  • t__(). self.session = requests.Session() self.session.headers.clear() # Empty out all the
  • _cert) self.client = httpx.Client( base_url=f"{config.scheme}://{config.host}:{con
  • _cert) self.client = httpx.AsyncClient( base_url=f"{config.scheme}://{config.host}:{con
  • > None: """Creates an aiohttp.ClientSession(). This is delayed until the first call to perform_r
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • bytes(self): data = b"\xe4\xbd\xa0\xe5\xa5\xbd\xed\xa9\xaa" node = self._get_mock_node( NodeConfig
  • ("GET", "/") assert b"\xe4\xbd\xa0\xe5\xa5\xbd\xed\xa9\xaa" == data @pytest.mark.parametrize("_extras", [None, {}
  • bytes(self): data = b"\xe4\xbd\xa0\xe5\xa5\xbd\xed\xa9\xaa" con = self._get_mock_node( NodeConfig(
  • ("GET", "/") assert b"\xe4\xbd\xa0\xe5\xa5\xbd\xed\xa9\xaa" == data @pytest.mark.xfail @patch("elastic_transp
  • uda6a"}) == b'{"key":"\xe4\xbd\xa0\xe5\xa5\xbd\xed\xa9\xaa"}' ) assert JsonSerializer().loads( b'{"key
  • er().loads( b'{"key":"\xe4\xbd\xa0\xe5\xa5\xbd\xed\xa9\xaa"}' ) == {"key": "你好\uda6a"} # orjson is strict abo
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: elastic.co

✓ 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 "Elastic Client Library Maintainers" 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 elastic-transport
Build a simple Python application using the elastic-transport package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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