Skip to main content

Helper for dataflow based programming

Project description

grapes

A simple library for dataflow programming in python. It is inspired by pythonflow but with substantial modifications.

Dependencies

The core grapes module depends on networkx, which can be found on PyPI and is included in the Anaconda distribution.

For TOML support, tomli is needed before python 3.11 (in python 3.11, tomllib is part of the standard).

To visualize graphs, matplotlib and pygraphviz (a wrapper for Graphviz) are also needed. On Windows, pygraphviz requires the Visual Studio C/C++ build tools to be installed (including MSVC tools), alongside Graphviz 2.46 or higher, which should be in PATH. This is explained in detail in the official guide of pygraphviz.

Finally, pytest is needed to run the tests.

Installation

grapes is available on PyPI. Install it from there with

pip install grapes

Otherwise you can install from source. Move to the root directory of the grapes source code (the one where setup.py is located) and run

pip install -e .

The -e flag creates an editable installation.

Note that the dependencies related to graph visualization are not installed automatically and should be installed manually as explained in the Dependencies section.

Roadmap

Future plans include:

  • Better explanation of what grapes is.
  • Usage examples.
  • Better comments and documentation.

Authorship and License

The bulk of grapes development was done by Giulio Foletto in his spare time. See LICENSE.txt and NOTICE.txt for details on how grapes is distributed.

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

grapes-0.7.0.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

grapes-0.7.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file grapes-0.7.0.tar.gz.

File metadata

  • Download URL: grapes-0.7.0.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.11

File hashes

Hashes for grapes-0.7.0.tar.gz
Algorithm Hash digest
SHA256 12d3e081b8e637fdfa6af930e088a6984331675802a6385d8339f6b2e4c4c582
MD5 43467c8261d338d88580c67597fb1681
BLAKE2b-256 b8e8f4a30178bb84caa72f3f2e54c6c30a2db9e08981ffd65d39077c38d93931

See more details on using hashes here.

File details

Details for the file grapes-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: grapes-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.11

File hashes

Hashes for grapes-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3fd47e8c3d062e8533e4efb91365c8764aa4eebc8a1aa2a7861f1cd493ec0a9
MD5 d08cc6345d7a6629ba7a7ddd56ad856d
BLAKE2b-256 ac219fd1d8ed9a0d86f309e6bbe00cea60fb9dbcd68b75dd1621e9ec1cf336b6

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