novelai-sdk

v0.16.0 safe
2.5
Low Risk

A Python SDK library for the NovelAI API with validation powered by Pydantic

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 10 test file(s) found

  • 10 test file(s) detected (e.g. _multipart.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://caru-ini.github.io/novelai-sdk/
  • Detailed PyPI description (11507 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 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 194 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)

  • timeout self.client = httpx.Client( timeout=timeout, headers={"Authoriz
  • timeout self.client = httpx.AsyncClient( timeout=timeout, headers={"Authoriz
  • ient.close() api.client = httpx.Client(transport=_mock_handler(captured), headers=headers) retu
  • aclose() api.client = httpx.AsyncClient( transport=_mock_handler(captured), headers=head
  • ient.close() api.client = httpx.Client( transport=_mock_handler(captured, image_count), hea
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • files[name] = ("blob", base64.b64decode(data), "image/png") return part_names[data]
  • 64 string image = base64.b64decode(image.split(",")[1]) else: # File path
  • try: img_data = base64.b64decode(b64_image) with BytesIO(img_data) as buf:
  • = PILImageModule.open(BytesIO(base64.b64decode(b64_image))) if img.size == target_size: return
  • . return to_pil_image(base64.b64decode(encoded)).size def calculate_anlas(self, *, is_opus: bo
  • e64 Image.open(io.BytesIO(base64.b64decode(request.image))) def test_explicit_size_is_kept() -> None:
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ 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 novelai-sdk
Build a simple Python application using the novelai-sdk package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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