Skip to main content

objects

Project description

NAME

OBJX - objects

SYNOPSIS

>>> from objx import Object, dumps, loads
>>> o = Object()
>>> o.a = "b"
>>> print(loads(dumps(o)))
{'a': 'b'}

DESCRIPTION

OBJX contains all the python3 code to program objects in a functional
way. It provides a base Object class that has only dunder methods, all
methods are factored out into functions with the objects as the first
argument. I call it Object Programming (OP), OOP without the oriented.

OBJX  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 is Public Domain.

AUTHOR

Bart Thate <bthate@dds.nl>

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-80.tar.gz (3.7 kB view hashes)

Uploaded Source

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