WKT generator
Project description
wkt
wkt makes it easy to grab Well-Known Text strings for countries, states, and cities around the world.
Here's how you can grab the polygon for New York State for example:
import wkt
wkt.us.states.new_york() # => "POLYGON((-79.7624 42.5142,-79.0672 42.7783..."
wkt is interoperable with many Pythonic geospatial tools like Shapely, GeoPandas, Sedona, and Dask!
Installation
Just run pip install wkt.
This library doesn't have any dependencies, so it's easy to install anywhere.
Shapely + wkt
TODO
GeoPandas + wkt
TODO
Sedona + wkt
TODO
Creating wkts
TODO
Contributing
Feel free to submit a pull request with additional WKTs!
You can also create an issue to discuss ideas before writing any code.
You can also check issues with the "help wanted" tag for contribution ideas.
Developing
You can run the test suite with uv run pytest tests.
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
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 wkt-0.1.1.tar.gz.
File metadata
- Download URL: wkt-0.1.1.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d7a45d9045928384cc2eea3dc88db56c03970afe6d2ba19dbaaefd54f5d4ed
|
|
| MD5 |
28230bea66f33d79d15bbae0ad70387d
|
|
| BLAKE2b-256 |
09cfc2f4c66ee45a3553ae1aaac8d5544654ae8c48286273ac9e5f709746c97f
|
File details
Details for the file wkt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: wkt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6f7f70dd8d948fc492fed0f8ec7c12025db81a640272674c54c295235345ba2
|
|
| MD5 |
a0a9603e70013950cb6fe3017a12e8ff
|
|
| BLAKE2b-256 |
955bc4e67c48c64757757cafe6bb8cabfe2d796e904570038168b47018eb93ca
|