Simple Objects
A simple object is a representation of typed and structured data.
A definition of the simple object representation format can be found in the
Specification Document.
The simple object library comes with a C API and a complete set of Python
bindings.
-
Download the tarball.
-
Untar the tarball and change into the source directory named
libsobject-X.Y.Z (where X.Y.Z is the version
number).
tar xzf libsobject-X.Y.Z.tar.gz
cd libsobject-X.Y.Z
-
Run the configure script.
./configure
For a list of supported configuration options, type
./configure --help
Building the source in a directory different from the source directory is
supported.
To do that, change to the build directory and run the configure script from
there.
-
Run make check.
The test suite only takes a few seconds, so there's no point in skipping the
tests.
make check
-
If all went well, run make install.
make install
-
Specification
[PDF].
This document contains the formal specification of the simple object
serialization formats and library API.
-
C API.
This is the C API documentation generated by
Doxygen.
-
The Python API is documentated using standard Python docstrings.
For an overview, type the following to the Python prompt:
>>> import sobject
>>> help(sobject)
>>> help(sobject.SObject)
The tarball can be downloaded from
www.wizard-labs.org/sobject/libsobject-0.5.0.tar.gz.
The author (Sascha Demetrio) makes NO WARRANTY or
representation, either express or implied, with respect to this software, its
quality, accuracy, merchantability, or fitness for a particular purpose.
This software is provided AS IS, and you, its user,
assume the entire risk as to its quality and accuracy.
This software is copyright © 2001-2005, Sascha Demetrio.
All Rights Reserved except as specified below.
Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
-
If any part of the source code for this software is distributed, then this
copyright notice must be included unaltered; and any additions, deletions,
or changes to the original files must be clearly indicated in accompanying
documentation.
-
If only executable code is distributed, then the accompanying documentation
must state that "this software is based in part on the work of
Sascha Demetrio".
-
Permission for use of this software is granted only if the user accepts full
responsibility for any undesirable consequences; the author accepts
NO LIABILITY for damages of any kind.
These conditions apply to any software derived from or based on the provided
code, not just to the unmodified library.
I specifically permit and encourage the use of this software as the basis of
commercial products, provided that all warranty or liability claims are
assumed by the product vendor.
If you have a question or comment related to simple objects or wish to
report a bug, feel free the send mail to
xxxsascha.demetrio@wizard-labs.orgxxx