2.2.0 • Published 9 months ago

@nfdi4plants/arctrl v2.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

ARCtrl

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

VersionDownloads

Install

.NET

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

JavaScript

npm i @nfdi4plants/arctrl

Python

pip install arctrl

Docs

Currently we provide some documentation in form of markdown files in the /docs folder of this repository!

Check it out!

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

  1. Install NPM dependencies

    npm install

  2. Setup python environment

    py -m venv .venv

  3. 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

Performance

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

NameDescriptionFSharp Time (ms)JavaScript Time (ms)Python Time (ms)
Table_GetHashCodeFrom a table with 1 column and 10000 rows, retrieve the Hash Code521226
Table_AddRowsAdd 10000 rows to a table with 4 columns.1522289
Table_fillMissingCellsFor a table 6 columns and 20000 rows, where each row has one missing value, fill those values with default values.491084813
Table_ToJsonSerialize a table with 5 columns and 10000 rows to json.10994816833
Table_ToCompressedJsonSerialize a table with 5 columns and 10000 rows to compressed json.2612266717334
Assay_toJsonParse an assay with one table with 10000 rows and 6 columns to json915245928799
Study_FromWorkbookParse a workbook with one study with 10000 rows and 6 columns to an ArcStudy97871249
Investigation_ToWorkbook_ManyStudiesParse an investigation with 1500 studies to a workbook6213799974
2.2.0

9 months ago

2.1.0-alpha.4

9 months ago

2.1.0-alpha.3

9 months ago

2.1.0-alpha.2

9 months ago

2.1.0-alpha.1

10 months ago

2.0.1

11 months ago

2.0.0

11 months ago

2.0.0-beta.8

1 year ago

2.0.0-alpha.7

1 year ago

2.0.0-alpha.8

1 year ago

2.0.0-alpha.4

1 year ago

2.0.0-alpha.5

1 year ago

2.0.0-alpha.6

1 year ago

2.0.0-beta.2

1 year ago

2.0.0-beta.1

1 year ago

2.0.0-alpha.3

1 year ago

2.0.0-alpha.1

1 year ago

2.0.0-alpha.2

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-beta.9

2 years ago

1.0.0-beta.8

2 years ago

1.0.0-beta.7

2 years ago

1.0.0-beta.6

2 years ago

1.0.0-beta.5

2 years ago

1.0.0-beta.4

2 years ago

1.0.0-beta.3

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-beta.1

2 years ago

1.0.0-alpha10

2 years ago

1.0.0-alpha9

2 years ago

1.0.0-alpha8

2 years ago

1.0.0-alpha7

2 years ago

1.0.0-alpha6

2 years ago