micro-sam

v2.0.1 safe
1.9
Low Risk

Segment Anything For Microscopy

📦 Package Quality Overall: Low (4.6/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://computational-cell-analytics.github.io/micro-sam/mic
  • Detailed PyPI description (8270 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 226 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • self.model = model.to(device).eval() self.device = device self.patch_size = spe
  • (state_dict) return model.eval() def _to_anyup_image(image: np.ndarray, device) -> torch.
  • el.image_encoder encoder.eval() input_ = torch.rand(1, 3, 1024, 1024) traced_model
  • ioImageIO uses. predictor.eval() input_ = util._to_image(image).transpose(2, 0, 1)[Non
  • 7.12, 57.375], ) sam.eval() if checkpoint is not None: with open(checkpoin
  • _context): self.model.eval() self.unetr.eval() input_check_done = Fals
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • ess try: result = subprocess.run([nvidia_smi, "-L"], capture_output=True, text=True, timeout=
  • rocess chip = subprocess.check_output(["sysctl", "-n", "machdep.cpu.brand_string"]).decode().strip
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ 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 "Anwai Archit, Paul Hilt, Genevieve Buckley, Constantin Pape" 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 micro-sam
Build a simple Python application using the micro-sam package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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