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.2.tar.gz
(4.7 kB
view details)
Built Distribution
eule-0.3.2-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file eule-0.3.2.tar.gz
.
File metadata
- Download URL: eule-0.3.2.tar.gz
- Upload date:
- Size: 4.7 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 | 27d1aafb1e5bc22f652288baf14e2eaa10118c2fb185fd19a2d07c9443ccbf0b |
|
MD5 | 11facb1c7d67822551821ddf53f0293a |
|
BLAKE2b-256 | 7f20f4244dd87391750d173f1cf9e21e6a51d7032bf6f0de2d17e87169600d09 |
File details
Details for the file eule-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: eule-0.3.2-py3-none-any.whl
- Upload date:
- Size: 5.2 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 | 364ad4ef151cc32380d9bd151ee743647aef9485d34bfbbdfe0f7cc42829110c |
|
MD5 | 4755daf4b2514b91c10e66b909d4ffd0 |
|
BLAKE2b-256 | 82f5a4277051150f1410b8b30516afa451f4a64e90d35cb7fa359c976b12597e |