py4web

v1.20261107.1 safe
3.7
Low Risk

A fast, stable, comprehensive web framework

📦 Package Quality Overall: Medium (5.8/10)

✦ High Test Suite 9.0

Test suite present — 14 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://py4web.com
  • Detailed PyPI description (9768 chars)
◈ Medium Contributing Guide 7.0

Some contribution signals present

  • Governance file: security.py
◈ Medium Type Annotations 5.0

Partial type annotation coverage

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

  • ic " + key} request = urllib.request.Request(self.server, None, headers) try:
  • ers) try: urllib.request.urlopen(request) return True except (url
  • lication/json"} res = requests.post(self.token_url, data=data, headers=headers) output =
  • the token # res = requests.get(self.userinfo_url, headers=headers) data = jwt.d
  • s" % token} res = requests.get(self.userinfo_url, headers=headers) data = res.j
  • revoke(self, token): requests.post(self.revoke_url, data=dict(token=token)) import base64 impo
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • n(function(res){if(res.data)Q.eval(res.data);});this.classList.add("clicked")'
  • ################## __ssl__ = __import__("ssl") _ssl = getattr(__ssl__, "_ssl", None) or getattr(__ssl__, "
  • ression_level: data = zlib.decompress(data) return json.loads(data.decode()) def initialize_
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • if ( subprocess.run( ["ls", "-alFi", "socket_path"], she
  • if port == 1: subprocess.run( "ps -ef | head -1; ps -ef | grep py4web
  • ) subprocess.run(["ls", "-alFi", socket_path], shell=False, check=False)
  • check=False) subprocess.run(["lsof", "-w", socket_path], shell=False, check=False)
  • errno.EADDRINUSE: subprocess.run( f"command -v lsof >/dev/null 2>&1 && ps -ef
  • memcache_process = subprocess.Popen(["memcached", "-p", "11211"]) except: pr
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • thenticate(getpass.getuser(), getpass.getpass())) from .pam import authenticate class PamPlugin: na
✓ 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 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with py4web
Build a simple Python application using the py4web package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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