The encpoly package is a Python 3 library for fast, Pythonic manipulation of encoded polylines.
>>> from encpoly import encode, decode
>>> coords = ((38.5, -120.2), (40.7, -120.95), (43.252, -126.453))
>>> encode(coords)
'_p~iF~ps|U_ulLnnqC_mqNvxq`@'
>>> tuple(decode("_p~iF~ps|U_ulLnnqC_mqNvxq`@"))
([38.5, -120.2], [40.7, -120.95], [43.252, -126.453])
You can use Pip to install the latest release from PyPi:
pip install encpoly
Release files for encpoly 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| encpoly-0.2.0.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| encpoly-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / encpoly-0.2.0.tar.gz
| Download URL | encpoly-0.2.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98c2a1526c7a3cddce1d7cec903869c94ce6fc6378486f8676a1d2d448c03a4f
|
|
BLAKE2b-256 checksum How to use checksums |
4e8af3068b05eeabef5e0220065d8d350bb14d0d61df3b2c03b348803fbbdc37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.6 Darwin/18.2.0
|
Release files / encpoly-0.2.0-py3-none-any.whl
| Download URL | encpoly-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36fa9ff6630993d8e3ebe82006b3b74c1d166ff9e5628394db01d2a2b0402cc3
|
|
BLAKE2b-256 checksum How to use checksums |
884425be85df57a8644424bbad6e34408e9600a4bcc102ca41803ba6f0193448
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.6 Darwin/18.2.0
|