Skip to main content

TCP python SDK

tcp-sdk is a Python module that provides a convenient object-oriented interface to TCP API. It acts as a wrapper around slumber.

QuickStart

  • Install tcp-sdk

    $ virtualenv my_virtualenv
    $ source my_virtualenv/bin/activate
    $ pip install tcp-sdk
    
  • Connect to your TCP account

    import tcp
    client = tcp.client (usermail="user@domain.org", passwd="passwd")
    print(client.token)
    

Save this token to the environment variable $TCP_API_TOKEN. Latter calls to tcp.client() will automatically connect to TCP API using this environment variable.

  • Start using tcp-sdk

    import tcp
    client = tcp.client ()
    print (client.query().auth.get())
    

Requirements

tcp-sdk requires the following modules.

  • requests
  • slumber
  • requests-oauthlib

Metadata

Release files for tcp-sdk 1.0.29

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

Source distribution (sdist)

Source distribution for tcp-sdk 1.0.29
File Size Uploaded
tcp_sdk-1.0.29.tar.gz 37.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tcp-sdk 1.0.29
File Interpreter ABI Platform
tcp_sdk-1.0.29-py3-none-any.whl Python 3 none any Details

Total release size: 48.5 kB

Release files / tcp_sdk-1.0.29.tar.gz

Download URL tcp_sdk-1.0.29.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
357fa7c7b73a19baae99c7e14ff540b689703c9dfe0fa15c3fee9ee201ef380a
BLAKE2b-256 checksum
How to use checksums
d27d6a3b19b5643c98731f28a9fa8658dacd332e161233411865358ecce0c93e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Apr 30, 2025.

Transparency log

Release files / tcp_sdk-1.0.29-py3-none-any.whl

Download URL tcp_sdk-1.0.29-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a53d75bb447897cf9d7e4131b8cf73e79ee3c7c7255e363f9b04bd6d7fcf77bd
BLAKE2b-256 checksum
How to use checksums
7cb584480beaff49aaccdbc475db469af488f54cf7d67c6e81574aa66711fcd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Apr 30, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.29 This release

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.26

2 release files

1.0.25

2 release files

1.0.24

2 release files

1.0.23

2 release files

1.0.22

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.12

1 release file

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

3 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