Euler diagrams in python
Project description
Euler's diagrams are non-empty Venn's diagrams. For further information about:
- the library: on URL https://eule.readthedocs.io;
- Euler diagrams: on 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 command python example.py
on the folder with file example.py
and following content:
#!/usr/bin/env python
import eule
set = {
'a': [1, 2, 3],
'b': [2, 3, 4],
'c': [3, 4, 5],
'd': [3, 5, 6]
}
diagram = eule.euler(set)
# Euler dictionary: {'a,b': [2], 'b,c': [4], 'a,b,c,d': [3], 'c,d': [5], 'd': [6], 'a': [1]}
print(diagram)
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.3.3.tar.gz
(5.1 kB
view details)
Built Distribution
eule-0.3.3-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file eule-0.3.3.tar.gz
.
File metadata
- Download URL: eule-0.3.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.8.10 Linux/5.15.0-69-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8204be36cbc4ad52b6f7b6b948a82fe1645ea65b700928238faf12916dcf3d6 |
|
MD5 | e818705b8f3cfd91e543b33de5696c80 |
|
BLAKE2b-256 | f70f33a8e2471f02c3c5cd816c61def9664222081e5ed256b46160160ac9b620 |
File details
Details for the file eule-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: eule-0.3.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.8.10 Linux/5.15.0-69-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5598d4b49046592061b75aed92e7d6a2b40fc122935439bff1be2740b64f5815 |
|
MD5 | c36c17a89decf4b5c0cbe804e3b2f725 |
|
BLAKE2b-256 | 70981f16963649452f107a17c43f8edc9400c90185bceddbf45546c2d79de1df |