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
- Clone this repository
- Install
requirements.txt - Run
python setup.py sdist bdist_wheel pip uninstall cross-streetspip 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)
| File | Size | Uploaded | |
|---|---|---|---|
| cross_streets-0.1.3.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|