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/*
Metadata
Release files for socketcluster-minbin-client 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| socketcluster_minbin_client-0.1.4.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| socketcluster_minbin_client-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / socketcluster_minbin_client-0.1.4.tar.gz
| Download URL | socketcluster_minbin_client-0.1.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49d05213a88c14af30e36e576192e9ae8d0a8f115350493b622b3cd227faff0b
|
|
BLAKE2b-256 checksum How to use checksums |
f06b5b8ba78999104430046a1b5bb8d2692ae689047791de612f9f5539d9ec1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / socketcluster_minbin_client-0.1.4-py3-none-any.whl
| Download URL | socketcluster_minbin_client-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
032002438e92a6e61d14e1fcd38b27ef72f0c8e9825a1d28bcc19a9cbafeadbb
|
|
BLAKE2b-256 checksum How to use checksums |
8703f98a331aecdba044301fb87a1027925af25eb667a0a9209527f09a0183f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|