gliclass

v0.1.22 safe
2.6
Low Risk

Generalist and Lightweight Model for Text Classification

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 13 test file(s) found

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

Some documentation present

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

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

  • (body).encode() request = urllib.request.Request(url, data=data, headers={"Content-Type": "applicatio
  • "POST") try: with urllib.request.urlopen(request, timeout=120) as response: retur
  • t(url): try: with urllib.request.urlopen(url, timeout=60) as response: return res
  • dapter_id response = requests.post(self.url, json=payload, timeout=30) response.raise_f
  • else None response = requests.get(f"{self.url}/adapter-cache", params=params, timeout=30)
  • try: response = requests.get(f"{self.url}/v1/health", timeout=5) return respo
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • m tqdm import tqdm model.eval() examples = [] iterator = tqdm(dataloader, desc="Co
  • keys. """ calibrator.eval() variants = ["uncalibrated", "calibrated"] + (["global_
  • val_nll(): calibrator.eval() total, count = 0.0, 0 with torch.no_grad()
  • ct(best_state) calibrator.eval() return calibrator from transformers import AutoConfig
  • inference self.model.eval() def _normalize_classification_type(self, classificati
  • rch_dtype) self.model.eval() if config.enable_polylora: self._initi
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ 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 4.0

2 maintainer concern(s) found

  • Author "knowledgator.com" 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 gliclass
Build a simple Python application using the gliclass package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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