Skip to main content

This is an example of the design-by-contract approach

Project description


Authors and Contributors

Tung M. Phan (Caltech)


This project involves the contract-based design and implementation of an autonomous traffic intersection system that may be extended and composed with other systems of the same class.


Python 3.x
Packages: see requirements.txt


  1. Install all required packages
  2. Modify parameters if desired
  3. Run

Installation (optional)

  1. Install with pip3 install traffic-intersection
  2. Create a new .py file and enter
import traffic_intersection.main
  1. Run the .py file


This is free software released under the terms of `the BSD 3-Clause License ( There is no warranty; not even for merchantability or fitness for a particular purpose. Consult LICENSE for copying conditions.

When code is modified or re-distributed, the LICENSE file should accompany the code or any subset of it, however small. As an alternative, the LICENSE text can be copied within files, if so desired.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for traffic-intersection, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size traffic_intersection-0.1.6-py3-none-any.whl (649.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size traffic-intersection-0.1.6.tar.gz (601.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page