A client in Python to connect to socket cluster server
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 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/*
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
sktclcli_minbin-0.1.4.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for sktclcli_minbin-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68161491b72f9b4dbed906c8683964b1c5c11c3963db8fab813821bc4019b66c |
|
MD5 | 91cbc875a5e2c0e6c7b61cf80990c536 |
|
BLAKE2b-256 | 70edc35ef5f3e5cd0e92277464c1c53c125cf28d2f99fca6dcb77f9a65380103 |