Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Sharketo Python SDK

Server-side Python 3.11+ client for Sharketo developer APIs. Supported products include Index Inventory, prices, daily inventory history, expiry flow, Seasonality, CTA Flow, RRG, crypto inventory, Dealer Exposures and curated Volatility.

Version 0.1.14b3 matches the bundled coding-agent skill. SDK installation does not grant API access or establish live product availability. Obtain authorized credentials and approval for live use separately. All SDK Developer data access requires effective Apex access, including live prices and get_access() diagnostics. A usable API key or Pro portal/integration access alone does not grant Developer data access. The server evaluates effective access, including valid existing grants; other access requirements and service availability still apply.

Install and try it offline

In your application's Python 3.11+ virtual environment, install the SDK from PyPI:

python -m pip install --index-url https://pypi.org/simple/ sharketo-sdk==0.1.14b3
python -m sharketo.quickstart

Use an environment without configured extra package indexes. If the matching release is unavailable on PyPI, stop and report the unavailable version. Do not substitute another version, package index or source checkout.

For a uv project, use uv add --default-index https://pypi.org/simple/ sharketo-sdk==0.1.14b3, then uv run python -m sharketo.quickstart.

The quickstart uses invented data through an in-memory HTTP transport. It reads no credentials, opens no network sockets and does not validate API entitlements or service health.

Configure an authorized application

Constructors take an explicit server-side key and do not read environment variables:

from sharketo import SharketoClient


def read_summary(api_key, ticker):
    with SharketoClient(api_key) as client:
        return client.index_inventory.get_summary(ticker)

Omitted/None api_url selects https://api.sharketo.com. AsyncSharketoClient(api_key) uses that API and wss://socket.sharketo.com/v1/ws; use async with and await HTTP methods. A custom API alone is HTTP-only: subscribing raises ValueError until an explicit websocket_url is supplied. A custom WebSocket URL with an omitted/None API URL raises ValueError. Explicit API/WS pairs are accepted without inferring hosts or ports.

For environment-based switching, provision SHARKETO_API_KEY through server-side secret tooling, then use SharketoClient.from_env() or AsyncSharketoClient.from_env() in the corresponding context manager. Both read SHARKETO_API_KEY/SHARKETO_API_URL once at construction; only the async factory reads SHARKETO_WEBSOCKET_URL. Missing URL variables use defaults; a missing/invalid key or blank/invalid URL variable raises ValueError. The factories accept constructor limits/transport options, but no key/endpoint overrides; use constructors for explicit values.

Leave both URL variables unset for production defaults. Use overrides only for a configuration supplied by Sharketo, with a key authorized for that service. Environment changes affect new clients only. The SDK does not scan dotenv files or fall back to production on failure. HTTPS/WSS retain verified TLS; plain HTTP/WS are loopback-only.

Optional coding-agent skill

The package bundles version-matched SDK usage guidance and synthetic examples. Installation into an agent is explicit; pip does not change agent configuration. If a matching skill is already installed, use it without creating a duplicate.

From your application directory, with the SDK's Python environment active:

python -m sharketo.skills install --agent claude-code --scope project

Use --agent codex instead for Codex. Run python -m sharketo.skills --help for installation and export options. Installing the skill does not install Python dependencies, configure credentials or grant API access. Keep credentials in server-side environment/secret storage, not source code or agent instructions.

Distribution and license

Distributions contain the SDK source, bundled usage guides and synthetic fixtures, plugin resources, license and package/build metadata.

SDK and bundled skill code are MIT-licensed. This license does not grant access to Sharketo services.

Metadata

Release files for sharketo-sdk 0.1.14b3

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

Source distribution (sdist)

Source distribution for sharketo-sdk 0.1.14b3
File Size Uploaded Provenance
sharketo_sdk-0.1.14b3.tar.gz 113.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sharketo-sdk 0.1.14b3
File Interpreter ABI Platform
sharketo_sdk-0.1.14b3-py3-none-any.whl Python 3 none any Details

Total release size: 251.6 kB

Release files / sharketo_sdk-0.1.14b3.tar.gz

Download URL sharketo_sdk-0.1.14b3.tar.gz
Size 113.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4c528ec1eb6bc72ce7a74d26a61ef92003d044dcdda8a402f0544ca6a916953e
BLAKE2b-256 checksum
How to use checksums
1efffb2ce9f46ecc50314b5b1e03782340ca61f8142116e07bbbbe08bb75037b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / sharketo_sdk-0.1.14b3-py3-none-any.whl

Download URL sharketo_sdk-0.1.14b3-py3-none-any.whl
Size 138.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8623d1c1b67fa25a35cee00b827ccc0055c575b60e93265dcb27d95b153c06a2
BLAKE2b-256 checksum
How to use checksums
ccc65704395d7a9bbba35f0d57c7ebdf976833644afe31206b06f018fe249e81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for sharketo-sdk 0.1.14b3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sharketo_sdk-0.1.14b3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

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

This release
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