Skip to main content

Python wrapper for the LEMONS library to generate anthropometry-based, non-circular pedestrian shapes, visualize crowds, and simulate 2D dynamics.

Project description

Project icon

PyPI

lemon LEMONS: An Open-Source Platform to Generate Non-Circular, Anthropometry-Based Pedestrian Shapes and Simulate Their Mechanical Interactions in 2D

Documentation

Comprehensive installation guidelines, tutorials, and a complete API reference are available in our official documentation.

Authors

  • Oscar Dufour
  • Maxime Stapelle
  • Alexandre Nicolas

This project is developed at Institute of Light and Matter.

Citation

CITATION.cff

If you use LEMONS, we encourage you to cite or reference this work as you would any other scientific research. The package is a result of a huge amount of time and effort invested by the authors. Citing us allows us to measure the impact of the research and encourages others to use the library.

Cite us:

@article{lemons_2025_14906931,
    author    = {Dufour, Oscar and Stapelle, Maxime and Nicolas, Alexandre},
    title     = {LEMONS - An open-source platform to generate non-circuLar, anthropometry-based pEdestrian shapes and simulate their Mechanical interactiONS in two dimensions},
    journal   = {SciPost Phys. Codebases},
    publisher = {SciPost},
    month     = {dec},
    year      = {2025},
    version   = {v1.0.5},
}

An example of a generated crowd

Project icon

An example of a crowd simulation

Forward propagation of a push through a row of people (experience from Feldmann S., Adrian J., 2023). Dotted lines: measured head trajectories, solid lines: simulation.

An example of a crowd simulation.

An example of a 3D crowd

A crowd in 3D. Here, the female specimen’s legs are together (touching), whereas the male specimen’s legs are apart.

License

Every part of LEMONS is available under the CeCILL-B license.

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

lemons_crowd-1.0.5.tar.gz (91.4 kB view details)

Uploaded Source

Built Distribution

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

lemons_crowd-1.0.5-py3-none-any.whl (122.2 kB view details)

Uploaded Python 3

File details

Details for the file lemons_crowd-1.0.5.tar.gz.

File metadata

  • Download URL: lemons_crowd-1.0.5.tar.gz
  • Upload date:
  • Size: 91.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.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 lemons_crowd-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d0f76b3d4c0770ecee53611cb8229cb5f2f69b5b656d44089ecd7699e9ff2c0d
MD5 164338a4041784a8dc2b6e70e54c1c75
BLAKE2b-256 4f3db1a44c294167c857f9c462a16821878013dc761b20982f912c2ecd9f61e3

See more details on using hashes here.

File details

Details for the file lemons_crowd-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: lemons_crowd-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 122.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.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 lemons_crowd-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 496ff784bbfd4e4af8f4999360a35f7eb93891e59a6248ae6da079ce31d64e75
MD5 031b25f7531cad0942c2c7ed7e7277c9
BLAKE2b-256 bd4ea2b30853248c374e9531393993f3c0308dccaa2c1a4296d1ffb9651d5b34

See more details on using hashes here.

Supported by

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