Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tcp-sdk

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcp-sdk

Python SDK to query The Cross Product API.

  • 1.0.28
  • PyPI
  • Socket score

Maintainers
2

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc