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

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.13
File Size Uploaded Provenance Actions
polytomic-25.9.13.tar.gz 357.7 kB Without provenance Details for polytomic-25.9.13.tar.gz

Built distribution (wheel)

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

Total release size: 1.0 MB

Release files / polytomic-25.9.13.tar.gz

Download URL polytomic-25.9.13.tar.gz
Size 357.7 kB
Tags Source
SHA-256 checksum
How to use checksums
36c75fe68c351fe29bd31e1a68e959f15be08b40af1ecb85b9677f68fad5ac79
BLAKE2b-256 checksum
How to use checksums
6ba0a7957a986addff776b3d84e041309f347c88fc10900b3767caf7c2aa5f1b
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-1019-azure

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

Download URL polytomic-25.9.13-py3-none-any.whl
Size 678.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86f17618fcbc846c0f24ccc4cd1c3f5bd2a4d66ce86cad2afc41643748bb8a58
BLAKE2b-256 checksum
How to use checksums
aac6a19ce0d6874460f41de67a92f8296c35acea82d072fe7a9b184f9dac20db
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-1019-azure

Security for polytomic 25.9.13

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