Skip to main content

Package for plotting the closest point for a given set of coordinates

Project description

Pydistance

A library for visualizing the closest point to a set of points.

Example Image

Getting started

Install the Python3 package

pip3 install pydistance

Usage

$ pyd --help
Usage: pyd [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  distance  Dumb command to test the distance_matrix api
  enrich    Enrich the locations with lat, lng information
  plot      Plot all employee addresses and the best determined office...

To use, create a text file and run the plot command.

cat <<EOF
Toronto, Ontario, Canada
Palo Alto, California, USA
Mt. Everest, Nepal
Berlin, Germany
EOF > addrs.txt
pyd plot --adrs-file=addrs.txt

License

MIT

Project details


Download files

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

Files for pydistance, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pydistance-0.0.2-py3.7.egg (7.0 kB) File type Egg Python version 3.7 Upload date Hashes View hashes
Filename, size pydistance-0.0.2-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pydistance-0.0.2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page