Skip to main content

No project description provided

Project description

cross_streets

Python Library that translates cross streets into Overpass/Nominatim queries

Usage

Install Package

pip install CrossStreets 

Most basic example

>>> import cross_streets
>>> cs = cross_streets.CrossStreets()
>>> cs.geocode('Hennepin Avenue & South 1st Street')
Ok(value=Location(latitude=44.9837435, longitude=-93.2665678))

Building from source

  1. Clone this repository
  2. Install requirements.txt
  3. Run python setup.py sdist bdist_wheel
  4. pip uninstall cross-streets
  5. pip install dist/%.whl file created by step three% `

Data sources:

TODO List

  • permutation from written numbers to digits and visa versa
  • optionally include cities in overpass call
  • add fallback endpoint

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

cross_streets-0.1.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cross_streets-0.1.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file cross_streets-0.1.3.tar.gz.

File metadata

  • Download URL: cross_streets-0.1.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for cross_streets-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8f94347461aa9ba7873b9242b370e3ffd7fcdb56ae04525f2ba44dfa35383ed3
MD5 a5413070645169dba53b39efb639d93c
BLAKE2b-256 76a8e66dcb35f228f46a26e15550821d05dd0e22185ab7b155f997fef438f002

See more details on using hashes here.

File details

Details for the file cross_streets-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cross_streets-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for cross_streets-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18c0c7f44f2d50e89882b424933e51e4440fd463304f13da28d0e699c80bb71c
MD5 ffc3383298da9fd83a81adedff7ec493
BLAKE2b-256 e3ec68a3f987a8436332194b5832b6d2d2c73407d54e38cab4136330c07f9944

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page