langtune

v0.1.54 safe
2.7
Low Risk

Efficient LoRA Fine-Tuning for Large Language Models - Train smarter, not harder.

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 5 test file(s) found

  • 5 test file(s) detected (e.g. test_api_contract.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/langtrain-ai/langtrain_langtune/tree/main
  • Detailed PyPI description (4829 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
  • 372 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 7.5

Found 5 network call pattern(s)

  • y try: response = requests.post(AUTH_ENDPOINT, params={"api_key": api_key}, timeout=10)
  • rn {} try: resp = requests.get(USAGE_ENDPOINT, headers={"X-API-Key": api_key}, timeout=5)
  • requests.post( f"{self.api_url}/api/v1/training/jobs/{self
  • port requests s = requests.Session() s.headers.update({ "X-API-Key"
  • request # response = requests.get(f"{self.API_URL}/worker/poll", headers={"Authorization": f"B
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • eval mode self.model.eval() self.model.to(self.device) def _compute_l
  • f._model.train(mode) def eval(self): return self._model.eval() def to(self, *
  • ): return self._model.eval() def to(self, *args, **kwargs): self._model =
  • del) else model inner.eval() torch.set_grad_enabled(False) return model
  • ()).device self.model.eval() @torch.no_grad() def generate( self,
  • efficiently.""" self.eval() was_checkpointing = self.use_gradient_checkpointin
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • ocess brand_raw = subprocess.check_output( ["sysctl", "-n", "machdep.cpu.brand_string"
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.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 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" 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 langtune
Build a simple Python application using the langtune package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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