postrule

v1.3.0 safe
2.6
Low Risk

Self-taught classifiers. Graduated-autonomy classification primitive: start as a rule, graduate to ML when evidence justifies it.

๐Ÿ“ฆ Package Quality Overall: Medium (6.0/10)

โœฆ High Test Suite 9.0

Test suite present โ€” 3 test file(s) found

  • Test runner config found: pyproject.toml
  • Test runner config found: pyproject.toml
  • 3 test file(s) detected (e.g. test_admin_mcp.py)
โœฆ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://github.com/b-tree-labs/postrule/tree/main/docs
  • 2 documentation file(s) (e.g. build_dmlr.py)
  • Detailed PyPI description (29405 chars)
โ—‹ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
โ—ˆ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • Type checker (mypy / pyright / pytype) referenced in project
  • 210 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)

  • oken: str) -> None: req = urllib.request.Request( _kv_put_url(account_id, namespace_id, key),
  • n", }, ) with urllib.request.urlopen(req, timeout=15) as resp: if resp.status not
  • or 0 if absent.""" req = urllib.request.Request( _kv_get_url(account_id, namespace_id, key),
  • , ) try: with urllib.request.urlopen(req, timeout=10) as resp: payload = json
  • ost.""" try: with urllib.request.urlopen( # noqa: S310 โ€” local URL only "http://
  • out_s self._session = requests.Session() self._session.headers.update({"X-Dashboard-Token":
โš  Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • r) -> str: if eval(expr): return "true" ret
โš  Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • v_flag.split()) result = subprocess.run( cmd, capture_output=True, text=True
  • """ try: result = subprocess.run( ["git", "rev-parse", "--short", "HEAD"],
  • continue proc = subprocess.run( [ "gcloud", "se
  • (" ยท npm install โ€ฆ") subprocess.run(["npm", "install"], cwd=HERE, check=True) def main() -> in
  • production build โ€ฆ") subprocess.run(["npm", "run", "build"], cwd=HERE, env=env, check=True)
  • , str(args.port)] return subprocess.run(cmd, cwd=HERE, env=env).returncode if __name__ == "__main_
โœ“ Credential Harvesting

No credential harvesting patterns detected

โœ“ Typosquatting

No typosquatting candidates detected

โœ“ Registered Email Domain

Email domain looks legitimate: b-treeventures.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 "B-Tree Labs" 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 postrule
Build a simple Python application using the postrule package to demonstrate its core features.

๐Ÿ’ฌ Discussion Feed

Leave a comment

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