Skip to main content

mwm.py

It is a python library to read contents of MAPS.ME mwm files. Not everything is supported, but you can get at least all the features and their attributes. We at MAPS.ME use this script to do analytics and maintenance.

Installation

pip install mwm

Usage

Just add import mwm to your script, and read an mwm file with:

with open('file.mwm', 'rb') as f:
    data = mwm.MWM(f)

Tools

The package installs the mwmtool command-line script. It shows statistics about an MWM file, can search for features or convert ids. Run it with -h to see a list of options.

The script source can serve as a library usage example.

License

Written by Ilya Zverev for MAPS.ME. Published under the Apache License 2.0.

Metadata

Release files for mwm 0.10.1

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

Source distribution (sdist)

Source distribution for mwm 0.10.1
File Size Uploaded
mwm-0.10.1.tar.gz 15.8 kB Details

Release files / mwm-0.10.1.tar.gz

Download URL mwm-0.10.1.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3acec2082a47961141ada5135de3c0aab2c359cdd2fd78f7151ad1e185a5a27f
BLAKE2b-256 checksum
How to use checksums
c07a2670b456e33452839ea6399fcda773fbc5baac05b8d9113e5170c9cdc3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.10.1 This release

1 release file

0.10.0

1 release file

0.9.0

1 release file

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