Skip to main content

A library for loading argument graphs in various formats (e.g., AIF).

Project description

Arguebuf

Arguebuf is a format for serializing argument graphs and specified using Protobuf. The complete specification and documentation is available at the Buf Schema Registry. While Protobuf automatically generates native code for all major programming languages (including Python), we created a custom implementation that provides some additional benefits, including:

  • The ability to import existing formats like AIF, SADFace, and a few others.
  • Export of Arguebuf graphs to AIF, NetworkX, and Graphviz.
  • Integration with the popular NLP library spaCy.
  • Various helper methods to programmatically manipulate/create argument graphs.
  • More pythonic interfaces than the regular code generated by protoc.

You can easily install the library from PyPI using pip. The documentation is hosted on ReadTheDocs

Command Line Interface (CLI)

We also offer some tools to simplify dealing with structured argument graphs. Among others, it is possible to convert graphs between different formats, translate them, and render images using graphviz. To use it, install the cli extras when installing the package. When using pip, this can be accomplished with

pip install arguebuf[cli]

Afterwards, you can execute it by calling arguebuf, for example:

arguebuf --help

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

arguebuf-2.0.0b1.tar.gz (29.5 kB view hashes)

Uploaded Source

Built Distribution

arguebuf-2.0.0b1-py3-none-any.whl (36.7 kB view hashes)

Uploaded Python 3

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