Skip to main content

pygml

A pure python parser for OGC GML Geometries.

PyPI version CI Documentation Status

Installation

$ pip install pygml

Features

Parse GML 3.1, 3.2, compact encoded GML 3.3 and GeoRSS geometries to a __geo_interface__ compliant class.

>>> import pygml
>>> geom = pygml.parse("""
... <gml:Point gml:id="ID" xmlns:gml="http://www.opengis.net/gml/3.2">
...    <gml:pos>1.0 1.0</gml:pos>
... </gml:Point>
... """)
>>> print(geom)
Geometry(geometry={'type': 'Point', 'coordinates': (1.0, 1.0)})
>>> print(geom.__geo_interface__)
{'type': 'Point', 'coordinates': (1.0, 1.0)}

Metadata

Release files for pygml 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygml 0.1.0
File Size Uploaded Provenance Actions
pygml-0.1.0.tar.gz 13.4 kB Without provenance Details for pygml-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pygml 0.1.0
File Interpreter ABI Platform Actions
pygml-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for pygml-0.1.0-py2.py3-none-any.whl

Total release size: 32.6 kB

Release files / pygml-0.1.0.tar.gz

Download URL pygml-0.1.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
794773266dc55424efeb5109190c3a6ee63f6c5fd993d92fb90ab43abbd4338b
BLAKE2b-256 checksum
How to use checksums
0b60132e0dcc69f93a700a180d03706a3514ea477d9451c252c0ebaf8cacc966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / pygml-0.1.0-py2.py3-none-any.whl

Download URL pygml-0.1.0-py2.py3-none-any.whl
Size 19.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2e0fa046b70b16aaccb531cde5cd92f1a5d1454b27f4b598b855b7719258fb9a
BLAKE2b-256 checksum
How to use checksums
6171f153eb0cabfe2fe9038e71dceff2c78091c8500ac0c7b047bedb52c1c1d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for pygml 0.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page