Office of the Prosecutor Communication 117 of 2019
Project description
NAME
OTP - Office of the Prosecutor Communication Record 117 of the year 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 libotp
AUTHOR
Bart Thate <record11719@gmail.com>
COPYRIGHT
OTP is Public Domain.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file libotp-2.tar.gz
.
File metadata
- Download URL: libotp-2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7cd95f57e7f6003dc0f23a00baeedb3292e5d5db631ce65e290a908609c6fc |
|
MD5 | 0c21f1b5c8b789531c3de25a2cbb4734 |
|
BLAKE2b-256 | 0e5ec67a359e57af850c0676bd39d925b967c946fc4c8ee7051dcc42f7733834 |