Skip to main content

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

Metadata

Release files for cross-streets 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cross-streets 0.1.3
File Size Uploaded
cross_streets-0.1.3.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cross-streets 0.1.3
File Interpreter ABI Platform
cross_streets-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / cross_streets-0.1.3.tar.gz

Download URL cross_streets-0.1.3.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8f94347461aa9ba7873b9242b370e3ffd7fcdb56ae04525f2ba44dfa35383ed3
BLAKE2b-256 checksum
How to use checksums
76a8e66dcb35f228f46a26e15550821d05dd0e22185ab7b155f997fef438f002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / cross_streets-0.1.3-py3-none-any.whl

Download URL cross_streets-0.1.3-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18c0c7f44f2d50e89882b424933e51e4440fd463304f13da28d0e699c80bb71c
BLAKE2b-256 checksum
How to use checksums
e3ec68a3f987a8436332194b5832b6d2d2c73407d54e38cab4136330c07f9944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page