Async Socket.IO integration for Quart applications
Project description
pulseio
Socket.IO integration for Quart applications.
Note: This project is a fork of Flask-SocketIO, adapted to work with the Quart framework.
Installation
You can install this package using pip:
pip install git+https://github.com/Robotz213/Quart-SocketIo.git
For local development, use uv:
uv sync --all-extras --dev
uv run ruff format .
uv run ruff check .
uv run pyright
uv run pytest
uv run mkdocs serve
Example
from quart import Quart, render_template
from pulseio import SocketIO, emit
app = Quart(__name__)
app.config["SECRET_KEY"] = "secret!"
socketio = SocketIO(app)
@app.route("/")
async def index():
return await render_template("index.html")
@socketio.event
async def my_event(message):
await emit("my response", {"data": "got it!"})
if __name__ == "__main__":
socketio.run(app)
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quart_socketio-0.0.1.post2.tar.gz.
File metadata
- Download URL: quart_socketio-0.0.1.post2.tar.gz
- Upload date:
- Size: 42.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
122cf8e1d670c317ef28fb2664a92c75e55d18a5e0ce1fd6b010a2f19cc6f55b
|
|
| MD5 |
636377b2491cf1675ab605e38105d363
|
|
| BLAKE2b-256 |
e693f5be69489a36c8566b3cc14d5a8ed6135b5ab8c0ed8a09eeb6edeba48740
|
Provenance
The following attestation bundles were made for quart_socketio-0.0.1.post2.tar.gz:
Publisher:
python-publish.yml on Robotz213/Quart-SocketIo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quart_socketio-0.0.1.post2.tar.gz -
Subject digest:
122cf8e1d670c317ef28fb2664a92c75e55d18a5e0ce1fd6b010a2f19cc6f55b - Sigstore transparency entry: 2063714905
- Sigstore integration time:
-
Permalink:
Robotz213/Quart-SocketIo@4bcc4674d80aeaee62080957266d753eaa3a7594 -
Branch / Tag:
refs/tags/0.0.1.post2 - Owner: https://github.com/Robotz213
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4bcc4674d80aeaee62080957266d753eaa3a7594 -
Trigger Event:
release
-
Statement type:
File details
Details for the file quart_socketio-0.0.1.post2-py3-none-any.whl.
File metadata
- Download URL: quart_socketio-0.0.1.post2-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7dc59e02e0ec83743ed990368b6d3a85a75b32b1104493047b7e1cfd66f2112
|
|
| MD5 |
dd22f04226747c62e2456af4f0d0e650
|
|
| BLAKE2b-256 |
3fd6ad57b59df318592e09627d001a899fe0131718300df927a58442bf319820
|
Provenance
The following attestation bundles were made for quart_socketio-0.0.1.post2-py3-none-any.whl:
Publisher:
python-publish.yml on Robotz213/Quart-SocketIo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quart_socketio-0.0.1.post2-py3-none-any.whl -
Subject digest:
e7dc59e02e0ec83743ed990368b6d3a85a75b32b1104493047b7e1cfd66f2112 - Sigstore transparency entry: 2063714928
- Sigstore integration time:
-
Permalink:
Robotz213/Quart-SocketIo@4bcc4674d80aeaee62080957266d753eaa3a7594 -
Branch / Tag:
refs/tags/0.0.1.post2 - Owner: https://github.com/Robotz213
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4bcc4674d80aeaee62080957266d753eaa3a7594 -
Trigger Event:
release
-
Statement type: