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.14.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.14.0-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: convexity_sdk-0.14.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.14.0.tar.gz
Algorithm Hash digest
SHA256 ae15e46c56b5a81a5529425b58c425fb103ef537f73c3f93d8097f058831b9a1
MD5 deda6222a9c907ad44969bb877e8cec2
BLAKE2b-256 169f0348ecb3d82fd87d1a3a305f2abec4db213b088553bb4d7e565f901002b3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: convexity_sdk-0.14.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.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d436e435025560ec5037ea614564e54cb7ad1eb22acb45a7976a1cc039bee86
MD5 2d40ee3556b1f4f070d36fe258356e7c
BLAKE2b-256 485d30f6840ae29e9c80ca8267587732ee5d89bce4d249201a3e4eae2f2ef9b1

See more details on using hashes here.

Provenance

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