objects
Project description
NAME
OBJX - object library
DESCRIPTION
OBJX provides an objx namespace that allows for easy json save//load to/from disk of objects. It provides an "clean namespace" Object class that only has dunder methods, so the namespace is not cluttered with method names. This makes storing and reading to/from json possible.
SYNOPSIS
>>> from objx import Object >>> o = Object() >>> o.a = "b" >>> write(o, "test") >>> oo = Object() >>> read(oo, "test") >>> oo {"a": "b"}
INSTALL
$ pip install objx
AUTHOR
libbot <libbotx@gmail.com>
COPYRIGHT
OBJX is Public Domain.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
objx-5.tar.gz
(21.6 kB
view details)
File details
Details for the file objx-5.tar.gz
.
File metadata
- Download URL: objx-5.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c967b845e88800bacf814ee30dab7fe499e3b309f4885af48f2fe3380ba2c7f |
|
MD5 | ce9c14ad82a2f71efcb6c01c1caf86ba |
|
BLAKE2b-256 | c78f2815f7b12930815df3c38243e08d48bfb8eea506acf7c2761df99c82d201 |