Skip to main content

objects library

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-81.tar.gz (4.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for objx-81.tar.gz
Algorithm Hash digest
SHA256 f977a7c7067e8c13fe1c3564836f3e1e881320143dd5835e7c8bf771ecc3fbca
MD5 e2451882e0556de08421117eed6d9f62
BLAKE2b-256 00adfb7e9f2fc84af7a7ab73529a1d4d8e7c593eb9aad4c8320bb1ea774a7854

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