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

Uploaded Source

File details

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

File metadata

  • Download URL: obx-21.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-21.tar.gz
Algorithm Hash digest
SHA256 6bffd19930d1f785e21d0fac888c8f9cd5986b9e668a5b64529ef0cc0df9a5f3
MD5 5a56595c984b7d9a9e2296115528bb45
BLAKE2b-256 810668a44c00238e8c24e6f719e46a7d4f117748f82f2dcc7a492b0c7d1e3698

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