Introduction
bykml is a library for reading, writing, and updating KML files. It uses dictionaries to make replacing values and adding KML elements simple.
Documentation
The kmlfactory module inside the bykml package provides:
KmlFactoryclassplacemark_templatefunction
These are used to create placemarks and add them to a KML structure.
Install
pip install bykml
Dependencies
Limitations
Because Python dictionaries can only hold one value per key, lists must be used when a KML tag needs multiple child items.
For example, a Folder containing multiple placemarks must represent those placemarks as a list.
Support for more flexible nested structures is currently under review.
For release history, see CHANGELOG.md.
Release files for bykml 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bykml-1.6.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bykml-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / bykml-1.6.0.tar.gz
| Download URL | bykml-1.6.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbc9e82c3df097c4e26f30ae3ece5766d7b10514b51b0adf3251cfbf10488910
|
|
BLAKE2b-256 checksum How to use checksums |
e2f9bc753d6fc574e37399f7526bdec5be887a878e01d66728869312db42ec98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logRelease files / bykml-1.6.0-py3-none-any.whl
| Download URL | bykml-1.6.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b6d751a6567ee13f69ec066e8659d81d6dda1b1939369b8105d8f2899aa7ade
|
|
BLAKE2b-256 checksum How to use checksums |
0ee17744d95ee7605dadd3a412bace53ec88c314a2f09dc58107e6a83b20ac3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency log