Skip to main content

Plot four set venn diagrams, like venny (http://bioinfogp.cnb.csic.es/tools/venny/) but using python sets:

Installation

Install library, perhaps within a virtualenv:

$ pip install pyvenny

Command Line Interface

A command line script is included, vennyplot:

usage: vennyplot [-h] --output OUTPUT --sets SETS SETS SETS SETS
                 [--labels LABELS LABELS LABELS LABELS]

Generate a Venn diagram of four files taken as sets of lines.

optional arguments:
  -h, --help            show this help message and exit
  --output OUTPUT       absolute path to output file
  --sets SETS SETS SETS SETS
                        absolute paths to four files
  --labels LABELS LABELS LABELS LABELS
                        four set labels

Aplication Programming Interface

Use it within your Python code:

>>> import pyvenny
>>> with open('diagram.svg', 'w') as f:
         f.write( pyvenny.render_four_set_venn(
         set(['a','b','c','d']),
         set(['b','c','d','e']),
         set(['c','d','e','f']),
         set(['d','e','f','g']))

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvenny-1.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file pyvenny-1.0.tar.gz.

File metadata

  • Download URL: pyvenny-1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyvenny-1.0.tar.gz
Algorithm Hash digest
SHA256 0195f2b59639235da033192bcd346f523ac8fcd32192b0cfa8eeee500021e6c3
MD5 8dcf586c088996c0a8d3d18e9e1eb0d5
BLAKE2b-256 fe2193b8c767aa7fb79bbf9f1714153da6c6b168d66adda54226a00d2694e1a0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page