Fast KML processing in python
Project description
FastKML
A Python library for reading, writing and manipulating KML files.
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.
Features
Simple and fast: Easy-to-use API with fast performance
Geometry support: Handles geometries as pygeoif objects, compatible with any geometry that implements the __geo_interface__ protocol, such as shapely
Cross-platform compatibility: Tested on CPython, PyPy and GraalPy
Python 3.9+: Works on alternative Python implementations that support Python >=3.9
Status
Quality Assurance:
Package Information:
Documentation & Community:
Installation
Basic Installation
Install the package using pip:
pip install fastkml
This will install FastKML with all required dependencies.
With Optional Dependencies
For enhanced performance, install with lxml:
pip install "fastkml[lxml]"
Using Conda
You can also install FastKML using conda-forge:
conda install -c conda-forge fastkml
Requirements
Required Dependencies
Optional Dependencies
lxml - For improved XML parsing performance (recommended)
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.
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.
Contributing
We welcome contributions! Please check out our contributing guide for guidelines on how to contribute.
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
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 fastkml-1.4.0.tar.gz.
File metadata
- Download URL: fastkml-1.4.0.tar.gz
- Upload date:
- Size: 91.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e09062f2e6557acb3618ecf6783a9329f4bb3f7e1d070a1b4d7bfab718e278
|
|
| MD5 |
01e7a48b3de272bbda755492b3e00c5f
|
|
| BLAKE2b-256 |
d9b4490e0e3eea8ceb92cd859e931534283cf4f9d7cff495e2f110c23121d1af
|
Provenance
The following attestation bundles were made for fastkml-1.4.0.tar.gz:
Publisher:
run-all-tests.yml on cleder/fastkml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastkml-1.4.0.tar.gz -
Subject digest:
f9e09062f2e6557acb3618ecf6783a9329f4bb3f7e1d070a1b4d7bfab718e278 - Sigstore transparency entry: 666838896
- Sigstore integration time:
-
Permalink:
cleder/fastkml@e6240e6abe881b86b88df19d038ca30a88db57e3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cleder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
run-all-tests.yml@e6240e6abe881b86b88df19d038ca30a88db57e3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fastkml-1.4.0-py3-none-any.whl.
File metadata
- Download URL: fastkml-1.4.0-py3-none-any.whl
- Upload date:
- Size: 114.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9df25e165df9aebd0dea48ad76f10defd3553d61f88e37c03156772eeb357342
|
|
| MD5 |
dcc8ca97b7e27a9fa2aa62844a38d9ad
|
|
| BLAKE2b-256 |
4a73f70d48a91a9915ebb7215d41d7500f991c6f5b56d9d9d7e571e6df462b77
|
Provenance
The following attestation bundles were made for fastkml-1.4.0-py3-none-any.whl:
Publisher:
run-all-tests.yml on cleder/fastkml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastkml-1.4.0-py3-none-any.whl -
Subject digest:
9df25e165df9aebd0dea48ad76f10defd3553d61f88e37c03156772eeb357342 - Sigstore transparency entry: 666838942
- Sigstore integration time:
-
Permalink:
cleder/fastkml@e6240e6abe881b86b88df19d038ca30a88db57e3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cleder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
run-all-tests.yml@e6240e6abe881b86b88df19d038ca30a88db57e3 -
Trigger Event:
push
-
Statement type: