Razorvine.Serpent.NetCore 1.18.0

Serpent Python literal expression serialization.

     Serpent provides Python ast.literal_eval() compatible object tree serialization.
     It serializes an object tree into bytes that can be transferred to Python and
     decoded there (using ast.literal_eval()). It can ofcourse also deserialize
     such a Python expression itself, back into the equivalent .NET datatypes.

     More info for the Python version is on Pypi: https://pypi.python.org/pypi/serpent

Install-Package Razorvine.Serpent.NetCore -Version 1.18.0
dotnet add package Razorvine.Serpent.NetCore --version 1.18.0
<PackageReference Include="Razorvine.Serpent.NetCore" Version="1.18.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Razorvine.Serpent.NetCore --version 1.18.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Razorvine.Serpent.NetCore, 1.18.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Razorvine.Serpent.NetCore as a Cake Addin
#addin nuget:?package=Razorvine.Serpent.NetCore&version=1.18.0

// Install Razorvine.Serpent.NetCore as a Cake Tool
#tool nuget:?package=Razorvine.Serpent.NetCore&version=1.18.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

CRITICAL FIX: rewrote serialization and parsing of strings containing chars above 255, this didn't work. Now mimics python's repr(str) form as closely as possible.
     Added Serializer.MaximumLevel to avoid too deep recursion resulting in stack overflow errors.
     Serializer.MaximumLevel decreased to 500.

  • .NETCoreApp 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Razorvine.Serpent.NetCore:

Package Downloads
Razorvine.Pyrolite.NetCore
Thin client-side communication library to connect to Python applications, using the Pyro protocol. Also includes Pickle/Unpickle. More info about Pyro: http://pythonhosted.org/Pyro4/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.18.0 964 7/27/2017