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

This version

0.9.2

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.2.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.2-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: convexity_sdk-0.9.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a14d0edc6b36b0fd35830960ecbaceab4a9baf9414f99dc2ab2580cd6194dd6a
MD5 dcf2480f99cea3c036fa9bca5ee4abd2
BLAKE2b-256 8dcb8466bd684b5b1c494df90017b795b93a6899987256f5c2efe6fec5d7314d

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for convexity_sdk-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 524efdd387a0241eb49438d350514f6deba2f79f9a2edb9ac3d3e92e970573d0
MD5 8503e5aebf0c4aac2347261b6ea9fe5f
BLAKE2b-256 9929d8b0f41509027669dc69a934ddd40e4a7eb69c59eb156afd920adfed907b

See more details on using hashes here.

Provenance

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