PCAxis.Serializers 1.3.1

dotnet add package PCAxis.Serializers --version 1.3.1                
NuGet\Install-Package PCAxis.Serializers -Version 1.3.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="PCAxis.Serializers" Version="1.3.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PCAxis.Serializers --version 1.3.1                
#r "nuget: PCAxis.Serializers, 1.3.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 PCAxis.Serializers as a Cake Addin
#addin nuget:?package=PCAxis.Serializers&version=1.3.1

// Install PCAxis.Serializers as a Cake Tool
#tool nuget:?package=PCAxis.Serializers&version=1.3.1                

PCAxis.Serializers

This repository contains the serialization components required for serializing PCAxis data represented in PAXIOM from .px-files or CNNM-enabled databases. It enables the conversion from PAXIOM to various formats.

Supported Formats

Getting Started

Prerequisites

  • .NET Core 3.1 or later.

Installation

dotnet add package PCAxis.Serializers 

Example Usage

using System;
using System.IO;
using PCAxis.Paxiom;
using PCAxis.Serializers;

namespace MyPxConverter
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                Console.WriteLine("Please provide the PX filename as an argument.");
                return;
            }

            string pxFileName = args[0];
            string baseFileName = Path.GetFileNameWithoutExtension(pxFileName);
            string outputFileName = $"{baseFileName}.parquet";

            try
            {
                // Initialize and build the PX file model
                var builder = new PXFileBuilder(pxFileName);
                var selection = Selection.SelectAll(builder.Model.Meta);
                builder.BuildForPresentation(selection);

                // Serialize to Parquet
                using (var stream = new FileStream(outputFileName, FileMode.Create))
                {
                    var parquetSer = new ParquetSerializer();
                    parquetSer.Serialize(builder.Model, stream);
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }
        }
    }
}

Contributing

We welcome contributions to this project. Please see CONTRIBUTING.md for details.

License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.

Support and Feedback

For support, feature requests, and bug reporting, please open an issue on the GitHub project page.

See Also

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.1 5,072 6/14/2024
1.3.0 586 5/8/2024
1.2.4 129 5/7/2024
1.2.3 2,135 12/5/2023
1.2.2 1,857 11/3/2023
1.2.2-rc 126 10/27/2023
1.2.1-rc 136 10/27/2023
1.2.0-rc 137 9/28/2023
1.1.2 1,599 6/14/2023
1.1.1 288 4/17/2023
1.1.0 1,194 1/13/2023
1.0.10-rc 213 12/21/2022
1.0.9-rc 154 12/20/2022
1.0.8-rc 155 12/19/2022
1.0.7-rc 149 12/12/2022
1.0.6-rc 177 11/21/2022
1.0.5-rc 169 11/18/2022
1.0.4 1,670 10/12/2022
1.0.3 658 9/23/2022
1.0.2 617 9/6/2022
1.0.1 517 8/27/2022
1.0.0 647 8/22/2022
1.0.0-beta 184 8/19/2022