Skip to content

Installation

MeasFlow provides native bindings for C#, Python, and C. Choose the installation method for your language.

C# / .NET

MeasFlow is available on NuGet and requires .NET 10 or later.

dotnet add package MeasFlow

View on NuGet →

Python

MeasFlow is available on PyPI and requires Python 3.10 or later.

pip install measflow

View on PyPI →

C

MeasFlow is available via vcpkg (custom registry until official publication).

To use measflow via vcpkg, add a vcpkg-configuration.json to your project:

{
  "default-registry": null,
  "registries": [
    {
      "kind": "git",
      "repository": "https://github.com/vreitenbach/vcpkg-registry",
      "baseline": "d6473e3037973c8a5d465ef3fc1955b8e4f58557",
      "packages": ["measflow"]
    }
  ]
}

Then install:

vcpkg install measflow

View vcpkg registry →

Build from Source

Prerequisites

  • C#: .NET 10 SDK
  • Python: Python 3.10+ with pip
  • C: C99 compiler, CMake 3.15+

Clone Repository

git clone https://github.com/vreitenbach/MeasFlow.git
cd MeasFlow

Build C

cd csharp
dotnet build
dotnet test

Build Python

cd python
pip install -e .
pytest tests/

Build C

cd c

# With compression (requires lz4 + zstd via vcpkg):
cmake -B build -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake
cmake --build build

# Or without compression:
cmake -B build -DCMAKE_BUILD_TYPE=Release \
  -DMEAS_WITH_LZ4=OFF -DMEAS_WITH_ZSTD=OFF
cmake --build build

Note

CMAKE_BUILD_TYPE is for single-config generators (Ninja, Make). For multi-config generators (Visual Studio, Xcode), add --config Release to build commands and find binaries under <build-dir>/Release/.

Next Steps