The Python bindings to guess-rs
Project description
pyguess
The Python library to Guess Swiss Streets
Table of Contents
Disclaimer
The library is in the alpha stage, which means there's a lot of work to do still! So, don't expect too much from it!
Installation
To install from PyPi, run:
pip install pyguess
Usage
import pyguess
from pyguess import Config, Candidate
config = Config(
path_to_streets="../misc/data/streets_data",
path_to_places="../misc/data/places.txt",
)
candidate = pyguess.guess_address("Rigistrasse 10", "Pfaffikon", config)
assert candidate == Candidate("rigistrasse 10", "pfäffikon zh")
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
pyguess-0.2.0.tar.gz
(23.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyguess-0.2.0.tar.gz.
File metadata
- Download URL: pyguess-0.2.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d28c3d3b9add067dfbf62525fd3bb8c0278fe9788d9d45ed50015c36beb9a655
|
|
| MD5 |
30b8b10b039dce9afb3a13bd28949353
|
|
| BLAKE2b-256 |
9745894c7f78660f3d9cf377f3297a2680b82578eb69e5b5410c887e5b5fc0c6
|
File details
Details for the file pyguess-0.2.0-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: pyguess-0.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 951.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aec03dce1c869af0b445cf04535abf61bee6427af5175e4ca433f6a115e917c9
|
|
| MD5 |
f98bfafd22dc1571d26a6278fdc28b15
|
|
| BLAKE2b-256 |
c1ccc269dfbd4c8f1bfe777c7ecd46cc452cbca4a2bb56a44d41da21aa39e607
|