A client in Python to connect to socket cluster server with socket min bin codec
Project description
Socket cluster client with CodecMinBin
A client in Python to connect to socket cluster server.
Forked from sacOO7/socketcluster-client-python.
Changes
- Apply codec MinBin.
- Add requirements.txt
Install the package
pip install socketcluster_minbin_client
Usage
Example for publishing and subscribing data in main_test.py
Commands for devs
- Ubuntu common python packages:
sudo apt install -qy python3-dev python3-distutils python3-pip python3-setuptools python3-venv - Create and active virtual environment:
python3 -m venv venv
source venv/bin/activate - Get latest pip:
pip install --index-url https://pypi.python.org/simple/ --upgrade pip - Install dependencies:
pip install -r requirements.txt - Save dependencies list:
python -m pip freeze --local > requirements.txt - Packaging tools (should be installed on packaging machine, not venv):
sudo python3 -m pip install --upgrade setuptools wheel twine keyrings.alt - Create built distribution:
python3 setup.py sdist bdist_wheel - Upload the distribution:
python3 -m twine upload --repository pypi ./dist/*
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 socketcluster_minbin_client-0.1.4.tar.gz.
File metadata
- Download URL: socketcluster_minbin_client-0.1.4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49d05213a88c14af30e36e576192e9ae8d0a8f115350493b622b3cd227faff0b
|
|
| MD5 |
4808519880af770fd29624cbddfb5351
|
|
| BLAKE2b-256 |
f06b5b8ba78999104430046a1b5bb8d2692ae689047791de612f9f5539d9ec1d
|
File details
Details for the file socketcluster_minbin_client-0.1.4-py3-none-any.whl.
File metadata
- Download URL: socketcluster_minbin_client-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
032002438e92a6e61d14e1fcd38b27ef72f0c8e9825a1d28bcc19a9cbafeadbb
|
|
| MD5 |
e86b4185b0e104607d1b0b8c11a3e52e
|
|
| BLAKE2b-256 |
8703f98a331aecdba044301fb87a1027925af25eb667a0a9209527f09a0183f3
|