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.

Filename, size & hash SHA256 hash help File type Python version Upload date
traffic_intersection-0.1.6-py3-none-any.whl (649.6 kB) Copy SHA256 hash SHA256 Wheel py3
traffic-intersection-0.1.6.tar.gz (601.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page