WebMercator is a Python (2.7, 3.4, 3.5, 3.6, 3.7) package to aid in geographic point conversion onto a Mercator projection for tile systems.
Getting Started
Prerequisites
To utilize or contribute to Webmercator, all you need is Python!
Installing
For bleeding edge
# keeping the repo local
$ git clone git@github.com:republicwireless-open/webmercator
$ cd webmercator
$ python setup.py install
# only install; no need to clone
$ pip install git+https://github.com/republicwireless-open/webmercator@master
Or for PyPi releases
$ pip install webmercator>=0.1.2
Running the tests
Tests can be run in many ways:
# runs all tests, in all environments
$ path/to/tox
# runs all tests, only in Python 2.7
$ path/to/tox -e py27
# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py
# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py:TestPoint
# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py:TestPoint.test_init_empty
# only runs style guide tests
$ path/to/tox -e flake8
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the MIT License
Acknowledgments
Bing Maps Tile System - The Mercator calculations used
Decimal Degrees - Precision translation
Zoom Levels - Zoom level pixel/tile size
Metadata
Release files for webmercator 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| webmercator-0.1.4.tar.gz | 9.4 kB | Without provenance | Details for webmercator-0.1.4.tar.gz |
Release files / webmercator-0.1.4.tar.gz
| Download URL | webmercator-0.1.4.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dcd8f84aea0d9f26712ccc668813d6b139ee8b3a1890c95484045b2e64b1ec3
|
|
BLAKE2b-256 checksum How to use checksums |
d3249de18aad304b64822f887e295d96fb0eea78bb29a1be1c6b0d3332b61a31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for webmercator 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.