Metadata-Version: 2.4
Name: arcquerymodel
Version: 3.0.0a2
Summary: Library for graph-based querying of Annotated Research Contexts (ARCs).
License-File: LICENSE
Keywords: arc,query,annotated research context,isa,research data,multi platform
Author: Heinrich Lukas Weil
Author-email: weil@rptu.de
Maintainer: Florian Wetzels
Requires-Python: >=3.11
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: arctrl (>=3.0.0b15,<4.0.0)
Project-URL: Repository, https://github.com/nfdi4plants/ARCtrl.Querymodel
Description-Content-Type: text/markdown

﻿# ARCtrl.Querymodel

> [!NOTE]  
> Filesystem Access has been implemented in ARCtrl since v2.3.0, even transpilable to JS and Python. ARCtrl.NET is therefore deprecated and this repository hosts only ARCtrl.Querymodel.


<a href="https://www.nuget.org/packages/ARCtrl.Querymodel/"><img alt="Nuget" src="https://img.shields.io/nuget/v/ARCtrl.Querymodel?logo=nuget&color=%234fb3d9"></a>

Adds querying functionality to the core [ARCtrl](https://github.com/nfdi4plants/ARCtrl) package in .NET.

The documentation for the actual functions for manipulating the ARC datamodel can be found [here](https://github.com/nfdi4plants/ARCtrl/tree/main/docs/scripts_fsharp).

## Usage

```fsharp
open ARCtrl
open ARCtrl.QueryModel
open ARCtrl.ISA

let i = ArcInvestigation("Dummy Investigation")

i.ArcTables.Values().WithName("Dummy Header").First.ValueText

i.GetAssay("Dummy Assay").LastSamples
```

## Development

#### Requirements

- [.NET SDK](https://dotnet.microsoft.com/en-us/download)
    - verify with `dotnet --version` (Tested with 7.0.306)

#### Local Setup

- Setup dotnet tools `dotnet tool restore`

- Verify correct setup with  `./build.cmd runtests` ✨
