Skip to main content

Office of the Prosecutor Communication 117 of 2019

Project description

NAME

OTP - Office of the Prosecutor Communication 117 of 2019

DESCRIPTION

OTP 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.

OTP 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.

OTP has all you need to program a unix nackground daemon, such as disk perisistence for configuration files, event handler to handle the client/server connection, deferred exception handling to not crash on an error, and a policy to keep the main loop running above anything else (it is all threaded so to not block). Client code is intentionally left out.

INSTALL

$ pip install otp

AUTHOR

Bart Thate <record11719@gmail.com>

COPYRIGHT

OTP 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

libotp-1.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file libotp-1.tar.gz.

File metadata

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

File hashes

Hashes for libotp-1.tar.gz
Algorithm Hash digest
SHA256 c4bc764094fa30b0279e72754fe8eaf1bef4b7053b49f62dc3927b0557590210
MD5 9414b4298edd019d332183d83ccc8487
BLAKE2b-256 a7ceea1d29c7160602e842a5848699d3a7c62bbf78478899fea6bbfc53d67059

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