Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 2.0.0b1

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 2.0.0b1
File Size Uploaded Provenance Actions
neworder-2.0.0b1.tar.gz 195.1 kB Without provenance Details for neworder-2.0.0b1.tar.gz

Built distributions (wheels)

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

Total release size: 864.1 kB

Release files / neworder-2.0.0b1.tar.gz

Download URL neworder-2.0.0b1.tar.gz
Size 195.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f31e9d526c624009349ab0683897206ada9cc8a0987da0d4ef0673b43c043d1f
BLAKE2b-256 checksum
How to use checksums
7d77847d8a3552d2b12bb0bc12e1f7456a715b4f539ceb18432a71932617cb98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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-2.0.0b1-cp313-abi3-win_amd64.whl

Download URL neworder-2.0.0b1-cp313-abi3-win_amd64.whl
Size 341.3 kB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4e2704e7de5431cd9ac31e04da5cf067d724a20238b01abbc7d30e087ddf8453
BLAKE2b-256 checksum
How to use checksums
f2fd7881eec26243652f35db78e0cfcf1b901935e0c42cf051c046ca16e587db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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-2.0.0b1-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL neworder-2.0.0b1-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 184.0 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
34b6acc2ef298a93d3cad80182e677fa4a7fa640f9577f12f36e0e06538565d2
BLAKE2b-256 checksum
How to use checksums
9ead5cd351979622c630435e62516bf1df8f9f67c1a1b7981e30e65ec1213b7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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-2.0.0b1-cp313-abi3-macosx_11_0_arm64.whl

Download URL neworder-2.0.0b1-cp313-abi3-macosx_11_0_arm64.whl
Size 143.7 kB
Tags CPython 3.13 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
13c0716cbfc7f74bb64216c7edca8ce2c1923b4a7d9de9dc64eccc96192146fd
BLAKE2b-256 checksum
How to use checksums
68ad928455a65baa5550b8e6b0ef8a6a4931480ff126e65482318faa914f79cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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 2.0.0b1

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
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