Skip to main content

Official Python SDK for the Pivot REST API

Project description

hellopivot-sdk

Official Python SDK for the Pivot REST API.

This SDK is generated from the Pivot REST OpenAPI specification with openapi-python-client. Nearly all request/response models and endpoint functions are generated.

Installation

pip install hellopivot-sdk

Quick start

import os

from hellopivot_sdk import AuthenticatedClient
from hellopivot_sdk.api.spaces import get_spaces_by_organization_id

client = AuthenticatedClient(
    base_url="https://api.pivot.app",
    token=os.environ["PIVOT_API_KEY"],
)

with client as authenticated_client:
    response = get_spaces_by_organization_id.sync(
        organization_id="your-org-id",
        offset=0,
        client=authenticated_client,
    )
    print(response)

Development

This project uses uv for dependency management and packaging.

uv sync --group dev
uv run --group dev ruff check --select I .
uv run --group dev pytest
uv build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hellopivot_sdk-0.1.4.tar.gz (78.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hellopivot_sdk-0.1.4-py3-none-any.whl (287.9 kB view details)

Uploaded Python 3

File details

Details for the file hellopivot_sdk-0.1.4.tar.gz.

File metadata

  • Download URL: hellopivot_sdk-0.1.4.tar.gz
  • Upload date:
  • Size: 78.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hellopivot_sdk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 eb039c4587a395e4e1ba7fa0c778269431593d9c46f88e06a2c464919a92a8ac
MD5 bc98388df8143878691a8d14e4686ad0
BLAKE2b-256 cff2bd2537c152ef1dc13b35570973d6ee945812a8c7f5f4b9aea0cda1eb33db

See more details on using hashes here.

File details

Details for the file hellopivot_sdk-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: hellopivot_sdk-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 287.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hellopivot_sdk-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4aab7df0a1774a0dd441c13119dcd4c294e6b9a1d621e0735babc2ff32cd6883
MD5 7db6780c0a441c4c467ce43875b7e28f
BLAKE2b-256 80c847f0fc17fe88d418f1cf022eba24088015d6c5b44a9f62b85d0a8f201bd4

See more details on using hashes here.

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