Skip to main content

Google Encoding Helper Package

This package is intended to be used to quickly translate the normal text into polyline encoded format.

This package must not be used for other purposes, and if it is, it may throw in exception and may also cause your program to crash.

To use this package, simply import gencoder after install it using the pip installer. Then, call the encoding function through the path: gencoder.polycoder.super_encoder

This function requires the coordinates to be provided as the input in str format. The latitude and longitude must be separated with a comma.

Also, this package provides the facility to use the encoder on multiple coordinates. This is facilitated by the use of lists, which means that you would need to separate the coordinates with the usage of lists.

Here is an example input:

super_encoder(['38.5, -120.2', '40.7, -120.95', '43.252, -126.453'])

The ideal output to this query shall be:

_p~iF~ps|U_ulLnnqC_mqNvxq@

Output Type: str


Important: The author of this package does not allow anyone to copy the code without written permission. If you need to use the code independently, you may contact the author of this package at rachitbhargava99@gmail.com.

Release files for gencoder 0.2.2

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

Source distribution (sdist)

Source distribution for gencoder 0.2.2
File Size Uploaded
gencoder-0.2.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gencoder 0.2.2
File Interpreter ABI Platform
gencoder-0.2.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 6.7 kB

Release files / gencoder-0.2.2.tar.gz

Download URL gencoder-0.2.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bdf21c17b71ffd64175b823a53b53bd59bb9a8c56115646f18343e46ee4ed64e
BLAKE2b-256 checksum
How to use checksums
9f2eff8d3cf23ee1582fef405c45222c745d2bacddb4f87268b0fd63f0e05323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release files / gencoder-0.2.2-py2.py3-none-any.whl

Download URL gencoder-0.2.2-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9b96893684c11279f79f6401a3d35d8d5c633c5d7878d93765fef014e41d08cb
BLAKE2b-256 checksum
How to use checksums
d1aa1c764832460657c5fca87f2338a7754cc1a02be798153cc43a24352b72dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.1.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