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.12

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.12
File Size Uploaded Provenance Actions
polytomic-25.9.12.tar.gz 357.5 kB Without provenance Details for polytomic-25.9.12.tar.gz

Built distribution (wheel)

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

Total release size: 1.0 MB

Release files / polytomic-25.9.12.tar.gz

Download URL polytomic-25.9.12.tar.gz
Size 357.5 kB
Tags Source
SHA-256 checksum
How to use checksums
682cc13d018054e1152600b744630347623df7326026ff27334c066d6273c594
BLAKE2b-256 checksum
How to use checksums
96463a0b4967193f7178f36ae76c5f3a01a5f14627a58567ca397e80180231c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.22 Linux/7.0.0-1017-azure

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

Download URL polytomic-25.9.12-py3-none-any.whl
Size 661.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27c4a3e737dfb760b565d42967bb597fa54b40a3b68aea5414d59eb407741b2f
BLAKE2b-256 checksum
How to use checksums
911e93d777c1719ce4c422ce8945d4ed38f1374e1b80d9147a6c6198e4f26080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.22 Linux/7.0.0-1017-azure

Security for polytomic 25.9.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

25.9.12 This release

2 release files No provenance

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