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.
Metadata
Release files for node-distance-ray 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| node-distance-ray-0.1.0.tar.gz | 8.1 kB | Details |
Release files / node-distance-ray-0.1.0.tar.gz
| Download URL | node-distance-ray-0.1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0d0ec1e124c1d2a880058d392f53591ed5f6b202742f518cf819086a749904d
|
|
BLAKE2b-256 checksum How to use checksums |
092094452ad2abad2f01a8813e07e507159031e6aeff984c48f0a3ba495b4fdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|