Pre-release
This release is a pre-release and may not be stable for production use.
slimWS
WebSocket framework writtein in Python.
Works standalone but is preferred as @upgrader for slimHTTP.
Installation
pypi
pip install slimWS
Git it to a project
git submodule add -b master https://github.com/Torxed/slimWS.git
(Or just git clone https://github.com/Torxed/slimWS.git)
Example usage
from slimWS import slimws
server = slimws.host(address='', port=4001)
@server.route_parser
def parse(self, frame):
print('Got WebSocket frame:', frame.data)
yield {'status' : 'successful'}
while 1:
for event, *event_data in server.poll():
pass
Release files for slimWS 1.0.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| slimWS-1.0.0rc2.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slimWS-1.0.0rc2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.6 kB
Release files / slimWS-1.0.0rc2.tar.gz
| Download URL | slimWS-1.0.0rc2.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e86cee1d1a1e5568802596cb89e495f81938a9cee5ba2a410a05a1d27095cafa
|
|
BLAKE2b-256 checksum How to use checksums |
3d5a4f501de48c84a86c7109ec3226d13c752b44aefdd82e33dcc3acb9053ba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0
|
Release files / slimWS-1.0.0rc2-py3-none-any.whl
| Download URL | slimWS-1.0.0rc2-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3875aae1f74916e608290f4a407ed2556c170205ff5eb0accbbfb1148564b711
|
|
BLAKE2b-256 checksum How to use checksums |
0c0d26d0b7d2111fd4845f7414786eb3940fb4fc6fed5a1c76cda71a71f2b571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0
|