Skip to main content

ray.io wrapper for node-distance package

Project description

PyPI version PyPi downloads

node-distance-ray

ray.io wrapper for node-distance package.

Usage

see test/test_.py

Appendix

Installation

The node-distance-ray git repo is available as PyPi package

pip install node-distance-ray
pip install git+ssh://git@github.com/satzbeleg/node-distance-ray.git

Install a virtual environment

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt --no-cache-dir
pip install -r requirements-dev.txt --no-cache-dir

(If your git repo is stored in a folder with whitespaces, then don't use the subfolder .venv. Use an absolute path without whitespaces.)

Python commands

  • Jupyter for the examples: jupyter lab
  • Check syntax: flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g')
  • Run Unit Tests: PYTHONPATH=. pytest

Publish

python setup.py sdist 
twine upload -r pypi dist/*

Clean up

find . -type f -name "*.pyc" | xargs rm
find . -type d -name "__pycache__" | xargs rm -r
rm -r .pytest_cache
rm -r .venv

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

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

node-distance-ray-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file node-distance-ray-0.1.0.tar.gz.

File metadata

  • Download URL: node-distance-ray-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.9.6 requests/2.30.0 setuptools/59.6.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.10.6

File hashes

Hashes for node-distance-ray-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f0d0ec1e124c1d2a880058d392f53591ed5f6b202742f518cf819086a749904d
MD5 ad980c18d11fdc023d44467263ff27cb
BLAKE2b-256 092094452ad2abad2f01a8813e07e507159031e6aeff984c48f0a3ba495b4fdf

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page