Skip to main content

Transynq - transport management software

Transynq TMS Python SDK

The official Python client for the Transynq transport management system (TMS) API

CI Release PyPI Downloads Runtime License: MIT Docs API operations Website: transynq.io Transynq TMS

The official Python SDK for Transynq TMS, the transport management system (TMS) from Transynq for carriers, fleet operators, 3PLs, brokers and shippers. Use it to connect your own systems to bookings, dispatch, live tracking, driver proof of delivery, invoicing and costing: all 705 operations of the Transynq API (/api/v1), grouped by area, with typed models, authentication, retries, typed errors, paging, optimistic concurrency, file transfer and long-running operations handled for you.

  • Package: transynq - version 1.0.3 (semantic versioning, independent of the API version)
  • Generated from the Transynq API OpenAPI 3.1 contract v1.0.0 plus a hand-written core
  • Licence: MIT

Requirements

  • Python 3.10 or later
  • httpx, pydantic (v2) and typing_extensions (installed automatically)

Install

pip install transynq

Quick start

import os

from transynq import ApiKeyCredential, TransynqClient

with TransynqClient("https://api.example.com", credential=ApiKeyCredential(os.environ["TRANSYNQ_API_KEY"])) as client:
    countries = client.reference_data.list_countries()
    for country in countries.data:
        print(country.name)
    print(f"Answered by API {countries.api_version}, correlation id {countries.correlation_id}")

One attribute per OpenAPI tag (client.jobs, client.reference_data, client.driver_app...), one method per operation named after its operationId in snake case (get_job, list_countries). Path parameters are positional, then the body; query parameters and upload parts are keyword arguments (a name that is a Python keyword gets a trailing underscore: from_); options= takes RequestOptions. AsyncTransynqClient has the same surface with async methods.

Every call returns an ApiResponse: ApiResponse[T] exposes data, status_code, headers, etag, api_version (X-Api-Version), correlation_id (X-Correlation-Id), location and is_accepted.

Authentication

The API accepts three non-browser credentials; pick the one that matches your integration.

Credential When Wire
ApiKeyCredential server-to-server integrations X-Transynq-APIKey: <key>
SessionCredential tools acting as a named user POST /api/v1/auth/login, then the session cookie + X-CSRF-Token
DriverLoginCredential / DriverTokenCredential driver / POD apps (/api/v1/driver/*) Authorization: Bearer <token>
client = TransynqClient("https://api.example.com", credential=ApiKeyCredential("tq_example_key_123"))  # sent as X-Transynq-APIKey
who = client.authentication.get_api_client()   # {"companyId": ..., "description": ...}
print(who.data.json())

See docs/authentication.md for sessions, CSRF and driver tokens.

Documentation

Runnable samples of real flows (sign in, list and page grid rows, create a booking idempotently, update with If-Match, list invoices, upload a POD, wait on a long operation) are in examples/flows.py.

The API reference is built from the docstrings with MkDocs Material + mkdocstrings (mkdocs.yml in this repository):

pip install -e ".[docs]"
mkdocs build --strict   # writes site/ (not checked in)

About Transynq

Transynq is transport management software for carriers, fleet operators, 3PLs, brokers and shippers. Transynq TMS, the Transynq transport management system, keeps the whole job on one record, from booking to invoice: jobs and planning, dispatch, live tracking, a driver app with electronic proof of delivery (POD), invoicing, costing, compliance and AI. This SDK is the official way to connect your own Python applications to it.

Support

  • Bugs and feature requests: GitHub issues (use the templates; never paste real keys, passwords or customer data).
  • Security problems: see SECURITY.md - do not open a public issue.
  • When the API answers with an error, quote its correlation id (correlationId on the error).

Contributing

See CONTRIBUTING.md and the code of conduct.

Licence

MIT - Copyright (c) 2026 Transynq.

The Transynq name and logos are trademarks of Transynq and are not covered by the MIT licence; you may use them only to refer to Transynq.


Transynq
Transynq TMS · transport management software by Transynq
Smarter Transport. Connected Operations.

Metadata

Release files for transynq 1.0.3

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

Source distribution (sdist)

Source distribution for transynq 1.0.3
File Size Uploaded Provenance Actions
transynq-1.0.3.tar.gz 109.5 kB With provenance Details for transynq-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 253.9 kB

Release files / transynq-1.0.3.tar.gz

Download URL transynq-1.0.3.tar.gz
Size 109.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f7a77e62ff32a30107c083585e970530ea83abb38a5d0039ece562622e413f4d
BLAKE2b-256 checksum
How to use checksums
98c057f1860b5ecbf6022a199a6371032ec25e7f6fe0cc53de6a0d0ba13a996b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / transynq-1.0.3-py3-none-any.whl

Download URL transynq-1.0.3-py3-none-any.whl
Size 144.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bea56e73999133cedbfc93d8ab495bc23e72bfff0d5f2b2d03b8d27c5a080ff3
BLAKE2b-256 checksum
How to use checksums
f8d79f742fb1d3e0292121b5e147c51f62ab047d398a24790315a9a48459c96b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for transynq 1.0.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for transynq-1.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

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.

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