Skip to main content

Generating origin-destination matrices in Python

Project description

GeMMM - Generalized Mobile Movement Model

This package allows users to sample origin-destination matrices describing the movement of individuals between different areas of the UK. Since samples are drawn from models previously parameterized using mobile telecoms data, multiple realizations can quickly be generated with only a few lines of code. Full documentation for the package, including a tutorial, is available on the documentation page.

Installation

The simplest way to install GeMMM is from PyPI using pip

pip install gemmm

Alternatively, a copy of the source code can be downloaded from the GitHub repository

git clone https://github.com/ukhsa-collaboration/gemmm.git

and the relevant dependencies, and GeMMM, can be installed

cd gemmm
pip install -r requirements.txt
pip install .

The installation from source is successful if the following tests produce no errors:

python -m unittest discover -s tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemmm-1.0.0.tar.gz (90.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemmm-1.0.0-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

Details for the file gemmm-1.0.0.tar.gz.

File metadata

  • Download URL: gemmm-1.0.0.tar.gz
  • Upload date:
  • Size: 90.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gemmm-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9b459fd9cc28b467c5ce882f5c6fad7ed8382fc02a0ececcc950f74669f345c2
MD5 c7282c479ce5675ce1974fdee6d6c2c9
BLAKE2b-256 65a114c5b50674aeaa8490e20b4cc6d92187f1cbc95d44544df300b65dbc693d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gemmm-1.0.0.tar.gz:

Publisher: distribute_package.yml on ukhsa-collaboration/gemmm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gemmm-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gemmm-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 88.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gemmm-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 334b6c243823ee96333916c557a12786e68a5a2fc1cc231d9bbd5075e51efb7d
MD5 2471debeb1ca0f03cb1288ea91c99449
BLAKE2b-256 7729ae2127b1b57ef57c7cda70875fcd8e488bfe3b6b60df2830d2b3d94113cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gemmm-1.0.0-py3-none-any.whl:

Publisher: distribute_package.yml on ukhsa-collaboration/gemmm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page