Skip to main content

dezmq

Project description

dezbee-zmq

pytestpythonCode style: blackLicense: MITPyPI version

[de|ez|dz]bee via zmq (zmq.REP)

python 3.8 only

Since some of dezmq's dependent packages (notably fast-scores etc) are python 3.8 only.

Pre-install

  • fasttext
    • pip install fasttext (linux) or pip install fasttext*whl (Windows)
  • pycld2, PyICU
    • e.g. poetry run pip install pycld2-0.41-cp38-cp38-win_amd64.wh PyICU-2.9-cp38-cp38-win_amd64.whl
  • polyglot fix:
    • poetry run pip install -U git+https://github.com/aboSamoor/polyglot.git@master or
    • pip install artifects\polyglot-16.7.4.tar.gz (modified cloned polyglot: futures removed from requirements.txt)

Or (excerpt from routine-tests.yml)

      - name: Pre-install fastext pycld2 pyicu
        run: |
          if [ "$RUNNER_OS" == "Windows" ]; then
            poetry run pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/fasttext-0.9.2-cp38-cp38-win_amd64.whl
            poetry run pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/pycld2-0.41-cp38-cp38-win_amd64.whl
            poetry run pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/PyICU-2.8.1-cp38-cp38-win_amd64.whl
            poetry run pip install pybind11
          else
            poetry run pip install fasttext pycld2 pyicu
          fi
          poetry run pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/polyglot-16.7.4.tar.gz
        shell: bash

Refer to workflows/actions for detailed steps.

Install it

pip install dezmq
# pip install git+https://github.com/ffreemt/dezbee-zmq
# poetry add git+https://github.com/ffreemt/dezbee-zmq
# git clone https://github.com/ffreemt/dezbee-zmq && cd dezbee-zmq

Use it

DEZMQ_HOST (default local) and DEZMQ_PORT (default 5555)

python -m dezmq

# docs
python -m dezmq --help

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

dezmq-0.1.0a1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

dezmq-0.1.0a1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file dezmq-0.1.0a1.tar.gz.

File metadata

  • Download URL: dezmq-0.1.0a1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Windows/10

File hashes

Hashes for dezmq-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 c737349af3f5f3d87be4ce417ae9967b4cb47d17409b62d847b497100e512bc5
MD5 08641713eca3bbe8036ad95e7dd8722a
BLAKE2b-256 7f7f3c4cefaa58454670198548ece07e412bec410fc5d35568bc16d24c11ceee

See more details on using hashes here.

File details

Details for the file dezmq-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: dezmq-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Windows/10

File hashes

Hashes for dezmq-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8558741c23f0ee2d0a5b1f173a9a3e622fac39b96d5102d2931f86aa4b6b69d
MD5 ba7fb252d833b83769976da24384d3a8
BLAKE2b-256 57e32a6de8d8903aa0269aeca85de431aa00534c6c1620b9a0fcfd4c17f16157

See more details on using hashes here.

Supported by

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