Fp 0.24.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fp --version 0.24.0                
NuGet\Install-Package Fp -Version 0.24.0                
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.24.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fp --version 0.24.0                
#r "nuget: Fp, 0.24.0"                
#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.24.0

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

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

File format processors are a unit worker derived from Fp.FormatSingleProcessor, Fp.FormatMultiProcessor, or one of their descendants. They can be used to efficiently obtain converted data from individual files, or be wrapped with FormatSingleProcessorFsWrapper / FormatMultiProcessorFsWrapper to be used as a FsProcessor.

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.

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 656 9/6/2022
0.27.0 1,472 9/6/2022
0.26.0 1,298 1/31/2022
0.25.0 1,264 1/18/2022
0.24.0 974 1/16/2022
0.23.2 262 1/11/2022
0.23.1 553 12/28/2021
0.23.0 507 12/28/2021
0.22.0 758 12/18/2021
0.21.1 312 11/10/2021
0.21.0 583 11/9/2021
0.20.0 703 6/27/2021
0.19.1 482 6/14/2021
0.19.0 516 6/14/2021
0.18.3 497 5/28/2021
0.18.2 450 5/24/2021
0.18.1 345 3/22/2021
0.18.0 467 3/22/2021
0.17.0 483 3/17/2021
0.16.0 612 3/17/2021
0.15.1 340 3/17/2021
0.15.0 342 3/17/2021
0.14.1 384 3/15/2021
0.14.0 377 3/14/2021
0.13.0 412 3/14/2021
0.12.0 323 3/14/2021
0.11.4 418 3/13/2021
0.11.3 383 3/11/2021
0.11.2 364 3/11/2021
0.11.1 353 3/11/2021
0.11.0 361 3/11/2021
0.10.4 347 3/8/2021
0.10.3 357 3/8/2021
0.10.2 355 3/8/2021
0.10.1 333 3/8/2021
0.10.0 353 3/8/2021
0.9.1 390 3/7/2021
0.9.0 387 3/7/2021
0.8.12 341 3/5/2021
0.8.11 334 3/5/2021
0.8.10 326 3/5/2021
0.8.9 338 3/5/2021
0.8.8 377 3/4/2021
0.8.7 674 1/16/2021
0.8.2 1,037 1/16/2021
0.8.1 371 1/13/2021
0.8.0 367 1/13/2021
0.7.3 353 1/12/2021
0.7.2 348 1/11/2021
0.7.1 352 1/11/2021
0.7.0 431 1/9/2021
0.6.0 440 1/9/2021
0.5.0 375 1/1/2021
0.4.4 398 1/1/2021
0.4.3 371 12/31/2020
0.4.2 379 12/31/2020
0.4.1 444 10/12/2020
0.4.0 430 10/8/2020
0.3.9 436 10/8/2020
0.3.8 566 6/26/2020
0.3.7 522 6/19/2020
0.3.6 520 6/19/2020
0.3.5 570 6/19/2020
0.3.4 462 6/18/2020
0.3.3 460 6/18/2020
0.3.2 491 6/18/2020
0.3.1 493 6/17/2020
0.3.0 550 6/7/2020
0.2.2 519 5/24/2020
0.2.1 484 5/12/2020
0.1.1 461 4/16/2020
0.1.0 468 4/8/2020