opensr-utils

v2.1.0 safe
2.7
Low Risk

Utilities supporting the ESA opensr-model package for Super-Resolution of Sentinel-2 Imagery

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 26 test file(s) found

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

Some documentation present

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

  • 40 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 1.5

Found 1 network call pattern(s)

  • nfig_10m.yaml" response = requests.get(config_url, timeout=30) response.raise_for_status()
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • nput_bands, ) adapter.eval() return adapter.to(torch.device(device)) # Friendly a
  • tningModule ✅") model.eval() elif isinstance(model, torch.nn.Module): self.
  • (model) wrapped_model.eval() model = wrapped_model elif model is None:
  • or) placeholder_model.eval() model = placeholder_model else: raise
  • equested_device) self.eval() def _register_hard_constraint_masks(self) -> None:
  • d return model.to(target).eval() def load_sen2sr( model_dir: str | Path | None = None
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • "output.tif" completed = subprocess.run( [ sys.executable, "-m",
  • ath / "mpl")) completed = subprocess.run( [sys.executable, "-c", script, str(raster), str(tem
  • model_imports(): result = subprocess.run( [sys.executable, str(ROOT / "examples" / "run_model
  • ldsrs2.py"): result = subprocess.run( [sys.executable, str(ROOT / "examples" / script
  • eshape(1, 4, 4)) result = subprocess.run( [ sys.executable, str(ROOT
  • cript, options): result = subprocess.run( [sys.executable, str(ROOT / "examples" / script), *
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: donike.net

✓ 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 "Simon Donike, Cesar Aybar, Luis Gomez Chova, Freddie Kalaitzis" 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 opensr-utils
Build a simple Python application using the opensr-utils package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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