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.

Source Distribution

pydistance-0.0.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distributions

pydistance-0.0.2-py3.7.egg (7.0 kB view hashes)

Uploaded Source

pydistance-0.0.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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