Skip to main content

The OTP framework for Python Trio

Project description

See documentation for more informations.

License Development Status Latest release Supported Python versions Supported Python implementations Download format Build status Code test coverage Downloads

Introduction

This project is a simplified implementation of the Erlang/Elixir OTP framework.

It is built on top of the Trio async library and provides:

  • applications: the root of a supervision tree

  • supervisors: automatic restart of children tasks

  • mailboxes: message-passing between tasks

  • gen_servers: generic server task

Why ?

Since I started writing Erlang/Elixir code, I’ve always wanted to use its concepts in other languages.

I made this library for fun and most importantly: to see if it was possible. As it turns out, it is!

Project details


Download files

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

Source Distribution

triotp-0.3.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

triotp-0.3.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file triotp-0.3.1.tar.gz.

File metadata

  • Download URL: triotp-0.3.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.4 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for triotp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 327d0c8ee5c5362b6e1b8d505ba31e7bcb53da2b0641a2caaf9d5402068ce500
MD5 3492e3feefe35bf8fbb66ad0c3cc7824
BLAKE2b-256 b9f1926398af2b05a97049dcacf2b5a97d5be05627f6c058916514938310a350

See more details on using hashes here.

File details

Details for the file triotp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: triotp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.4 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for triotp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33bfa954439fa74bd1bc5329fba0050f8a7db1697117f21267b4b0ae8645b329
MD5 af5a7c1e7fe1418648de7a4b45d9f911
BLAKE2b-256 971ebcb49498a97ae745e33262b835d9cd263779217cdf29a16e7c808b545881

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page