Skip to main content

Si.T.T. (Simulation of Traffic and Transport) is an agent-based simulation for pre-industrial trade routes.

Project description

Si.T.T. (Simulation of Traffic and Transport)

Si.T.T. 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).

PyPI - Version PyPI - Python Version

Note: This project is WIP at the moment and in pre-alpha status. Please come back later to test the full capabilities.

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.10 or later to run Si.T.T.

pip install sitt

After installation, you can run Si.T.T. 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 Si.T.T., check out the examples below.

Dependencies

Installing Si.T.T. 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
pytests -v .

Documentation

You can read some documentation on the following pages:

Examples

Can be found in the examples directory.

License

sitt is distributed under the terms of the MIT 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

sitt-0.0.3.dev0.tar.gz (282.5 kB view hashes)

Uploaded Source

Built Distribution

sitt-0.0.3.dev0-py3-none-any.whl (44.0 kB view hashes)

Uploaded Python 3

Supported by

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