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.15.0.dev288.tar.gz (113.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.15.0.dev288-py3-none-any.whl (179.0 kB view details)

Uploaded Python 3

File details

Details for the file convexity_sdk-0.15.0.dev288.tar.gz.

File metadata

  • Download URL: convexity_sdk-0.15.0.dev288.tar.gz
  • Upload date:
  • Size: 113.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.15.0.dev288.tar.gz
Algorithm Hash digest
SHA256 d0667f52528c741cadbc11ab9cb10fd1378b04a5ef83be2ecac1daba76da8c2e
MD5 2ccbaa91993daac5481a47252c01426c
BLAKE2b-256 e9888be1fecd6b50a5f68d950e0e729b8a367e6b6cd215ffc0107dfcb271aa78

See more details on using hashes here.

Provenance

The following attestation bundles were made for convexity_sdk-0.15.0.dev288.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.15.0.dev288-py3-none-any.whl.

File metadata

File hashes

Hashes for convexity_sdk-0.15.0.dev288-py3-none-any.whl
Algorithm Hash digest
SHA256 b82db72c6befd9cb510f2e33f8cd0ea06839ec32ce595a0a85a8923a585e523e
MD5 1ce5de822df3b1b69db2a40169bcc599
BLAKE2b-256 4f3f701ae1428a4b9a5360c1cdaeb1ce7f8da1b931997ebbb30d617c7868658e

See more details on using hashes here.

Provenance

The following attestation bundles were made for convexity_sdk-0.15.0.dev288-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