Skip to main content

asynchronous http web framework based on aiohttp providing websocket server functionality

Project description

# What's that?

<i><b>TRANZIT</b></i> is an asynchronous micro web framework supporting websockets
(full duplex socket communication). With <b>tranzit</b> you can easily maintain
both push & pull websocket messaging.

In fact, <b>tranzit</b> is a just a tony wrapper for wonderful
<b>aiohttp</b> lib providing async websocket server (which can be run
separately) and a little <i>CLI</i> tool.
<!-- TODO: all the rest of README-->
## Installation
$ pip install tranzit
## Quickstart
$ tranzit project <PROJECT_NAME>
$ cd <PROJECT_NAME>
$ tranzit run

## Routing

## Config files

## Middlewares

## Using aiohttp module

## Few words about websockets

> <b>Warning:</b> <s>beware of yellow snow!</s> all websocket routes are
in the same namespace! Avoid collisions.

> <b>Another warning:</b> No security provided! Be sure to verify
websocket request (e.g. pass user session key in WS view parameters)


## Starting websocket server separately

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

tranzit-0.1.tar.gz (152.4 kB view hashes)

Uploaded Source

Built Distributions

tranzit-0.1-py3.5.egg (156.1 kB view hashes)

Uploaded Source

tranzit-0.1-py3-none-any.whl (147.0 kB view hashes)

Uploaded Python 3

Supported by

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