Skip to main content

Persistence of complex application data

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansar_encode-1.0.8.tar.gz (56.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansar_encode-1.0.8-py3-none-any.whl (72.2 kB view details)

Uploaded Python 3

File details

Details for the file ansar_encode-1.0.8.tar.gz.

File metadata

  • Download URL: ansar_encode-1.0.8.tar.gz
  • Upload date:
  • Size: 56.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.10.12

File hashes

Hashes for ansar_encode-1.0.8.tar.gz
Algorithm Hash digest
SHA256 c517f4f3f46664371d485edee6c6e744d8d71bf592ca1fdb36bcd625fe491a59
MD5 3fb9355b6807afd72ab5184f6e44cdc1
BLAKE2b-256 2dbe05928d579aad024d44aafca573dd4b0c2b5f31fedb56b6229eb13f5d77f1

See more details on using hashes here.

File details

Details for the file ansar_encode-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: ansar_encode-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 72.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.10.12

File hashes

Hashes for ansar_encode-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bb8995f4fcd1f06075bd8830cebe8203ed54e36a9a78b3ae9230425d53ce7832
MD5 6959a8cb6ff7d2a6f47619e96ccc562b
BLAKE2b-256 bb2fd160da1b00abfca1b90ba0f982468ddf6c6617d4abf108b5d005be346ff1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page