Skip to main content

Library for management of Annotated Research Contexts (ARCs) using an in-memory representation and runtimer agnostic contract systems.

Project description

logo

ARCtrl

ARCtrl the easy way to read, manipulate and write ARCs in .NET, JavaScript and Python! ❤️

Version Downloads
Nuget Nuget
NPM NPM
PyPI PyPI

Install

.NET

#r "nuget: ARCtrl"
<PackageReference Include="ARCtrl" Version="1.1.0" />

JavaScript

npm i @nfdi4plants/arctrl

Python

pip install arctrl

Docs

Documentation can be found here

Development

Requirements

  • nodejs and npm
    • verify with node --version (Tested with v18.16.1)
    • verify with npm --version (Tested with v9.2.0)
  • .NET SDK
    • verify with dotnet --version (Tested with 7.0.306)
  • Python
    • verify with py --version (Tested with 3.12.2, known to work only for >=3.11)

Local Setup

On windows you can use the setup.cmd to run the following steps automatically!

  1. Setup dotnet tools

    dotnet tool restore

  2. Install NPM dependencies

    npm install

  3. Setup python environment

    py -m venv .venv

  4. Install Poetry and dependencies

    1. .\.venv\Scripts\python.exe -m pip install -U pip setuptools
    2. .\.venv\Scripts\python.exe -m pip install poetry
    3. .\.venv\Scripts\python.exe -m poetry install --no-root

Verify correct setup with ./build.cmd runtests

Branding

Feel free to reference ARCtrl on slides or elsewhere using our logos:

Square Horizontal Vertical
square horizontal vertical

Performance

Measured on 13th Gen Intel(R) Core(TM) i7-13800H

Name Description FSharp Time (ms) JavaScript Time (ms) Python Time (ms)
Table_GetHashCode From a table with 1 column and 10000 rows, retrieve the Hash Code 5 21 226
Table_AddRows Add 10000 rows to a table with 4 columns. 15 22 289
Table_fillMissingCells For a table 6 columns and 20000 rows, where each row has one missing value, fill those values with default values. 49 108 4813
Table_ToJson Serialize a table with 5 columns and 10000 rows to json. 1099 481 6833
Table_ToCompressedJson Serialize a table with 5 columns and 10000 rows to compressed json. 261 2266 717334
Assay_toJson Parse an assay with one table with 10000 rows and 6 columns to json 915 2459 28799
Study_FromWorkbook Parse a workbook with one study with 10000 rows and 6 columns to an ArcStudy 97 87 1249
Investigation_ToWorkbook_ManyStudies Parse an investigation with 1500 studies to a workbook 621 379 9974

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

arctrl-3.0.0a2.tar.gz (519.5 kB view details)

Uploaded Source

Built Distribution

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

arctrl-3.0.0a2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file arctrl-3.0.0a2.tar.gz.

File metadata

  • Download URL: arctrl-3.0.0a2.tar.gz
  • Upload date:
  • Size: 519.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.4 Windows/11

File hashes

Hashes for arctrl-3.0.0a2.tar.gz
Algorithm Hash digest
SHA256 7e6e2e23aaaea58c91144be14865b673216fa58deaf51e73a45141ca20334849
MD5 ecf4f899f364251783c37c9889f2a23e
BLAKE2b-256 3d704e7002c5ba6b414679fbe3e9c4a9cd01ea5815686d0a41fc134d45e71f69

See more details on using hashes here.

File details

Details for the file arctrl-3.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: arctrl-3.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.4 Windows/11

File hashes

Hashes for arctrl-3.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 600f90def714ac2a0a64d1e795881039c2c880bb55345d9bc7f4212dba9ef61c
MD5 1ffa945ad7367cc1565479602146a3db
BLAKE2b-256 d62567a6756a9caf38a048ee8b649bb49c8387742834722e443d685c06f8e5ed

See more details on using hashes here.

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