{"id":26223101,"url":"https://github.com/pedestriandynamics/pedpy","last_synced_at":"2025-06-16T08:05:50.841Z","repository":{"id":37930867,"uuid":"460164744","full_name":"PedestrianDynamics/PedPy","owner":"PedestrianDynamics","description":"Analysis of pedestrian dynamics based on trajectory files.","archived":false,"fork":false,"pushed_at":"2025-05-22T17:31:04.000Z","size":79188,"stargazers_count":17,"open_issues_count":28,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-22T18:04:16.522Z","etag":null,"topics":["analysis-framework","pedestrian","python","science-research"],"latest_commit_sha":null,"homepage":"https://pedpy.readthedocs.io","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PedestrianDynamics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-16T20:21:19.000Z","updated_at":"2025-05-22T17:01:44.000Z","dependencies_parsed_at":"2023-09-23T14:32:49.739Z","dependency_job_id":"bc97f1a4-5ed4-4d10-8abc-d65ed0db8c92","html_url":"https://github.com/PedestrianDynamics/PedPy","commit_stats":{"total_commits":175,"total_committers":6,"mean_commits":"29.166666666666668","dds":0.02857142857142858,"last_synced_commit":"b7edc30de2431805cd455863e827a2ebff316328"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/PedestrianDynamics/PedPy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedestrianDynamics%2FPedPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedestrianDynamics%2FPedPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedestrianDynamics%2FPedPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedestrianDynamics%2FPedPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PedestrianDynamics","download_url":"https://codeload.github.com/PedestrianDynamics/PedPy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedestrianDynamics%2FPedPy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260124032,"owners_count":22962199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis-framework","pedestrian","python","science-research"],"created_at":"2025-03-12T17:29:11.542Z","updated_at":"2025-06-16T08:05:50.814Z","avatar_url":"https://github.com/PedestrianDynamics.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"docs/source/_static/logo_text.svg\" height=\"100px\" alt=\"PedPy Logo\"\u003e\n\u003c/div\u003e\n\n-----------------\n[![PyPI Latest Release](https://img.shields.io/pypi/v/pedpy.svg)](https://pypi.org/project/pedpy/)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pedpy)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7194992.svg)](https://doi.org/10.5281/zenodo.7194992)\n[![License](https://img.shields.io/pypi/l/pedpy.svg)](https://github.com/PedestrianDynamics/pedpy/blob/main/LICENSE)\n![ci workflow](https://github.com/PedestrianDynamics/pedestrian-trajectory-analyzer/actions/workflows/ci.yml/badge.svg)\n[![codecov](https://codecov.io/gh/PedestrianDynamics/PedPy/graph/badge.svg?token=X5C9NTKAVK)](https://codecov.io/gh/PedestrianDynamics/PedPy)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![Documentation Status](https://readthedocs.org/projects/pedpy/badge/?version=latest)](http://pedpy.readthedocs.io/?badge=latest)\n[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/7046/badge)](https://bestpractices.coreinfrastructure.org/projects/7046)\n[![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F-green)](https://fair-software.eu)\n\n# PedPy: Analysis of pedestrian dynamics based on trajectory files.  \n\n*PedPy* is a python module for pedestrian movement analysis. \nIt implements different measurement methods for density, velocity and flow.\n\nIf you use *PedPy* in your work, please cite it using the following information from zenodo:\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7194992.svg)](https://doi.org/10.5281/zenodo.7194992)\n\n\n## Getting started\n\n### Setup Python\n\nFor setting up your Python Environment a Python version \u003e= 3.11 is recommended (our code is tested with 3.11, 3.12, and 3.13).\nTo avoid conflicts with other libraries/applications the usage of virtual environments is recommended, see [Python Documentation](https://docs.python.org/3/library/venv.html) for more detail.\n\n### Installing PedPy\n\nTo install the latest **stable** version of *PedPy* and its dependencies from PyPI:\n```bash\npython3 -m pip install pedpy\n```\n\nYou can also install the latest version of *PedPy* directly from the repository, by following these steps:\n\n1. Uninstall an installed version of *PedPy*:\n```bash\npython3 -m pip uninstall pedpy\n```\n\n2. Install latest version of *PedPy* from repository:\n```\npython3 -m pip install git+https://github.com/PedestrianDynamics/PedPy.git\n```\n\n### Usage\n\nFor first time users, have a look at the [getting started notebook](notebooks/getting_started.ipynb), as it shows the first steps to start an analysis with *PedPy*.\nA more detailed overview of *PedPy* is demonstrated in the [user guide notebook](notebooks/user_guide.ipynb).\nThe [fundamental diagram notebook](notebooks/fundamental_diagram.ipynb) shows how to use *PedPy* for computing the fundamental diagram of a series of experiments.\n\n#### Interactive online session\n\nIf you want to try out *PedPy* for the first time, you can find an interactive online environments for both notebooks here:\n\n- Getting started: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/PedestrianDynamics/PedPy/main?labpath=notebooks%2Fgetting_started.ipynb)\n- User guide: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/PedestrianDynamics/PedPy/main?labpath=notebooks%2Fuser_guide.ipynb)\n- Fundamental diagram: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/PedestrianDynamics/PedPy/main?labpath=notebooks%2Ffundamental_diagram.ipynb)\n\n**Note:** \nThe execution might be slower compared to a local usage, as only limited resources are available.\nIt is possible to also upload different trajectory files and run the analysis completely online, but this might not be advisable for long computations.\n\n#### Local usage of the notebooks\n\nFor local usage of the notebooks, you can either download the notebooks and [demo files](notebooks/demo-data) from the GitHub repository or clone the whole repository with:\n```bash \ngit clone https://github.com/PedestrianDynamics/pedpy.git\n```\n\nFor using either of the notebook some additional libraries need to be installed, mainly for plotting.\nYou can install the needed libraries with:\n\n```bash\npython3 -m pip install jupyter matplotlib\n```\n\nAfterward, you can start a jupyter server with:\n\n```bash\njupyter notebook\n```\n\nAfter navigating to one of the notebooks, you can see how the library can be used for different kinds of analysis.\n\nSome examples how the computed values can be visualized are also shown in the notebooks, e.g., density/velocity profiles, fundamental diagrams, N-T-diagrams, etc.\n\n![voronoi](figs/voronoi_diagrams.png)\n\n![density](figs/density_comparison.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedestriandynamics%2Fpedpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedestriandynamics%2Fpedpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedestriandynamics%2Fpedpy/lists"}