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 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.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)
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.4.tar.gz
(5.4 kB
view details)
Built Distribution
eule-0.2.4-py3-none-any.whl
(5.8 kB
view details)
File details
Details for the file eule-0.2.4.tar.gz
.
File metadata
- Download URL: eule-0.2.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-56-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcc249a6dd587ea1b4ab7d405ac41f0fe9eb6e0088c07d75bcbb18dd30c3e11e |
|
MD5 | 25cb2afe5acd521257ef1ffa51b47d78 |
|
BLAKE2b-256 | 9175f58e57b0322f257427dc3b39f7b84fa92235d5e4f3e1ab4ad8871fa5cbe0 |
File details
Details for the file eule-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: eule-0.2.4-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-56-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08abdcaf50c18b197aec61ebcbb5a7a1dc13b81e5ccf1be0b62b27ec32378f28 |
|
MD5 | 0c5f6968f1d3180b99b0664dcc8cb9a9 |
|
BLAKE2b-256 | 3a801696b52e508f1b3260e893bb8799c8658b48aa9aed6d8675d71f6667ab2a |