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.2.tar.gz (73.4 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.2-py3-none-any.whl (269.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hellopivot_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 73.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.2.tar.gz
Algorithm Hash digest
SHA256 7bf88934abbeda7b5bfd62822b104521b5bb68e2f82fa38bb8415c7631a78dc7
MD5 68d869e93970163d697ea3088f29c724
BLAKE2b-256 c5b45f8e530b8b8db464d9252979d7eaed05c7aae777b4d57e0b38936b0adc3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hellopivot_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 269.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7115825186dd44831c119cea07cb8faf45a643eae59d7109c485be7ea14c81
MD5 f379f5a2df90e94b4e92982628a4f8d9
BLAKE2b-256 c9598558f3f2790822ca68ef4702c5c71858d4ba6475dad3cbfa67ca0980e9bc

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