Skip to main content

OBX

Project description

NAME

OBX - write your own commands.

SYNOPSIS

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

DESCRIPTION

OBX 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, deferred exception handling to not
crash on an error, a parser to parse commandline options and values, etc.

OBX uses object programming (OP) 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.

OBX is Public Domain.

INSTALL

$ pipx install obx
$ pipx ensurepath

SOURCE

source is at https://bitbucket.org/objx/obz

AUTHOR

Bart Thate <bthate@dds.nl>

COPYRIGHT

OBX 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

obx-22.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file obx-22.tar.gz.

File metadata

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

File hashes

Hashes for obx-22.tar.gz
Algorithm Hash digest
SHA256 08b784624b774b83fe558cc56610ab29afdf1acb1bbe9dacda975e6d02a08436
MD5 055e388be214d55dc0ddcd5241b84c89
BLAKE2b-256 ec8e4a81b59a8ec366646704ea043183d3c9f305a8b3e1ee2eaaee846410e5e1

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