Skip to main content

Build a general-purpose, batteries-included Python library for creating, importing, analyzing, and reasoning over argument graphs derived from text and multimodal evidence.

Project description

arglib

ArgLib: Python Library for reasoning over argument graphs

Quickstart

Install dependencies with uv, then run tests:

uv sync
uv run pytest

CLI examples

Export a graph JSON file to DOT:

uv run arglib dot path/to/graph.json

Print diagnostics:

uv run arglib diagnostics path/to/graph.json

Reasoner example

from arglib.core import ArgumentGraph
from arglib.reasoning import Reasoner

graph = ArgumentGraph.new()
a = graph.add_claim("A")
b = graph.add_claim("B")
graph.add_attack(a, b)

reasoner = Reasoner(graph)
results = reasoner.run(["grounded_extension", "grounded_labeling"])

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

arglib-0.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arglib-0.1.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file arglib-0.1.0.tar.gz.

File metadata

  • Download URL: arglib-0.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arglib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbe0252c61251cf44c1c749973f5e71d51448e372d454413ae17963810407070
MD5 8fbf191f4c745dc206ff3a6ea0421dc2
BLAKE2b-256 d8cd811382b723d1db270357f32956c0649caa0a60ed7329502bf8b98ed9ab3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for arglib-0.1.0.tar.gz:

Publisher: release.yml on vasanthsarathy/arglib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arglib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: arglib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arglib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 141e9531e4ecb538d18d3af7b3dd8cbbac1abca867b0da3782df14ebd3cc535a
MD5 9e8c59eb2c879e7ffd2066fd822daf55
BLAKE2b-256 84f4247de43228591206f80dcb4b4fcf3ece5e81f03fa9457befa0495479fa28

See more details on using hashes here.

Provenance

The following attestation bundles were made for arglib-0.1.0-py3-none-any.whl:

Publisher: release.yml on vasanthsarathy/arglib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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