venny4py


Namevenny4py JSON
Version 1.0.3 PyPI version JSON
download
home_pageNone
SummaryPython3 package to create Venn diagrams with 2-4 sets.
upload_time2024-09-02 14:29:03
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Venny4Py
Simple Venn diagrams for Python 3, up to 4 sets (for more than 4 sets it is better to use UpSet plot).
It will take as input a dictionary of 2-4 sets and produce a venn diagram and a txt file with element intersections.

**Dependencies:**

- itertools
- matplotlib


**Installation:**

    pip install venny4py

When installed, import:

    from venny4py.venny4py import *
    
    #dict of sets
    sets = {
        'Set1': set(list("Harry Potter")),
        'Set2': set(list("Hermione Granger")),
        'Set3': set(list("Ron Weasley")),
        'Set4': set(list("Severus Snape"))
    }
        
    venny4py(sets=sets)


**Parameters:**

- ***sets*** - disctionary of sets (required)
- ***out*** - directory to output files, default current directory
- ***asax*** - if diagram should be plotted as subplot, then provide matplotlib ax here. Default is 'False' which will plot new figure
- ***ext*** - image extension, default is 'png'.
- ***dpi*** - image resolution, default is 300 dpi.
- ***size*** - image size in inches, default is 3.5. If using custom ax through "asax" parameter, specify approximate size of subplot in inches since fontsize is dependent on this parameter.


Check "Examples.ipynb" https://github.com/timyerg/venny4py/blob/main/Examples.ipynb to see some examples.




            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "venny4py",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Timur Yergaliyev <timyerg@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/27/30/d9deba8c88b4c0c00610db579a542a8a469cbf16097d86c30175c4a96f70/venny4py-1.0.3.tar.gz",
    "platform": null,
    "description": "# Venny4Py\nSimple Venn diagrams for Python 3, up to 4 sets (for more than 4 sets it is better to use UpSet plot).\nIt will take as input a dictionary of 2-4 sets and produce a venn diagram and a txt file with element intersections.\n\n**Dependencies:**\n\n- itertools\n- matplotlib\n\n\n**Installation:**\n\n    pip install venny4py\n\nWhen installed, import:\n\n    from venny4py.venny4py import *\n    \n    #dict of sets\n    sets = {\n        'Set1': set(list(\"Harry Potter\")),\n        'Set2': set(list(\"Hermione Granger\")),\n        'Set3': set(list(\"Ron Weasley\")),\n        'Set4': set(list(\"Severus Snape\"))\n    }\n        \n    venny4py(sets=sets)\n\n\n**Parameters:**\n\n- ***sets*** - disctionary of sets (required)\n- ***out*** - directory to output files, default current directory\n- ***asax*** - if diagram should be plotted as subplot, then provide matplotlib ax here. Default is 'False' which will plot new figure\n- ***ext*** - image extension, default is 'png'.\n- ***dpi*** - image resolution, default is 300 dpi.\n- ***size*** - image size in inches, default is 3.5. If using custom ax through \"asax\" parameter, specify approximate size of subplot in inches since fontsize is dependent on this parameter.\n\n\nCheck \"Examples.ipynb\" https://github.com/timyerg/venny4py/blob/main/Examples.ipynb to see some examples.\n\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python3 package to create Venn diagrams with 2-4 sets.",
    "version": "1.0.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/timyerg/venny4py/issues",
        "Homepage": "https://github.com/timyerg/venny4py"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e29dc645095e64cdf254bc39ce3a9f41b07389556fa892d974035d94b0e3b08",
                "md5": "f5b042b43ce2faa3a95afb3a00295a5c",
                "sha256": "3af759dfa10a751b53f2597a539c51334226a532d5d48eea0da83eaab0b3d98e"
            },
            "downloads": -1,
            "filename": "venny4py-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5b042b43ce2faa3a95afb3a00295a5c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4485,
            "upload_time": "2024-09-02T14:29:01",
            "upload_time_iso_8601": "2024-09-02T14:29:01.563206Z",
            "url": "https://files.pythonhosted.org/packages/6e/29/dc645095e64cdf254bc39ce3a9f41b07389556fa892d974035d94b0e3b08/venny4py-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2730d9deba8c88b4c0c00610db579a542a8a469cbf16097d86c30175c4a96f70",
                "md5": "5b63cbfe12176b35568567a37f4959b7",
                "sha256": "14e1ee3bc08bd94517c7857d970f10d2bec6ae0d3120b45f29d1a5cbff659c8b"
            },
            "downloads": -1,
            "filename": "venny4py-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5b63cbfe12176b35568567a37f4959b7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 219762,
            "upload_time": "2024-09-02T14:29:03",
            "upload_time_iso_8601": "2024-09-02T14:29:03.514172Z",
            "url": "https://files.pythonhosted.org/packages/27/30/d9deba8c88b4c0c00610db579a542a8a469cbf16097d86c30175c4a96f70/venny4py-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-02 14:29:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "timyerg",
    "github_project": "venny4py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "venny4py"
}
        
Elapsed time: 0.59374s