Skip to main content

timestamped JSON objects

Project description

OBJ is a package that provides an object class that can save/load objects in JSON format to disk, thus providing persistence to objects. Files are saved with a timestamp in their filename, so that searching in a time related manner becomes possible. Modules are provided to query saved objects as well as to run objects with a thread to manage their state. The directory that is used to save the objects is configurable in the obj package, use cfg.workdir.

A obj program is provided to manage the objects on disk and allow for simple queries.

OBJ has a “no-clause MIT license” that should be the most liberal license you can get at the year 2018.

modules

The following modules are provided:

obj - object class to save/load json files.
obj.collection - collection of objects
obj.construct - construct a object into it’s type.
obj.core - core module to stash runtime objects..
obj.db - access saved json files.
obj.handler - event handler based on queue.Queue.
obj.loader - load modules.
obj.log - log module to set standard format of logging.
obj.shell - shell related functionality.
obj.thr - threading module.
obj.time - timed helper functions.
obj.trace - stack trace helper functions.
obj.url - functions that fetch data from url.

Project details


Release history Release notifications

This version

10

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for obj, version 10
Filename, size File type Python version Upload date Hashes
Filename, size obj-10.tar.gz (26.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page