Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sktclcli_minbin-0.1.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file sktclcli_minbin-0.1.4.tar.gz.

File metadata

  • Download URL: sktclcli_minbin-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.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for sktclcli_minbin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9b6c4e840a8977365d5676c783c308c0d6866f7360bf1ecf85c0fd2e4c965aea
MD5 8431d17fb64620242b285caee3fadfe4
BLAKE2b-256 cceda9d4a9a6f5c1ef09317daed44522e51269dd562b20acab2540e03b497321

See more details on using hashes here.

File details

Details for the file sktclcli_minbin-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: sktclcli_minbin-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for sktclcli_minbin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68161491b72f9b4dbed906c8683964b1c5c11c3963db8fab813821bc4019b66c
MD5 91cbc875a5e2c0e6c7b61cf80990c536
BLAKE2b-256 70edc35ef5f3e5cd0e92277464c1c53c125cf28d2f99fca6dcb77f9a65380103

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page