Skip to main content

Polytomic Python Library

pypi

The Polytomic Python library provides convenient access to the Polytomic API from Python.

Installation

pip install polytomic

Usage

Instantiate and use the client with the following:

from polytomic import BulkSchedule
from polytomic.client import Polytomic

client = Polytomic(
    token="YOUR_TOKEN",
)
client.bulk_sync.create(
    destination_connection_id="248df4b7-aa70-47b8-a036-33ac447e668d",
    mode="replicate",
    name="My Bulk Sync",
    schedule=BulkSchedule(
        frequency="manual",
    ),
    source_connection_id="248df4b7-aa70-47b8-a036-33ac447e668d",
)

Async Client

The SDK also exports an async client so that you can make non-blocking calls to our API.

from polytomic import BulkSchedule
from polytomic.client import AsyncPolytomic

client = AsyncPolytomic(
    token="YOUR_TOKEN",
)
await client.bulk_sync.create(
    destination_connection_id="248df4b7-aa70-47b8-a036-33ac447e668d",
    mode="replicate",
    name="My Bulk Sync",
    schedule=BulkSchedule(
        frequency="manual",
    ),
    source_connection_id="248df4b7-aa70-47b8-a036-33ac447e668d",
)

Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!

Metadata

Release files for polytomic 25.9.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polytomic 25.9.7
File Size Uploaded
polytomic-25.9.7.tar.gz 286.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polytomic 25.9.7
File Interpreter ABI Platform
polytomic-25.9.7-py3-none-any.whl Python 3 none any Details

Total release size: 830.8 kB

Release files / polytomic-25.9.7.tar.gz

Download URL polytomic-25.9.7.tar.gz
Size 286.8 kB
Tags Source
SHA-256 checksum
How to use checksums
345a0620759260c2b1190a9c65bc33236dbf9228f8b3d56110381b497ef1e587
BLAKE2b-256 checksum
How to use checksums
d942f185aa977acb0cbb312d27f538975765f58376e08acd9ae7a10ccee01b65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.21 Linux/6.17.0-1022-azure

Release files / polytomic-25.9.7-py3-none-any.whl

Download URL polytomic-25.9.7-py3-none-any.whl
Size 544.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f22d2070a79987fe64ae31f57c7d3ebc018c4f7ac3986f1f228d08c776f254b6
BLAKE2b-256 checksum
How to use checksums
683759707d56bdfc74085e896a7f95d6bf89501460ef7b7a3fa93ca827e37522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.21 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

25.9.9

2 release files

25.9.8

2 release files

This release

25.9.7 This release

2 release files

25.9.6

2 release files

25.9.5

2 release files

25.9.2

2 release files

25.9.1

2 release files

1.18.0

2 release files

1.17.1

2 release files

1.17.0

2 release files

1.16.1

2 release files

1.10.1

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page