Fast KML processing in python
Project description
Introduction
KML is an XML geospatial data format and an OGC standard that deserves a canonical python implementation.
Fastkml is a library to read, write and manipulate KML files. It aims to keep it simple and fast (using lxml if available). Fast refers to the time you spend to write and read KML files as well as the time you spend to get acquainted to the library or to create KML objects. It aims to provide all of the functionality that KML clients such as Marble, NASA WorldWind, Cesium JS, OpenLayers, Google Maps, and Google Earth support.
For more details about the KML Specification, check out the KML Reference on the Google developers site.
Geometries are handled as pygeoif objects, which are compatible with any geometry that implements the __geo_interface__ protocol, such as shapely.
Fastkml is tested on CPython and PyPy, but it should work on alternative Python implementations (that implement the language specification >=3.8) as well.
Is maintained and documented:
Documentation
You can find all of the documentation for FastKML at fastkml.readthedocs.org. If you find something that is missing, please submit a pull request on GitHub with the improvement.
Install
You can install the package with pip install fastkml which will pull in all requirements.
Requirements
Optional
lxml:
pip install "fastkml[lxml]"
Limitations
Currently, the only major feature missing for the full Google Earth experience is the gx extension. Please submit a PR with the features you’d like to see implemented.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file fastkml-1.1.0.tar.gz
.
File metadata
- Download URL: fastkml-1.1.0.tar.gz
- Upload date:
- Size: 87.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a786a80733763c16f5505efd7160a526f43b093bde767c9b35e816459bc6074e |
|
MD5 | ccffea74aa7a3446d63ad532f5d3fb2a |
|
BLAKE2b-256 | 6af4759f7aa0e3647bec3a2750beaab7916f42443367f97c6087f8278e8ecec4 |
Provenance
The following attestation bundles were made for fastkml-1.1.0.tar.gz
:
Publisher:
run-all-tests.yml
on cleder/fastkml
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
fastkml-1.1.0.tar.gz
- Subject digest:
a786a80733763c16f5505efd7160a526f43b093bde767c9b35e816459bc6074e
- Sigstore transparency entry: 152809539
- Sigstore integration time:
- Predicate type:
File details
Details for the file fastkml-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: fastkml-1.1.0-py3-none-any.whl
- Upload date:
- Size: 107.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a79801ec677046d68bf56f95837e9057ed49aa51dda5421c6726a239df645f |
|
MD5 | 108d520294c26faefc69df8727559dc1 |
|
BLAKE2b-256 | 866da40a85bde02b02f6fd50b313efa08393ee4cc0533760b99640b86c65ba47 |
Provenance
The following attestation bundles were made for fastkml-1.1.0-py3-none-any.whl
:
Publisher:
run-all-tests.yml
on cleder/fastkml
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
fastkml-1.1.0-py3-none-any.whl
- Subject digest:
31a79801ec677046d68bf56f95837e9057ed49aa51dda5421c6726a239df645f
- Sigstore transparency entry: 152809540
- Sigstore integration time:
- Predicate type: