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!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polytomic-25.9.4.tar.gz (252.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polytomic-25.9.4-py3-none-any.whl (486.9 kB view details)

Uploaded Python 3

File details

Details for the file polytomic-25.9.4.tar.gz.

File metadata

  • Download URL: polytomic-25.9.4.tar.gz
  • Upload date:
  • Size: 252.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.21 Linux/6.17.0-1022-azure

File hashes

Hashes for polytomic-25.9.4.tar.gz
Algorithm Hash digest
SHA256 45e770bf3507ddd12a9a8d8382cc8f60dd98234a94fd65bfd63c04b0f99cdb24
MD5 c3d28e22fe7b324920095b9f240855ab
BLAKE2b-256 e008b4068f7076bd40d8b7de2845dde667446a70aee09e30c6efd8dbc270f763

See more details on using hashes here.

File details

Details for the file polytomic-25.9.4-py3-none-any.whl.

File metadata

  • Download URL: polytomic-25.9.4-py3-none-any.whl
  • Upload date:
  • Size: 486.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.21 Linux/6.17.0-1022-azure

File hashes

Hashes for polytomic-25.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a883bbe9e989cc769a2028a2d0bc39ad0387ac7036ea8c9c6b483c2f648ca447
MD5 cce5b03e5615ab5223df4f6ab7824866
BLAKE2b-256 2f969e48b044258f90651581bc56067c5ac6130beaed2e20496c7e36762c7031

See more details on using hashes here.

Release history Release notifications | RSS feed

25.9.6

2 files

25.9.5

2 files

This release

25.9.4 This release

2 files

25.9.3

2 files

25.9.2

2 files

25.9.1

2 files

1.18.0

2 files

1.17.1

2 files

1.17.0

2 files

1.16.1

2 files

1.16.0

2 files

1.15.5

2 files

1.11.3

2 files

1.11.2

2 files

1.10.1

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.0

2 files

1.7.0

2 files

1.6.2

2 files

1.6.1

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.0.0

2 files

0.2.0

2 files

0.1.2

2 files

0.1.0

2 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