Skip to main content

JuPedSim is an open source pedestrian dynamics simulator

Project description

DOI GitHub license

Introduction

JuPedSim is a library to simulate pedestrian dynamics. The main API is the jupedsim python module, we also support a C-API onto of which the python module is build.

For how to use JuPedSim see the code in examples

Questions and Suggestions

If you have a question or a problem and need support from our team feel free to open a new topic in GitHub discussions [https://github.com/PedestrianDynamics/jupedsim/discussions]

Please do not use the issue tracker for personal support requests.

Reporting bugs and requesting features

If you find a bug in the source code, a mistake in the documentation or think there is functionality missing you can help us by submitting an issue.

If you submit a bug please make sure to include:

  • What version / commit id you are using
  • What did you expect the software to do
  • What did the software do instead
  • A description of how to reproduce the issue if possible
  • Log output

If you submit a feature request please help us by including:

  • Use a clear and descriptive title for the issue to identify the suggestion.
  • Provide a step-by-step description of the suggested enhancement in as many details as possible.
  • Provide specific examples to demonstrate the steps.
  • Describe the current behavior and explain which behavior you expected to see instead and why.

Building from source

It should be possible to build on all major platforms, however we only test on a limited set:

Right now, we ensure a working Build for:

  • Windows 10
  • MacOS 13 (Ventura)
  • Ubuntu 22.04

General Information

All of the following descriptions assume the following layout on disk:

.
├── jupedsim <- code repository
└── jupedsim-build <- build folder

We support only a few settings. For a list of build options, please see [CMakeLists.txt] directly.

Build on Linux / MacOS / Windows

System Requirements

To compile from source you will need a C++20 capable toolchain to be available and development headers for python3.10 or later.

Configure and Compile

cmake -S jupedsim -B jupedsim-build
cmake --build jupedsim

How to use jupedsim

On Linux and MacOS you will find a file environment inside the build folder, this contains the PYTHONPATH required to import jupedsim. On Windows you will need to add the paths to the PYTHONPATH by yourself.

The following locations need to be on the PYTHONPATH

jupedsim-build/lib/
jupedsim/python_modules/jupedsim
jupedsim/python_modules/jupedsim-visualizer

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

jupedsim-0.12.0.tar.gz (24.4 MB view hashes)

Uploaded Source

Built Distributions

jupedsim-0.12.0-cp311-cp311-win_amd64.whl (495.2 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

jupedsim-0.12.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (674.5 kB view hashes)

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

jupedsim-0.12.0-cp311-cp311-macosx_13_0_arm64.whl (529.7 kB view hashes)

Uploaded CPython 3.11 macOS 13.0+ ARM64

jupedsim-0.12.0-cp310-cp310-win_amd64.whl (494.2 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

jupedsim-0.12.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (673.0 kB view hashes)

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

jupedsim-0.12.0-cp310-cp310-macosx_13_0_arm64.whl (528.3 kB view hashes)

Uploaded CPython 3.10 macOS 13.0+ ARM64

Supported by

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