Skip to main content

Turbine Python SDK

Minimal, sync-first Python client for the Turbine GraphQL API.

Getting started

pip install netrise-turbine-sdk

Also available via poetry add or uv add.

Create a .env in your project directory — TurbineClientConfig.from_env() loads it automatically (current directory, then parents):

endpoint=https://apollo.turbine.netrise.io/graphql/v3
audience=https://prod.turbine.netrise.io/
domain=https://authn.turbine.netrise.io
client_id=<client_id>
client_secret=<client_secret>
organization_id=<org_id>

Prefer plain environment variables? Set the same names and call TurbineClientConfig.from_env(load_env_file=False).

Need credentials? Contact support@netrise.io.

from netrise_turbine_sdk import TurbineClient, TurbineClientConfig

sdk = TurbineClient(TurbineClientConfig.from_env())

for asset in sdk.iter_assets(page_size=10, max_pages=1):
    print(asset.name, asset.risk.score)

Want the CLI and agent skill too? uv tool install netrise-turbine-cli, then turbine skill install.

Versioning and stability

  • netrise_turbine_sdk (the wrapper) is semver-stable: existing imports, method names, and call signatures do not break without an intentional minor/major bump.
  • netrise_turbine_sdk_graphql (generated) tracks the Turbine GraphQL schema. Fully typed; schema refreshes are guarded by API-surface snapshot tests and a schema-diff gate.

See CHANGELOG.md for release notes.

Documentation

Page Covers
Docs hub Quick start, level picker, operations index
Iterators Lite / Full / Summary, pagination
Filtering kwargs, where(), sorting
Custom GraphQL execute(), manual pagination
Errors Exception types and retries
Files and uploads list_files, upload_asset
Configuration Constructor, extra headers, lifecycle

Lite iterators cut response size for everyday work; Full and custom GraphQL cover the rest — details in the iterators and custom-GraphQL guides. Union field aliasing is covered under configuration.

License

See LICENSE.

Metadata

Release files for netrise-turbine-sdk 0.1.28

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

Source distribution (sdist)

Source distribution for netrise-turbine-sdk 0.1.28
File Size Uploaded Provenance Actions
netrise_turbine_sdk-0.1.28.tar.gz 156.4 kB Without provenance Details for netrise_turbine_sdk-0.1.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netrise-turbine-sdk 0.1.28
File Interpreter ABI Platform Actions
netrise_turbine_sdk-0.1.28-py3-none-any.whl Python 3 none any Details for netrise_turbine_sdk-0.1.28-py3-none-any.whl

Total release size: 414.0 kB

Release files / netrise_turbine_sdk-0.1.28.tar.gz

Download URL netrise_turbine_sdk-0.1.28.tar.gz
Size 156.4 kB
Tags Source
SHA-256 checksum
How to use checksums
335fe80b57030db0198cab392cfb3ce09609b86a683db93813d4cbf1848683a1
BLAKE2b-256 checksum
How to use checksums
74d5bb8db0c4e97d53e0d29138bcd5b695591bf0f99df4be66fecda4ea18a40e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / netrise_turbine_sdk-0.1.28-py3-none-any.whl

Download URL netrise_turbine_sdk-0.1.28-py3-none-any.whl
Size 257.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e0c7c55009600d03c12dc8cf505f4024ae9c9e3aba3af6d272ecde2192169e6
BLAKE2b-256 checksum
How to use checksums
a8d137821e1fdffa8922328a4c6da4eb7be67f6a65382d369e22666d58e6ebec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for netrise-turbine-sdk 0.1.28

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.

Release history Release notifications | RSS feed

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