Skip to main content

objects library

Project description

NAME

OBJX - objects library

INSTALL

$ pip install objx

SYNOPSIS

>>> from objx import Object, read, write
>>> o = Object()
>>> o.a = "b"
>>> write(o, "test")
>>> oo = Object()
>>> read(oo, "test")
>>> oo
{"a": "b"}

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.

OBJX has all the python3 code to program a unix cli program, such as
disk perisistence for configuration files, event handler to
handle the client/server connection, code to introspect modules
for commands, deferred exception handling to not crash on an
error, a parser to parse commandline options and values, etc.

OBJX is Public Domain.

AUTHOR

Bart Thate <objx@proton.me>

COPYRIGHT

OBJX is Public Domain.

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

objx-41.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file objx-41.tar.gz.

File metadata

  • Download URL: objx-41.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for objx-41.tar.gz
Algorithm Hash digest
SHA256 9edf9d8a888c1fc3d8a005283291fd5fe5c4cbf891e83a254d905a3aa27bb477
MD5 735378d37dd56583519ca9c9fc490f23
BLAKE2b-256 55cf00550e5bae0780c7044b2f86e6603511d622e9c8d30342e76753a7744c77

See more details on using hashes here.

Supported by

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