SiTT (Simulation of Traffic and Transport) is an agent-based simulation for pre-industrial trade routes.
Project description
SiTT (Simulation of Traffic and Transport)
SiTT is a program suite to simulate the traffic and transport of pre-industrial societies. It uses an agent-based approach to model the simulation. An agent can be thought of as a batch of cargo transported through the network (rather than an individual person travelling it).
Note: This suite was developed as part of the STRADA project at the University of Trier.
Main repository: https://codeberg.org/SiTT/SiTT
Public mirror: https://github.com/Simulation-of-Traffic-and-Transport/SiTT
Table of Contents
Installation
You need Python 3.11 or later to run SiTT Moreover, the principal components of the simulation are contained in a PostgreSQL database, more specifically one with the PostGIS extension. PostGis should be pretty recent and should have Geos >= 3.11.0 included, otherwise we will have to implement certain things in Python which will be pretty slow. SiTT also makes use of JSONB in PostgreSQL, but since this has been introduced in version 9.4, it is likely, your database server will support this feature anyway.
pip install sitt
After installation, you can run SiTT using it as a module:
python -m sitt
This will activate the command line interface and print a help message. For other ways to run SiTT, check out the examples below.
Dependencies
Installing SiTT as package should install all dependent packages, too. You might want to install them by hand and/or install the extra dependencies for certain use cases:
pip install -r requirements.txt
pip install -r requirements_extras.txt
The extras file contains optional python modules such as pytest or the binary Postgres package.
Testing
You can run unit tests using pytest:
pip install pytest
cd tests
pytest -v .
Documentation
You can read some documentation on the following pages:
- SiTT'S General Concept (with figures)
- Database Reference
Examples
Can be found in the examples directory.
License
sitt is distributed under the terms of the MIT license.
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
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
File details
Details for the file sitt-0.1.1.tar.gz.
File metadata
- Download URL: sitt-0.1.1.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-121035-tuxedo"}} HTTPX2/2.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7146656ffcaeb6742c4cbbb015d4f41c5dbdd80ff3646c045a282e508f23e5eb
|
|
| MD5 |
cf353f94ac0847effbcf98f9be792e44
|
|
| BLAKE2b-256 |
0b33fa41c676e4deba7b9c03f0feb6f73ba2cee19801eb6d16a0d6de7c52afd7
|
File details
Details for the file sitt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sitt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 139.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-121035-tuxedo"}} HTTPX2/2.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8e07fd716c2534acd23376e5fc35e958730b7c6bfdeb5e44ecaf3f52fd2637f
|
|
| MD5 |
104986f28dec59a52aaa87cbf12fecbe
|
|
| BLAKE2b-256 |
ae1ac074887ae43bc68e494b39ed09ba93f7e65825034e8654b881adfe39a09b
|