Skip to main content

objects

Project description

NAME

OBJX - objects

SYNOPSIS

objx  <cmd> [key=val] [key==val]

INSTALL

$ pipx install objx
$ pipx ensurepath

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. It is called 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 has all you need 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.

USAGE

without any argument the program does nothing

$ objx
$

see list of commands

$ objx cmd
cmd,err,mod,req,thr,ver

list of modules

$ objx mod
cmd,err,fnd,irc,log,mod,req,rss,tdo,thr

use -c to start a console

$ objx -c
>

COMMANDS

cmd - commands
fnd - find objects
log - log some text
tdo - add todo

FILES

~/.objx
~/.local/bin/objx
~/.local/pipx/venvs/objx/

AUTHOR

Bart Thate <rssbotd@gmail.com>

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for objx-100.tar.gz
Algorithm Hash digest
SHA256 62b943aaa96dced66b9877843f6482cdabceb9f1a2e50ec4c0f63afd374e0bf7
MD5 86b871af234cac82c38169732b42c90c
BLAKE2b-256 0bc1d6bcf472e289c1214bcdf54c9c923f1eabe2d17645562d15e30c19f38083

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