Fp 0.23.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fp --version 0.23.1
NuGet\Install-Package Fp -Version 0.23.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fp" Version="0.23.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fp --version 0.23.1
#r "nuget: Fp, 0.23.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fp as a Cake Addin
#addin nuget:?package=Fp&version=0.23.1

// Install Fp as a Cake Tool
#tool nuget:?package=Fp&version=0.23.1

.NET NuGet

File processing

Package Release
Fp NuGet
Fp.Plus NuGet
Fp.Platforms.Nitro NuGet
Fp.Templates NuGet

Documentation | Samples

Fp is designed as a framework for implementing concise data format extractors, primarily for archive containers and 2D rasters.

Many utilities for working with primitive data (including endianness-dependent I/O) are provided. See the Samples for more.

Libraries

  • Fp: Base file processing library
    • .NET Standard 2.0 / .NET 6.0
  • Fp.Plus: Extension library (e.g. RGBA32 image (through ImageSharp) / PCM WAVE output)
    • .NET Standard 2.0 / .NET 6.0
  • Fp.Platforms.Nitro: Nintendo DS file format integrations
    • .NET Standard 2.0 / .NET 6.0

Scripting

  • fpx: Script execution program (thin wrapper of dotnet-script)
  • Dereliction: Basic Avalonia GUI script editor / testing program

Details

Filesystem processors are a unit worker derived from Fp.FsProcessor or one of its descendants that are called to operate on each applicable (by default, based on extension) file path, optionally opening a stream and generating console output or file artifacts. If written to only use compatible APIs (e.g. working with the FileSystemSource APIs and not directly using System.IO.File etc.), processors can be used to work with synthetic filesystems (e.g. directly working on files in a zip file) and more generally be used to efficiently interact with any binary data regardless of source.

A scripting API also exists that mirrors much of the FsProcessor functionality in static, single-context form (multithreading not supported, unlike standard FsProcessors).

Programs intended to extract from a set of files / folders (recursively) to a destination can utilize the default FsProcessor.Run<T> function where T is a user-created processor class. All file I/O is managed by the library, the processor will be automatically fed input file paths and can opt to open these files / create new files (automatically placed in the output directory) via the Processor class APIs.

Processors can be designed to generate a System.Collections.Generic.IEnumerable<Fp.Data> where Data represents an arbitrary content result with an associated filename, such as Fp.Plus.Images.Rgba32Data for an RGBA 32-bit image, or Fp.BufferData<byte> for an arbitrary byte buffer. This can be a useful pattern for designing an arbitrary import scheme for software that needs to be able to work with new file types without unnecessary pipeline changes. The DataProcessor class automatically opens each input file and is limited to implementation of protected virtual IEnumerable<Data> ProcessData().

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

  • net6.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Fp:

Package Downloads
Fp.Plus

Native utilities

Fp.Platforms.Nitro

Nitro utilities

Fp.Vgmstream

Vgmstream utilities

Fp.Fs

File processing (filesystem variants)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.27.1 558 9/6/2022
0.27.0 1,404 9/6/2022
0.26.0 1,233 1/31/2022
0.25.0 1,195 1/18/2022
0.24.0 943 1/16/2022
0.23.2 238 1/11/2022
0.23.1 459 12/28/2021
0.23.0 460 12/28/2021
0.22.0 696 12/18/2021
0.21.1 289 11/10/2021
0.21.0 541 11/9/2021
0.20.0 654 6/27/2021
0.19.1 455 6/14/2021
0.19.0 487 6/14/2021
0.18.3 459 5/28/2021
0.18.2 423 5/24/2021
0.18.1 318 3/22/2021
0.18.0 433 3/22/2021
0.17.0 456 3/17/2021
0.16.0 564 3/17/2021
0.15.1 315 3/17/2021
0.15.0 314 3/17/2021
0.14.1 355 3/15/2021
0.14.0 350 3/14/2021
0.13.0 387 3/14/2021
0.12.0 298 3/14/2021
0.11.4 393 3/13/2021
0.11.3 358 3/11/2021
0.11.2 337 3/11/2021
0.11.1 328 3/11/2021
0.11.0 339 3/11/2021
0.10.4 317 3/8/2021
0.10.3 333 3/8/2021
0.10.2 331 3/8/2021
0.10.1 309 3/8/2021
0.10.0 326 3/8/2021
0.9.1 362 3/7/2021
0.9.0 362 3/7/2021
0.8.12 317 3/5/2021
0.8.11 310 3/5/2021
0.8.10 305 3/5/2021
0.8.9 313 3/5/2021
0.8.8 350 3/4/2021
0.8.7 619 1/16/2021
0.8.2 958 1/16/2021
0.8.1 345 1/13/2021
0.8.0 341 1/13/2021
0.7.3 326 1/12/2021
0.7.2 325 1/11/2021
0.7.1 326 1/11/2021
0.7.0 407 1/9/2021
0.6.0 412 1/9/2021
0.5.0 351 1/1/2021
0.4.4 370 1/1/2021
0.4.3 346 12/31/2020
0.4.2 354 12/31/2020
0.4.1 413 10/12/2020
0.4.0 408 10/8/2020
0.3.9 411 10/8/2020
0.3.8 539 6/26/2020
0.3.7 497 6/19/2020
0.3.6 493 6/19/2020
0.3.5 544 6/19/2020
0.3.4 436 6/18/2020
0.3.3 434 6/18/2020
0.3.2 467 6/18/2020
0.3.1 464 6/17/2020
0.3.0 538 6/7/2020
0.2.2 492 5/24/2020
0.2.1 459 5/12/2020
0.1.1 431 4/16/2020
0.1.0 444 4/8/2020