pretext

v2.57.0 safe
3.0
Low Risk

A package to author, build, and deploy PreTeXt projects.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 8 test file(s) found

  • Test runner config found: pyproject.toml
  • 8 test file(s) detected (e.g. common.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (9155 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 5.0

Partial type annotation coverage

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

  • ion), exist_ok=True) with urllib.request.urlopen(url, context=_SSL_CONTEXT) as response, open(destina
  • ds/main/version.txt" with urllib.request.urlopen(docker_version_url) as response: docker_vers
  • ract to directory r = requests.get(url_template) archive = zipfile.ZipFile(io.BytesIO(r
  • y: response = requests.get( f"https://api.github.com/repos/{repo_us
  • " try: response = requests.get(url, timeout=1) # 1 second timeout; not critical. r
  • : services_response = requests.get(url, timeout=(1,10), headers=headers) except requests.ex
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • pretext_cmd = "pretext" subprocess.run([sys.executable, "-m", "pip", "install", "--upgrade", pretex
  • e pretext script. """ subprocess.run( [ sys.executable, str(resou
  • server") server_process = subprocess.Popen( [sys.executable, "-m", "http.server", str(port)], c
  • try: result = subprocess.run( [npm_cmd, "install"], cwd=shim_dir, capture
  • ne try: result = subprocess.run( jing_command + [str(schema_file), str(source_fi
  • e usually define. """ subprocess.Popen( f"python -m http.server {port}", shell=True
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://buzzard.ups.edu/
⚠ 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 pretext
Build a simple Python application using the pretext package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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