Skip to main content

Convexity Python SDK - programmatic access to the Convexity platform

Project description

Convexity SDK

Python SDK for the Convexity platform.

Installation

pip install convexity-sdk

Usage

import convexity_sdk

client = convexity_sdk.ConvexityClient(api_key="cvx_...")

# List user-scoped API keys
keys = client.api_keys.list()

# Create a key with explicit scopes
created = client.api_keys.create(
	name="automation",
	scopes={"org": "READ", "project": "WRITE"},
)

# Rotate/revoke by key ID
rotated = client.api_keys.rotate(created.id)
client.api_keys.revoke(created.id)

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

convexity_sdk-0.21.0.dev326.tar.gz (117.4 kB view details)

Uploaded Source

Built Distribution

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

convexity_sdk-0.21.0.dev326-py3-none-any.whl (184.9 kB view details)

Uploaded Python 3

File details

Details for the file convexity_sdk-0.21.0.dev326.tar.gz.

File metadata

  • Download URL: convexity_sdk-0.21.0.dev326.tar.gz
  • Upload date:
  • Size: 117.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for convexity_sdk-0.21.0.dev326.tar.gz
Algorithm Hash digest
SHA256 237d11447032d5c2f8f38d2a3217ec7a899820c1ad2cb083c9de649f1ae1946d
MD5 6a1261f147ec895c675b0156a0fc3794
BLAKE2b-256 5ed2f50009b9242556a60ae8a4f3967111b5030bd2e81d674d19fb1a9437b75e

See more details on using hashes here.

Provenance

The following attestation bundles were made for convexity_sdk-0.21.0.dev326.tar.gz:

Publisher: publish-packages.yml on convexity-optimization/convexity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file convexity_sdk-0.21.0.dev326-py3-none-any.whl.

File metadata

File hashes

Hashes for convexity_sdk-0.21.0.dev326-py3-none-any.whl
Algorithm Hash digest
SHA256 297ef6859d88266e92b87eb7107d8ec20cefea1a125422588cc3c0ece7b5dd8d
MD5 d0b35e2aba816b335ace0568a2243054
BLAKE2b-256 04702d2563c0befc13b7c79383fe1d181b3631caad1910fea77b32b7215d6e85

See more details on using hashes here.

Provenance

The following attestation bundles were made for convexity_sdk-0.21.0.dev326-py3-none-any.whl:

Publisher: publish-packages.yml on convexity-optimization/convexity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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