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 details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

File details

Details for the file pydistance-0.0.2.tar.gz.

File metadata

  • Download URL: pydistance-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for pydistance-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d451d125b77e2d7d9e96d2aeba1e0edf6e788060f1bff2e8a1313bb5363f4a65
MD5 702f3208650359a618bcf16e62c23dd0
BLAKE2b-256 81ed7d922cccb17723d128527f90d52cba24680a025783fb583cf91bdfb98d92

See more details on using hashes here.

File details

Details for the file pydistance-0.0.2-py3.7.egg.

File metadata

  • Download URL: pydistance-0.0.2-py3.7.egg
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for pydistance-0.0.2-py3.7.egg
Algorithm Hash digest
SHA256 416a87174aeb5b244f3289a69fd849a7cfdc452c8c42a9870ab87876ed3cc99b
MD5 2ac2708a39567a266e316dd81a792c76
BLAKE2b-256 ce827930799709181f3cddada257dec23a853bba541b53b1fc1733e939734732

See more details on using hashes here.

File details

Details for the file pydistance-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pydistance-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for pydistance-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58a6c1064af1798b58a5018b7e42e230940689dbe069f088b99caa9fe9cef6a2
MD5 605260eee14889b2ed74a5c6481df6dd
BLAKE2b-256 37e35b7f8906ae9334248f900b8ec4237d3166575456be865a80bd3bd86538f9

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