timestamped JSON objects
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.
The following modules are provided:
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
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size obj-9.tar.gz (26.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|