Skip to main content

Euler's diagrams are non-empty Venn's diagrams

Project description

.. image:: /images/eule_small.png :alt: a night owl :class: with-shadow :height: 10ex

.. image:: https://img.shields.io/pypi/v/eule.svg :target: https://pypi.python.org/pypi/eule

.. image:: https://codecov.io/gh/quivero/eule/branch/main/graph/badge.svg?token=PJMBaLIqar :target: https://codecov.io/gh/quivero/eule

.. image:: https://readthedocs.org/projects/eule/badge/?version=latest :target: https://eule.readthedocs.io/en/latest/?version=latest :alt: Documentation Status

.. image:: https://pyup.io/repos/github/brunolnetto/eule/shield.svg :target: https://pyup.io/repos/github/brunolnetto/eule/ :alt: Updates

Euler's diagrams are non-empty Venn's diagrams

How to install

.. code-block:: bash

pip install eule

Features

We run a *.py file with following content.

.. code-block:: python

#!/usr/bin/env python
from eule import spread_euler

diagram = spread_euler(
    {
        'a': [1, 2, 3],
        'b': [2, 3, 4],
        'c': [3, 4, 5],
        'd': [3, 5, 6]
    })

# Euler dictionary: {'a,b': [2], 'b,c': [4], 'a,b,c,d': [3], 'c,d': [5], 'd': [6], 'a': [1]}
print(diagram)

Credits

This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

======= History

0.1.0 (2022-10-30)

  • First release on PyPI.

Project details


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.1.2.tar.gz (62.5 kB view details)

Uploaded Source

Built Distribution

eule-0.1.2-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file eule-0.1.2.tar.gz.

File metadata

  • Download URL: eule-0.1.2.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for eule-0.1.2.tar.gz
Algorithm Hash digest
SHA256 34c838fd040db361ddb3c89160f41d81c2487d4e83ad2af4ff5c1020af58b241
MD5 d38a37ee002f8cea2b4dbd5b55682c4f
BLAKE2b-256 109d7a0cd40c73a25888f951a1ce2b6b8fc86b0dc42be5a561fe202e7a879cc7

See more details on using hashes here.

File details

Details for the file eule-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: eule-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for eule-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8bb4d65ccdbcd59fe489c239fbdb95e4fe2c2226872e2ec9b9c4a350378add1f
MD5 088132e070038569fe45c9737cd8e8a2
BLAKE2b-256 8a2255b77a9f4c5c39953a4b9a6da837fc3fb56d1dff83e47d579c8d1c5b10c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page