Skip to main content

NeuroCLI Python SDK

The official Python library for the NeuroCLI API.

Installation

You can install this SDK locally:

pip install -e .

Usage

The SDK mimics the standard OpenAI Python client interface, making it extremely easy to drop into existing AI applications.

Basic Chat Completion

import neurocli

# Initialize the client
client = neurocli.NeuroCLI(
    api_key="ncli_YOUR_SECRET_KEY",
    # During local testing, point this to your local server:
    # base_url="http://127.0.0.1:8000/api/ai" 
)

# Generate a response
response = client.chat.completions.create(
    model="meta/llama-3.1-8b-instruct",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms."}
    ],
    temperature=0.7
)

print(response.choices[0].message.content)

Metadata

Release files for neurocli-sdk 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neurocli-sdk 0.2.1
File Size Uploaded Provenance Actions
neurocli_sdk-0.2.1.tar.gz 4.2 kB Without provenance Details for neurocli_sdk-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neurocli-sdk 0.2.1
File Interpreter ABI Platform Actions
neurocli_sdk-0.2.1-py3-none-any.whl Python 3 none any Details for neurocli_sdk-0.2.1-py3-none-any.whl

Total release size: 8.3 kB

Release files / neurocli_sdk-0.2.1.tar.gz

Download URL neurocli_sdk-0.2.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
321f3f4cf27f8b29b222983b6ca9f22b4e9b0c1c6f73e7c02201b75049296fed
BLAKE2b-256 checksum
How to use checksums
582788e2a29f3e2b20592bd0e0467698688d15f61fe85804f20577e5c7fe3cc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / neurocli_sdk-0.2.1-py3-none-any.whl

Download URL neurocli_sdk-0.2.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1a5a2b1aa6e65c72e19c10c983c9c05e599e031e4305c138a707224170ef883
BLAKE2b-256 checksum
How to use checksums
a46991f9b2a16c31d4893ccc944eec842523dc586977b4d6a2d65b6adbfdf337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for neurocli-sdk 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page