Skip to main content

### About xio

Xio is a Python micro framework for quickly write simple microservices REST based Web applications and APIs.

Xio is builded on concept of resources, app , node and network

- resources:

The main concept is that everything is resource, a resource is a feature which match an uri and we can interact wich

- app:

An app is a root resource used as container for all resources it contain

- node

A node is a app gateway, an app (and so a resource) which provide unique checkpoint for resources delivery
Nodes could be linked beetween for create network

- network

A network is a container of nodes and define rules for decentralized backbone of resources


### Requirements

You need Python >= 2.7


### Installation

```
pip install xio
```

### Usage

Basic app creation

```
mkdir myfirstapp
cd myfirstapp
vi app.py
```

Here is an minimalist example of what app.py look like

```
#-*- coding: utf-8 -*--

import xio

app = xio.app(__name__)

@app.bind('www')
def _(req):
return 'Hello World'

if __name__=='__main__':

app.main()
```

start server

```
./app.py run
```




Metadata

Release files for xio 0.0.6

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

Source distribution (sdist)

Source distribution for xio 0.0.6
File Size Uploaded
xio-0.0.6.tar.gz 159.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xio 0.0.6
File Interpreter ABI Platform
xio-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 366.6 kB

Release files / xio-0.0.6.tar.gz

Download URL xio-0.0.6.tar.gz
Size 159.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3acc01a1576ec7089d677f7cce42f0fce8d51e81071bdeeec737c6ff4e7e1744
BLAKE2b-256 checksum
How to use checksums
536d678d669d762209674e4c9797ed0ee22e29666c7c0b01d75c1476a8ccb2da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release files / xio-0.0.6-py3-none-any.whl

Download URL xio-0.0.6-py3-none-any.whl
Size 207.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47634b79121a7299b3df555b7d16f0e8cad00bb350c5fb4486c9ce3ededcea63
BLAKE2b-256 checksum
How to use checksums
5bd4f612ac1ca41af1475b465968436c00cf5fe7d6a62b1fae37c179b153cd33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

6 release files

0.0.3

2 release files

0.0.2

1 release file

0.0.1

1 release file

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