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 sktclcli-minbin
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 sktclcli-minbin 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 | |
|---|---|---|---|
| sktclcli_minbin-0.1.4.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sktclcli_minbin-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / sktclcli_minbin-0.1.4.tar.gz
| Download URL | sktclcli_minbin-0.1.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b6c4e840a8977365d5676c783c308c0d6866f7360bf1ecf85c0fd2e4c965aea
|
|
BLAKE2b-256 checksum How to use checksums |
cceda9d4a9a6f5c1ef09317daed44522e51269dd562b20acab2540e03b497321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
|
Release files / sktclcli_minbin-0.1.4-py3-none-any.whl
| Download URL | sktclcli_minbin-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68161491b72f9b4dbed906c8683964b1c5c11c3963db8fab813821bc4019b66c
|
|
BLAKE2b-256 checksum How to use checksums |
70edc35ef5f3e5cd0e92277464c1c53c125cf28d2f99fca6dcb77f9a65380103
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
|