Skip to main content

A Python SDK for interacting with the NetOrca API

Project description

NetOrca SDK

The official Python SDK for the NetOrca API. Build automation pipelines, manage services, and integrate NetOrca into your CI/CD workflows with a clean, fully typed Python interface.


Installation

pip install netorca-sdk

Requirements: Python 3.8+


Client Initialisation

from netorca_sdk import NetOrcaClient

client = NetOrcaClient(
    fqdn="https://your-instance.netorca.io/v1",
    api_key="YOUR_API_KEY",
)

The context parameter controls which point-of-view the client operates from:

# Service owner context (default)
client = NetOrcaClient(fqdn="...", api_key="...", context="serviceowner")

# Consumer context
client = NetOrcaClient(fqdn="...", api_key="...", context="consumer")
Parameter Type Default Description
fqdn str required Base URL of your NetOrca instance
api_key str required Your NetOrca API key
context str "serviceowner" Point-of-view: "serviceowner" or "consumer"
verify_ssl bool True Verify SSL certificates on requests
verify_auth bool True Validate the API key on initialisation

Available Resources

Property Description
client.services Service catalogue
client.service_items Service item instances
client.deployed_items Deployed item records
client.change_instances Change requests and lifecycle events
client.service_configs Service configuration snapshots
client.charges Billing and charge records
client.applications Consumer applications
client.submissions Submission records
client.healthchecks Service healthcheck endpoints
client.webhooks Webhook registrations
client.ai_processors AI processor definitions
client.ai_documents AI context documents
client.pack_profiles Pack profile configurations
client.llm_models LLM model registrations

Full Documentation

docs.netorca.io/sdk_guide/introduction


License

MIT License

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

netorca_sdk-1.0.12.tar.gz (52.3 kB view details)

Uploaded Source

File details

Details for the file netorca_sdk-1.0.12.tar.gz.

File metadata

  • Download URL: netorca_sdk-1.0.12.tar.gz
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for netorca_sdk-1.0.12.tar.gz
Algorithm Hash digest
SHA256 2f26487349aa7b28fa5a4d7fc2156ae9aa9c3118a308f14a6afaf09fbc03adf5
MD5 0b3cc242923a857c3db1f48ffd8eae68
BLAKE2b-256 e6b35bac653aac855a1d210b1d7f771d7ee5139af16e785736d88ef880eed051

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