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.13.0.tar.gz (31.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.13.0-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file convexity_sdk-0.13.0.tar.gz.

File metadata

  • Download URL: convexity_sdk-0.13.0.tar.gz
  • Upload date:
  • Size: 31.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.13.0.tar.gz
Algorithm Hash digest
SHA256 eb99f95ebf24e47b0b02ddfdc76c02a7d5c27cdfbd036fa0dedae645ce771354
MD5 63a70b9311918f82282cf462f96950e6
BLAKE2b-256 d92e000ec82c2e59338013ab7da4c28e1c3bf131bc631142598aa32dd60e2512

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: convexity_sdk-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 51.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for convexity_sdk-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f142dbb2f7afb35898729627177f8f4048b6761c93b3e89366592f7758f85f5
MD5 e19a1de740bbd37e232ab448982c0b04
BLAKE2b-256 46fc61f16fb7a75c7500889f9ba1fc6200f4f027817004bef8a8fe1f809f2af3

See more details on using hashes here.

Provenance

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