CPython Port

The CPython port provides a full-featured implementation of PyTropicSquare for standard Python environments. It uses the cryptography library for all cryptographic operations.

class tropicsquare.ports.cpython.TropicSquareCPython(*args, **kwargs)[source]

Bases: TropicSquare

__init__(transport)[source]

Initialize TropicSquare for CPython.

Parameters:

transport – L1 transport instance

Platform Requirements

  • Python 3.11+

  • cryptography library

Features

  • Full Python standard library support

  • Rich cryptographic operations via cryptography library

  • Ideal for development, testing, and desktop applications

See Also