Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ansar-encode

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansar-encode

Persistence of complex application data

  • 1.0.8
  • PyPI
  • Socket score

Maintainers
1

ansar-encode

The ansar-encode library provides for the convenient storage and recovery of application data using system files. Files are created using standard encodings - the default is JSON - and are human readable. Complex application data can be stored including containers, instances of classes and object graphs.

Features

  • Broad suite of primitive types, e.g. integers, floats, strings, times and enumerations.
  • Structured data, e.g. an 8-by-8 table of user-defined class instances.
  • Recovered data is fully-typed, e.g. reading a class User produces a User instance.
  • Graphs and graphs that include cycles, e.g. circular lists, syntax trees and state diagrams.
  • Polymorphism, e.g. read an object of unknown type.
  • Type-checking.
  • Plain text files.
  • Managed folders of files.
  • Object versioning.

Changelog

1.0.3 (2024-09-09)

  • Fix copyright header

  • Minor commenting/formatting

1.0 (2024-05-27)

  • Implement codec framework

  • Implement JSON and XML codecs

  • Implement File and Folder concepts

  • Complete ansar-encode docs

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc