Metadata-Version: 2.1
Name: flexidispatch
Version: 0.0.4
Summary: A description of your project
Home-page: https://github.com/catethos/flexidispatch/tree/master/
Author: catethos
Author-email: cloverethos@gmail.com
License: Apache Software License 2.0
Keywords: multipledispatch JSON
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Flexidispatch
> to dispatch according to arbitary criteria 


## Install

`pip install flexidispatch`

## How to use

Fill me in please! Don't forget code examples:

```python
process = Multimethod("processing payload", lambda x: x["framework"])

@process.add("polaris")
def f(x):
    return "I am polaris"

@process.add("vega")
def f(x):
    return "I am vega"
```

```python
process({
    "framework":"polaris",
    "scores":{"P":1,"O":1}
})
```




    'I am polaris'



```python
process({
    "framework":"vega",
    "x":[1,2],
    "scores":{"V":1,"E":1}
})
```




    'I am vega'




