Skip to main content

neworder

PyPI - Python Version PyPI

License DOI status

Build and test MPI test codecov Documentation Status Codacy Badge

neworder is a microsimulation framework inspired by openm++, MODGEN and, to a lesser extent, the python-based LIAM2 tool, and can be thought of as a powerful best-of-both-worlds hybrid of MODGEN and LIAM2. Modellers can define their models in a simple, well-known language, yet benefit from the efficiency of compiled code and parallel execution:

  • python module: easy to install and integrate, available on all common platforms
  • low barriers to entry: users need only write standard python code, little or no new coding skills required.
  • flexibility: models are specified in python code, so can be arbitrarily complex
  • data agnosticism: the framework does not impose any constraints on data formats for either sources or outputs.
  • reusability: leverage python modules like numpy, pandas and matplotlib.
  • reproducibility: built-in, customisable random generator seeding strategies
  • speed: the module is predominantly written in optimised C++ and provides fast Monte-Carlo, statistical and data manipulation functions.
  • compatibility: operate directly on numpy arrays and pandas DataFrames
  • scalability: can be run on a desktop or a HPC cluster, supporting parallel execution using MPI.

System Requirements

neworder requires python 3.13 or above and runs on 64-bit linux, OSX and Windows platforms. To take advantage of the optional parallel execution functionality, you will also need an MPI implementation, such as open-mpi or mpich. Note that MPI packages are not currently available for Windows via pip - Windows users must install an MPI runtime separately (e.g. MS-MPI) and use the parallel-native extra.

Installation

The package can be installed from pypi.

For a basic (serial only) installation,

pip install neworder

or to enable parallel execution using MPI use one of the following:

pip install neworder[parallel-openmpi]  # install the openmpi runtime in the virtual environment
pip install neworder[parallel-mpich]  # install the mpich runtime in the virtual environment
pip install neworder[parallel-native]  # use the system's mpi runtime

and to enable the (geo)spatial graph functionality:

pip install neworder[geospatial]

or a combination of the two:

pip install neworder[parallel-openmpi,geospatial]

Documentation

To get started first see the detailed documentation here. Then, check out "Hello World" and the other examples.

Using an AI coding agent?

neworder ships an installable agent skill - run neworder-skill --install and your agent gets a built-in reference for writing neworder models correctly. See Agent Skill.

Metadata

Release files for neworder 1.8.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 neworder 1.8.0
File Size Uploaded Provenance Actions
neworder-1.8.0.tar.gz 189.2 kB Without provenance Details for neworder-1.8.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for neworder 1.8.0
File Interpreter ABI Platform Actions
neworder-1.8.0-cp313-abi3-win_amd64.whl CPython 3.13 abi3 Windows x86-64 Details for neworder-1.8.0-cp313-abi3-win_amd64.whl
neworder-1.8.0-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for neworder-1.8.0-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
neworder-1.8.0-cp313-abi3-macosx_11_0_arm64.whl CPython 3.13 abi3 macOS 11.0+ ARM64 Details for neworder-1.8.0-cp313-abi3-macosx_11_0_arm64.whl

Total release size: 892.9 kB

Release files / neworder-1.8.0.tar.gz

Download URL neworder-1.8.0.tar.gz
Size 189.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e05bed04891436419389c9eccf6f6fc329633e1fafb645c53fa8ed75622825dd
BLAKE2b-256 checksum
How to use checksums
84e84fdc415fd28d777b7938d547f9b262542215fb6f540f981c06bdefc1ae61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / neworder-1.8.0-cp313-abi3-win_amd64.whl

Download URL neworder-1.8.0-cp313-abi3-win_amd64.whl
Size 353.2 kB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d0f7a8a90e2f2fc245c94a3c158c9f885a13be751f3adcca17b14b7afe24be55
BLAKE2b-256 checksum
How to use checksums
76d39666238a81b62b173f01a655ffd4fb4d10e93865457ab7b760616565b26e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / neworder-1.8.0-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL neworder-1.8.0-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 197.8 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9d9aba231d8df1bf1cbb034691e7cc8d8ddf08268fed50b5b78501fe95f1e415
BLAKE2b-256 checksum
How to use checksums
108eb524453c5161fdb693844498a87ba6b0a45c98737c0fb1d20a3408b44ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / neworder-1.8.0-cp313-abi3-macosx_11_0_arm64.whl

Download URL neworder-1.8.0-cp313-abi3-macosx_11_0_arm64.whl
Size 152.7 kB
Tags CPython 3.13 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9aa850a67cc97a958357bd7af82fd3e01ddd97505b4ab0bcb938e59cc9356060
BLAKE2b-256 checksum
How to use checksums
7760d1573fce7913ab358bfa42351ccde1f5a8792396c0ab819a415e43256871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for neworder 1.8.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.

Release history Release notifications | RSS feed

This release

1.8.0 This release

4 release files No provenance

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