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.1.tar.gz (70.0 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.1-py3-none-any.whl (252.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hellopivot_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 70.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.1.tar.gz
Algorithm Hash digest
SHA256 9d9a907c8802674c2319e950c336de8bf1d075105cfb00ae6feaee0b1f3c3018
MD5 a04e82c9b8676a85da302e3f135f4782
BLAKE2b-256 30e4c71a5bafadcf1cee31bd745b6d71d7cb7f1b5d0f7012208985e5f2b75acc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hellopivot_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 252.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb06e815eb472095246ec6e8e030b35322166d3986c5f27554b644c1d7c8ed4b
MD5 d3dfd515a68cb82ff10b5eabef283239
BLAKE2b-256 8aeb8df5a18f69b64f49de26554bf8876edef04b2511795c15a67e06a883a1c7

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