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.9.3.dev182.tar.gz (24.8 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.9.3.dev182-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file convexity_sdk-0.9.3.dev182.tar.gz.

File metadata

  • Download URL: convexity_sdk-0.9.3.dev182.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for convexity_sdk-0.9.3.dev182.tar.gz
Algorithm Hash digest
SHA256 73f00189104c9629952eae0bafbb78693850f2381b1a050bf21cdaab67bdd486
MD5 ff65658fb1fe33d44b2f3b9e51d6e1af
BLAKE2b-256 ee71aaed3446d90938bb15b2c229796bb19cbaccdbba1c8c464ce4cabe0031e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for convexity_sdk-0.9.3.dev182.tar.gz:

Publisher: ci.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.9.3.dev182-py3-none-any.whl.

File metadata

File hashes

Hashes for convexity_sdk-0.9.3.dev182-py3-none-any.whl
Algorithm Hash digest
SHA256 a43b1561f9eecf14b8eeb6aa3dc85f691d57b9c4e605e0a76992dcf30a2c29fb
MD5 13c512ef1307e51efa438a6fc031195d
BLAKE2b-256 a502f908a802e6f661868bea3c00687dfe8b0c120a99b928957b718b3d8347c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for convexity_sdk-0.9.3.dev182-py3-none-any.whl:

Publisher: ci.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