A lightweight traffic assignment and simulation engine for networks encoded in GMNS
Project description
TAPLite
TAPLite is a lightweight traffic assignment engine for networks encoded in GMNS.
Quick Start
Installation
pip install taplite
Traffic Assignment
One-Time Call
import taplite as tap
tap.assignment()
Recursive Call
import taplite as tap
from multiprocessing import freeze_support
if __name__ == '__main__':
freeze_support()
while True:
tap.assignment()
Build TAPLite from Scratch
1. Build the C++ Shared Library
# from the root directory of TAPLite
cmake -S . -B build -DBUILD_EXE=OFF
cmake --build build
2. Build and Install the Python Package
# from the root directory of TAPLite
python -m pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
taplite-0.1.1.tar.gz
(395.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
taplite-0.1.1-py3-none-any.whl
(394.7 kB
view details)
File details
Details for the file taplite-0.1.1.tar.gz.
File metadata
- Download URL: taplite-0.1.1.tar.gz
- Upload date:
- Size: 395.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1cc14f447c3f9fe33f9000ffa7c54c52b75e1f8e41758df125f6bf4eae9ba8e
|
|
| MD5 |
8bce122d81d44aa4a59d42d831cc4aa8
|
|
| BLAKE2b-256 |
815c524ed5a2b3a441d654bc56b21ed958e4694dc479b6a1264c054867aeaa5e
|
File details
Details for the file taplite-0.1.1-py3-none-any.whl.
File metadata
- Download URL: taplite-0.1.1-py3-none-any.whl
- Upload date:
- Size: 394.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9897066f12b75ce33f6477b7a1752688d049131ea81106c3d0118e129466c91
|
|
| MD5 |
97d2824880ff0296299399b475b58548
|
|
| BLAKE2b-256 |
f8f06d2a8c1b36d8c3e8f4c94e9f0fd82712997bb4f9cfe6fd6c45f16568147d
|