Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

socketcluster_minbin_client-0.1.4.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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