Euler diagrams in python
Project description
Euler's diagrams are non-empty Venn's diagrams. For further information about:
- the library: read the documentation on URL https://eule.readthedocs.io;
- Euler diagrams: read the wikipedia article https://en.wikipedia.org/wiki/Euler_diagram
Motivation
How to install
We run the command on desired installation environment:
pip install eule
Minimal example
We run a file with extension *.py
with following content:
#!/usr/bin/env python
from eule import spread_euler
set = {
'a': [1, 2, 3],
'b': [2, 3, 4],
'c': [3, 4, 5],
'd': [3, 5, 6]
}
diagram = spread_euler(set)
# Euler dictionary: {'a,b': [2], 'b,c': [4], 'a,b,c,d': [3], 'c,d': [5], 'd': [6], 'a': [1]}
print(diagram)
License
- Free software: MIT license
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eule-0.2.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
eule-0.2.2-py3-none-any.whl
(5.5 kB
view hashes)