Simulate Transit Distance After Pedestrianization (STDAP)
Supply and Demand based pedestrianization, moving bus-stops accordingly
This package simulates the effects of pedestrianization upon the average distance to transit stops in Dutch cities. Pedestrianization can be performed based on the population and the number of interesting destinations nearby. Bus stops can be moved by either moving them to the nearest valid location, or by completely redesigning the bus-network. This package is build to be capable of large scale simulations in a reasonable time frame. Simulations can be run from the provided gui, or in Python code directly.
Features
- Highly scalable simulations
- Great visualization of results
- Highly configurable
Getting started
The package can be used to simulate pedestrianization in the following way:
from STDAP.core.main_class import Simulator
sim = Simulator(datasets)
city_options = sim.get_cities()
sim.choose_city(city_name)
### Run a single pedestrianization for detailed results.
sim.Sim_trans_dist_single(percentage, options)
### Simulate for a range of pedestrianization percentages for fast results.
sim.Sim_trans_dist_single(start, stop, count, options)
Datasets can be downloaded from the Dutch Central Bureau of Statistics (CBS).
- https://www.cbs.nl/nl-nl/maatwerk/2025/40/kerncijfers-wijken-en-buurten-2025
- https://www.cbs.nl/nl-nl/dossier/nederland-regionaal/geografische-data/wijk-en-buurtkaart-2025
The dashboard gui can be started with the following code:
from STDAP.gui.dashboard import show_dashboard
show_dashboard()
A more detailed manual is available on the GitHub page (see Project links).
Configuration
The package is designed to be highly configurable. This can be done easily with the settings class.
from STDAP.config.settings import get_settings
settings = get_settings()
settings.parameter = value
Configurable parameters and their default values can be obtained with the describe method:
print(settings.describe())
Metadata
Release files for STDAP 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stdap-1.0.4.tar.gz | 35.4 kB | Without provenance | Details for stdap-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stdap-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for stdap-1.0.4-py3-none-any.whl |
Total release size: 73.0 kB
Release files / stdap-1.0.4.tar.gz
| Download URL | stdap-1.0.4.tar.gz |
|---|---|
| Size | 35.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91c05cf8be3c1d489d73771fbe0fbb1fbd86410a731a7e883cb8839569a7b2ec
|
|
BLAKE2b-256 checksum How to use checksums |
fa056ebef4ee9807b86df7e7d25a4b59b84a8accc55cc524179e4b23353c5a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / stdap-1.0.4-py3-none-any.whl
| Download URL | stdap-1.0.4-py3-none-any.whl |
|---|---|
| Size | 37.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
603823af9fd50c4af8c65754121d12df9565868a86b56aa219fb85fa94dbb724
|
|
BLAKE2b-256 checksum How to use checksums |
f95a598e5f9df701a09c66df0de6134a26c47d681061686a1a26e08c98cff098
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for STDAP 1.0.4
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.