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

Download files

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

Source Distribution

neworder-1.7.1.tar.gz (41.0 kB view details)

Uploaded Source

Built Distributions

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

neworder-1.7.1-cp314-cp314t-win_amd64.whl (412.1 kB view details)

Uploaded CPython 3.14tWindows x86-64

neworder-1.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (300.0 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

neworder-1.7.1-cp314-cp314t-macosx_11_0_arm64.whl (256.3 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

neworder-1.7.1-cp314-cp314-win_amd64.whl (401.8 kB view details)

Uploaded CPython 3.14Windows x86-64

neworder-1.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (303.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

neworder-1.7.1-cp314-cp314-macosx_11_0_arm64.whl (242.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

neworder-1.7.1-cp313-cp313-win_amd64.whl (391.8 kB view details)

Uploaded CPython 3.13Windows x86-64

neworder-1.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (303.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

neworder-1.7.1-cp313-cp313-macosx_11_0_arm64.whl (242.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

neworder-1.7.1-cp312-cp312-win_amd64.whl (391.8 kB view details)

Uploaded CPython 3.12Windows x86-64

neworder-1.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (303.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

neworder-1.7.1-cp312-cp312-macosx_11_0_arm64.whl (242.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file neworder-1.7.1.tar.gz.

File metadata

  • Download URL: neworder-1.7.1.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1.tar.gz
Algorithm Hash digest
SHA256 436640b4152804206df5edc702bef0b7850950375fda0de9b609e4cf8d8d3621
MD5 15786c7d5f0ec0d5679f464c9e56e520
BLAKE2b-256 7de1d31ef365d998b67cb7ef9f35c8448d2596aa1e4ef0533b815403322cca0c

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 412.1 kB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 d80203c84c657aa0cc9d43a29a45a1b8935606ec3df4004e1bcf5a2fe7c0e493
MD5 7dbb5e4e366cefadd03090d8e3122902
BLAKE2b-256 dc3c0103fbc2a9eaffb0d2d10ccad46cdd43d9433c964c93d058c0e0f19d92b3

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 300.0 kB
  • Tags: CPython 3.14t, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 afbe524efa8892a18280500b60e53973ed3bfed9a49f6e718693bb465c7e54d0
MD5 ca270b83629925e09e909f706c6080e2
BLAKE2b-256 718b9795790f24f0485eca81b0a4b7605e7d338cbd12a373f61384488adc0d51

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp314-cp314t-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 256.3 kB
  • Tags: CPython 3.14t, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 481b77b4a90516fad3e71d153715964c0b01602b2ccc2233ec5b44199e2b7508
MD5 a613a0fa5543ad3fdc56f337d8082c5e
BLAKE2b-256 fa9026727482aba7abe5f7308f90ffc376daead2b8e6b119dd3cbf8804310c85

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 401.8 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c4af3458fdd566dbcb845c36d45ea5ee310e4b2655f6b66ef8b0de0112dd6dc0
MD5 2632186ca90cc018ae702edd24f1e768
BLAKE2b-256 0c3aa0fc6fb95577a225e96b410a3cefe2b00483976ce7b3679856a92845f1ec

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 303.0 kB
  • Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c89eedf72798410f792fb532a3a45d0278b337775b5c1ad528e9a90311451122
MD5 c9e5098c163432c0dc83d29caffc6296
BLAKE2b-256 cd6ac048b88e47542c7a98808166956b41f9a94f77c5e2e41cf3c7276e636e4a

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 242.8 kB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2a7d0462d5526caba2a937dedd6535a8682dea582bd6bca4273f5daf6d19b198
MD5 25d0951fc21c0685f62e53d08ddd7bd6
BLAKE2b-256 f02ec606aa2adc7d4dfddea8d49a5855c7e8918213c4930e9bb81adcca737cf4

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 391.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 317685f20c0b1177d7b095725855cba0365dfcf1af9dc0d2d7c9f802a04af82f
MD5 d53b80abc0ecda1cf95d0619146b4ed0
BLAKE2b-256 9a8021c709ceac25cd77459603a3bb41a7bc7f89da9bad5fe2531229841c6e64

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 303.2 kB
  • Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2f43a6e7982cccb64de45d99ed13e15935408d0eab58c9c8671b8c1edab0b334
MD5 1b8940cba5ba9f187a79e1b7ac2af56c
BLAKE2b-256 3f23140720c0080ff17ee42149d4447e9c93ac124d02f83caf763f3cfa712c86

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 242.4 kB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a60dd8f7e9d94eec38c32400409692a09e5a9feb8841dba45cc427641989baee
MD5 19dd86f054cfaa4b1f4c65f18ccb4d92
BLAKE2b-256 2ea1e0a4fe634e13ab9aa3a6c4b8d418ccbfe4ae5b8b7eab7ddd8e77bf018c7b

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 391.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cba81f4af64c0c3cd5aa3c728546267a43b3c8d6c11b6eaf0413f8017e8e8ab7
MD5 63e71d9b695a0e84961cc0b9c712232a
BLAKE2b-256 81af947ba32ccb9704b2307d81f37070274a7ccef03bc972f82ed6c907d86e02

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 303.4 kB
  • Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e2d986d79628c801357d43c2155e118ce7be666eaf6b4e2d779a792c0219537
MD5 29c5f8968f319809e6df3ba766708e5f
BLAKE2b-256 85b49449f3d953e1b9e7bd6d563dbf9556872aaf2c0afba7f5b250cfb3b2a7ac

See more details on using hashes here.

File details

Details for the file neworder-1.7.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: neworder-1.7.1-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 242.3 kB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neworder-1.7.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d41779e7aa4d23e01bb96b11ee76e53d3872de7ade621fc047a05db8d82a90d
MD5 71c2ad274999ace619928361ed9c4bb0
BLAKE2b-256 5331323d13abc4dee8f0f0c061e4c106ce036bcd95408a182aff33501d5abd42

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.7.1 This release

13 files

1.7.0

1 file

1.6.0

1 file

1.5.1

1 file

1.5.0

1 file

1.4.4

1 file

1.4.3

1 file

1.4.2

1 file

1.4.1

1 file

1.4.0

1 file

1.3.1

1 file

1.3.0

1 file

1.2.1

1 file

1.2.0

1 file

1.1.1

1 file

1.1.0

1 file

1.0.1

1 file

1.0.0

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

1 file

Supported by

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