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 3 7

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page