Skip to main content

Official Python SDK for the Nimbus API

Project description

nimbus-sdk

Official Python SDK for Nimbus -- autonomous software engineering.

Install

pip install nimbus-sdk

Usage

from nimbus_sdk import NimbusClient

client = NimbusClient(api_key="nk_...")

# Run a task
task = client.tasks.run(
    description="add rate limiting to /api/upload",
    repo="acme/api"
)
task.wait()
print(task.pr_url)

# Run a built-in agent
task = client.agents.run("security-audit", repo="acme/api")
task.wait()

# Search your codebase
results = client.search.query("where is rate limiting handled", repo="acme/api")
for r in results:
    print(r.path, r.score)

# List available agents
for agent in client.agents.list(category="security"):
    print(agent.name, agent.description)

Async support

import asyncio
from nimbus_sdk import NimbusClient

async def main():
    async with NimbusClient(api_key="nk_...") as client:
        task = client.tasks.run("add tests for auth module", repo="acme/api")
        await task.async_wait()
        print(task.pr_url)

asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nimbus_sdk-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nimbus_sdk-1.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file nimbus_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: nimbus_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for nimbus_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6a668f62cad58facc4d8e0123cf0f1bb5ab46bf5f1b86f62167ce063f36d6bb6
MD5 ac6e68ebb7d746938f4c3766c926df86
BLAKE2b-256 3553e71f7fcb8a26bffe97c7d7e0e641b16b59e1396c174eef85687415437bb0

See more details on using hashes here.

File details

Details for the file nimbus_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nimbus_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for nimbus_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e98836fbdd97a1a2906d9ea42f6ab4bdc9a47f0236dd8f8f6cd2c741f3587ac
MD5 948d1d04eb266172d5df4f4d5a513e2b
BLAKE2b-256 57c28d4c28c112c82f6c26f56af7949eaab3a5457cad2cf5bb9110b918531497

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page