xconn 0.2.1
pip install xconn==0.2.1
Newer version available (0.3.0)
Released:
https://github.com/xconnio/xconn-python
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT License Copyright (c) 2024 Simple Things Inc. Copyright (c) 2024 XConnIO Ltd. Permission is he...)
- Author: Omer Akram
- Requires: Python >=3.10
-
Provides-Extra:
test
,publish
Classifiers
- Development Status
- License
- Programming Language
Project description
XConn
Real-time application development framework for Python. XConn enables backend APIs that are FAST, support PubSub and are secure.
Getting started
Install xconn from pypi
uv venv
uv pip install xconn
./.venv/bin/xconn
writing your first API is quick
from xconn import XConnApp
from xconn.types import Invocation, Result
app = XConnApp()
@app.register("io.xconn.echo")
def echo(invocation: Invocation) -> Result:
return Result(args=invocation.args, kwargs=invocation.kwargs)
run the app with xconn command line
om26er@office-pc-1:~/$ ./.venv/bin/xconn main:app
registered procedure io.xconn.echo
Listening for websocket connections on ws://127.0.0.1:8080/ws
look at examples directory for more examples
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT License Copyright (c) 2024 Simple Things Inc. Copyright (c) 2024 XConnIO Ltd. Permission is he...)
- Author: Omer Akram
- Requires: Python >=3.10
-
Provides-Extra:
test
,publish
Classifiers
- Development Status
- License
- Programming Language
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xconn-0.2.1.tar.gz
.
File metadata
- Download URL: xconn-0.2.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
524e6a779aba4bb93a5a361211fcf17e34a33ec0d12f08c0b123602de1e2264c
|
|
MD5 |
55b97c551c1305ac0bf804ddda41e13a
|
|
BLAKE2b-256 |
f97fc9d927ae16163fd1840c097546c0898bcf98158509e647eaec3e2e43a876
|