mocka-api

v0.1.0 safe
1.8
Low Risk

Spin up a fake REST API from a dict or preset — for testing and prototyping

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 6 test file(s) found

  • Test runner config found: pyproject.toml
  • 6 test file(s) detected (e.g. test_api.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/MohitDhaker07/mocka-api-v1-1.0.01#readme
  • Detailed PyPI description (7183 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

  • Type checker (mypy / pyright / pytype) referenced in project
  • 154 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)

  • import requests r = requests.get(f"{base_url}/users") assert r.json()["data"][0]["nam
  • ith("http://") resp = requests.get(f"{base_url}/users") assert resp.status_code == 200
  • st.raises(Exception): requests.get(f"{base_url}/users", timeout=1) # ------------------------
  • art() try: resp = requests.get(f"{base_url}/users") assert resp.status_code == 200
  • ) as base_url: resp = requests.get(f"{base_url}/users") data = resp.json() asse
  • url1 != url2 r1 = requests.get(f"{url1}/users") r2 = requests.get(f"{url2}/prod
✓ Code Obfuscation

No obfuscation patterns detected

✓ 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: example.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 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 mocka-api
Build a simple Python application using the mocka-api package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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