Metadata-Version: 2.1
Name: eventlogic
Version: 0.1.1
Summary: Performs logical operations on event-style data.
Author: Clayton Barnes
Author-email: barnes.clayton@icloud.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

## Description
 EventLogic is a lightweight library for performing logical operations on event-style or timestamp data. Logical operations on event-style data are commonplace in many fields. This library seeks to provide a generalized framework and methods for dealing with this data.

## Installation
EventLogic can be installed with `pip`.

```bash
pip install --upgreade pip
pip install eventlogic
```

## Examples

#There are 9 flavors of event interactions:
    
Case:   Event:    On Off Times:
        
                              
1        a:            |------|
         b: |------|   
         
         
2        a:            |------|
         b:     |------|
        
        
3        a:            |------|
         b:       |------|
         
         
4        a:             |------|
         b:             |------|
         
         
5        a:            |------|
         b:                 |------|
         
         
6        a:            |------|
         b:                   |------|
          
         
7        a:            |------|
         b:                      |------|  
        
        
8        a:            |------|
         b:             |---|  


9        a:            |------|
         b:          |----------|  


#If we look at case 1: 
```from eventlogic import Event
a = Event(3,4)
b = Event(1,2)
a > b
a < b
a | b
```

#If we look at case 9: 
```from eventlogic import Event
a = Event(3,4)
b = Event(2,5)
a in b
a not in b
c = a & b
```


