# args-me-model
[](https://pypi.org/project/args-me-model/)
[](https://webis.de/args-me-model)
[](https://github.com/webis-de/args-me-model/actions/workflows/test.yml)
[](https://github.com/webis-de/args-me-model/actions/workflows/documentation.yml)
[](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)
| File | Size | Uploaded | |
|---|---|---|---|
| args_me_model-0.4.1.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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