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.

source

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.

license

OBJ - timestamped JSON objects

Copyright 2017,2018 B.H.J Thate

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice don’t have to be included.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

23-02-2018 As the creator of this file, I disclaim all rights on this file.

Bart Thate Heerhugowaard The Netherlands

Project details


Release history Release notifications

This version

8

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 8
Filename, size File type Python version Upload date Hashes
Filename, size obj-8.tar.gz (26.6 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