PyMEDM: Penalized Maximum-Entropy Dasymetric Modeling (P-MEDM) in Python
This is a GPU-ready Python port of PMEDMrcpp via jax and jaxopt. Support for usage on Windows is not guaranteed.
Installation
Conda-forge (recommended)
The pymedm feedstock is available via the conda-forge channel.
$ conda install --channel conda-forge pymedm
PyPI
pymedm is available on the Python Package Index.
$ pip install pymedm
Source
Directly via GitHub + pip
$ pip install git+https://github.com/likeness-pop/pymedm.git@develop
Download + pip
Download the source distribution (.tar.gz) and decompress where desired. From that location:
$ pip install .
Usage
- See usage examples in
./notebooks/
Development
- Clone the repository to the desired location.
- Install in editable mode
- Navigate to where the repo was cloned locally.
- Within that directory:
$ pip install -e .
- Open an Issue for discussion
- In a branch off
develop, implement update/bug fix/etc. - Create a minimal Pull Request with clear description linked back to the associated issue from (3.)
- Wait for review from maintainers
- Adjust as directed
- Once merged, fetch down
origin/developand merge into the localdevelop - Delete the branch created in (4.)
- Start over at (2.)
References
- Leyk, S., Nagle, N. N., & Buttenfield, B. P. (2013). Maximum entropy dasymetric modeling for demographic small area estimation. Geographical Analysis, 45(3), 285-306.
- Nagle, N. N., Buttenfield, B. P., Leyk, S., & Spielman, S. (2014). Dasymetric modeling and uncertainty. Annals of the Association of American Geographers, 104(1), 80-95.
Release files for pymedm 2.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymedm-2.2.8.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymedm-2.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / pymedm-2.2.8.tar.gz
| Download URL | pymedm-2.2.8.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bad334ac7a7bda7f68adc55713857355331b219fcfb5570e833037d393be4923
|
|
BLAKE2b-256 checksum How to use checksums |
d923e111ce946448852a2453132aa575329ee71abcd587c8f65b4fbf2403fa04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Feb 10, 2026.
Transparency logRelease files / pymedm-2.2.8-py3-none-any.whl
| Download URL | pymedm-2.2.8-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c42a9da1d4649fbc7697d5c2e1f6ad48e4ac6988bc2f31dbc603e3b7895a4d40
|
|
BLAKE2b-256 checksum How to use checksums |
674416c40b0d00a6525fa73d616c44b8ca4ffbb76c4ebb34aab11014dbee5700
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Feb 10, 2026.
Transparency log