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.0b2

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

Built distributions (wheels)

Table of built distributions (wheels) for neworder 2.0.0b2
File Interpreter ABI Platform Actions
neworder-2.0.0b2-cp313-abi3-win_amd64.whl CPython 3.13 abi3 Windows x86-64 Details for neworder-2.0.0b2-cp313-abi3-win_amd64.whl
neworder-2.0.0b2-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.0b2-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
neworder-2.0.0b2-cp313-abi3-macosx_11_0_arm64.whl CPython 3.13 abi3 macOS 11.0+ ARM64 Details for neworder-2.0.0b2-cp313-abi3-macosx_11_0_arm64.whl

Total release size: 870.2 kB

Release files / neworder-2.0.0b2.tar.gz

Download URL neworder-2.0.0b2.tar.gz
Size 200.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bad5e2b4364e96ed5066e94e1f6ba340d08f4dfe125caa8ff8b99033d6d0bc09
BLAKE2b-256 checksum
How to use checksums
0cf6426c607561b537eb297d7eef45f6c97de8630beee45a96827c16846045cf
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.0b2-cp313-abi3-win_amd64.whl

Download URL neworder-2.0.0b2-cp313-abi3-win_amd64.whl
Size 341.9 kB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fb025485eac2463e4451fd12e7f0072276286ecef4803de7c7ff669688bac7d5
BLAKE2b-256 checksum
How to use checksums
d5872c9bfc17cdbc1a44ef522ea05723d00109be210a7953c0053e130c96ae46
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.0b2-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL neworder-2.0.0b2-cp313-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 183.6 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
bfeeae26110b97383993db09f5b732bf66e3b45528c609165438fbda252f1706
BLAKE2b-256 checksum
How to use checksums
d064013e7d5ed8b50c2630bd2792ba61cb83c6c2b7cc03fabdeb8fe427a8602e
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.0b2-cp313-abi3-macosx_11_0_arm64.whl

Download URL neworder-2.0.0b2-cp313-abi3-macosx_11_0_arm64.whl
Size 143.9 kB
Tags CPython 3.13 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
55be6d47d003cccf88170640f4a5e5a98d4be7c6ec11bb48994c90fa0f0eb2a3
BLAKE2b-256 checksum
How to use checksums
263eea590f08361539f7e6650f0b174ed8260b903d6ed743530a0dbc9759070f
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.0b2

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