./graphics/py-dot, Python interface to Graphvizs Dot language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.2.4, Package name: py27-dot-1.2.4, Maintainer: pkgsrc-users

allows to easily create both directed and non directed graphs from Python.
Currently all attributes implemented in the Dot language are supported (up to
Graphviz 2.26.3).

Output can be inlined in Postscript into interactive scientific environments
like TeXmacs, or output in any of the format's supported by the Graphviz tools
dot, neato, twopi.

Required to run:
[graphics/graphviz] [devel/py-setuptools] [lang/python27] [devel/py-pyparsing]

Required to build:

Master sites:

SHA1: c6d413c5ee80874600765dce51aaee8d2e62d42d
RMD160: de1c6deadf74bd1dd6112df38dcbafb79775d69f
Filesize: 128.924 KB

Version history: (Expand)

CVS history: (Expand)

   2018-01-14 12:30:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dot: updated to 1.2.4

- ENH: propagate LD_LIBRARY_PATH when calling GraphViz
- API: raise OSError when a GraphViz executable is not found
- API: add method __str__ to classes Node, Edge, Graph
- API: add arg encoding to Dot methods create, write
- API: quote cluster names when necessary
- API: give source and destination nodes as separate args to Edge.__init__
- API: never ignore src, dst, overwrite if points defined in obj_dict
   2017-09-04 20:55:10 by Thomas Klausner | Files touched by this commit (40) | Package updated
Log message:
Update some URLs.
   2017-07-14 17:33:19 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
- support Python 2.6
- several corrections
- quote empty strings to avoid graphviz errors
   2016-08-17 14:37:35 by Richard PALO | Files touched by this commit (4) | Package updated
Log message:
update to pydot-1.2.2

# `pydot` changelog

## 1.2.0 (2016-07-01)

- Python 3 compatibility
- bumped dependency to `pyparsing >= 2.1.4`
- tests running on Travis CI
- tests require `chardet`
- detect character encoding for most test files
  using the package `chardet`


- on all operating systems, search GraphViz
  executables in environment `$PATH`,
  using `subprocess.Popen`.
  No paths hard-coded due to security and privacy issues.

- add option to pass GraphViz executable name
  or absolute path as `prog` to `pydot.Dot.write_*` methods.
  This provides an alternative to
  adding GraphViz to the `$PATH`.

- the functions:
    - `pydot.graph_from_dot_data`
    - `pydot.graph_from_dot_file`
    - `dot_parser.parse_dot_data`
  changed to always return a `list` of graphs,
  instead of behaving differently for singletons.

- require that the user explicitly give an encoding to
  the function `pydot.graph_from_dot_file`,
  with default encoding same as `io.open`.

- decode to unicode at program boundaries, and
  treat binary images as bytes,
  for more compatibility with python 3.
  Use `io.open`, instead of the built-in `open`.

- rm function `pydot.set_graphviz_executables`

- rm attribute `pydot.Dot.progs`

## 1.1.0 (2016-05-23)

- compatibility with `pyparsing >= 1.5.7`


- `pydot.Graph.to_string`: hide `subgraph` keyword only if so requested
- produce `warnings.warn` if `pydot.dot_parser` fails to import,
  instead of `print`

## 1.0.29 (2016-05-16)

- Maintenance release that keeps the same API
- pin `pyparsing == 1.5.7`
- update version number in source code
- update `setup.py`
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
   2015-11-03 22:34:36 by Alistair G. Crooks | Files touched by this commit (610)
Log message:
Add SHA512 digests for distfiles for graphics category

Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-05-09 09:37:28 by Thomas Klausner | Files touched by this commit (553)
Log message:
Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.