Skip to content

overtime3/overtime

Repository files navigation

Overtime

dev-test-suite

A temporal networks library written in Python.

Simple Example

import overtime as ot

network = ot.TemporalDiGraph('Sample Network', data=ot.CsvInput('./data/network.csv'))
network.add_node('g')
network.add_edge('f', 'h', 3)
network.details()

>>>	Graph Details: 
	Label: SampleNetwork 
	Directed: True 
	Static: False
	#Nodes: 7 
	#Edges: 15

ot.Circle(network)
ot.calculate_reachability(network, 'b')
>>> 5

Extended Example

See tfl_example.py.

Install

Use the package manager pip to install overtime.

$ pip install overtime

License

MIT