Skip to main content
# args-me-model

[![PyPI - Version](https://img.shields.io/pypi/v/args-me-model)](https://pypi.org/project/args-me-model/)
[![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fwebis-de%2Fargs-me-model%2Frefs%2Fheads%2Fmain%2Fpyproject.toml)](https://webis.de/args-me-model)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/webis-de/args-me-model/test.yml?label=tests)](https://github.com/webis-de/args-me-model/actions/workflows/test.yml)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/webis-de/args-me-model/documentation.yml?label=docs)](https://github.com/webis-de/args-me-model/actions/workflows/documentation.yml)
[![Static Badge](https://img.shields.io/badge/licence-MIT-%2395c30d)](https://github.com/webis-de/args-me-model/blob/main/LICENSE)


The data model of the args.me search engine (work-in-progress).


[Claims](https://webis.de/args-me-model/_autosummary/args_me_model.Claim.html#args_me_model.Claim) are extracted from or generated by one or more [Sources](https://webis.de/args-me-model/_autosummary/args_me_model.Source.html#args_me_model.Source) and connected via [Support](https://webis.de/args-me-model/_autosummary/args_me_model.Support.html#args_me_model.Support) relations. Two claims can reference each other as their `counter` if they state the opposite of each other. Each of Claim, Source, and Support have additional fields to store information and allow for arbitrary `annotations`.


## Install
```shell
pip install args-me-model
```


## Quickstart
```python
from args_me_model import Claim, Source

# Creating claims
claim1 = Claim.from_source(
Source(
name="common-knowledge",
text="Blue is scattered more than other colors"
)
)
claim2 = Claim.from_source(
Source(
name="common-knowledge",
text="The sky is blue"
),
support = [[claim1]] # list of linked support
)
claim3 = Claim.from_source(
Source(
name="uncommon-knowledge",
text="The sky is not blue"
),
counter = claim2 # claim2 and claim3 are counter claims
)

# Writing claims to a file
Claim.write_ndjson([claim1, claim2, claim3], "myclaim.ndjson")

# Iterating over claims from a file
for claim in Claim.read_ndjson("myclaim.ndjson"):
print(claim.text)
```


## Contributing
See the [development notes](https://github.com/webis-de/args-me-model/blob/main/docs/development.md).

Metadata

Release files for args-me-model 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for args-me-model 0.4.1
File Size Uploaded
args_me_model-0.4.1.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for args-me-model 0.4.1
File Interpreter ABI Platform
args_me_model-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / args_me_model-0.4.1.tar.gz

Download URL args_me_model-0.4.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2f4b0ead3ccbc55241a681bd656f8c56110fe11f94167af7cc480e47bd5e2e5b
BLAKE2b-256 checksum
How to use checksums
ce4c759513dbd78bc6d80daf452f7e3a18e0fe2fa1e276edb07b63e48b18bc63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 9, 2025.

Transparency log

Release files / args_me_model-0.4.1-py3-none-any.whl

Download URL args_me_model-0.4.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d12d8f83f80912c1ce21ed4e71dda1551c790f5e2f7fe8f7ee41becc6fe6ebb
BLAKE2b-256 checksum
How to use checksums
9d90c35af0beaaf3611e4cd2447d66650b5b4b63fe0e5917ab13ca7929186af2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 9, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page