Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

The idea is to provide a modification history in a transparent way.

I'm experimenting with SQLObject right now. SQLAlchemy support is not in yet.

When it's enabled it intercepts __setattr__ and the .set() method and tracs the
modifications on it's own table.

It adds a method to the SQLObject instances called get_modification_history()
that will return a list of ObjectStateTrace instances.

This object has 4 key attributes:
* time: moment the modification happened
* column_name: it is the attribute changed in the SQLObject instance
* old_value: value before the change
* new_value: value after the change

To enable this extension add this to your config file:
objectstatetracer.on=True

To use it:
class YourClass(SQLObject)
....

from objectstatetracer.extension import register_class

register_class(YourClass)

And the instances of YourClass should be audited for changes.

I couldn't add the WidgetDescription of HistoryPanel (a datagrid that shows the
modifications), because it's far from being finished.

Check the tests for more info.

IT DOES NOT SUPPORT LAZY UPDATES YET

!!!HIGHLY EXPERIMENTAL!!!
Right now this may break your software and/or corrupt your data.
Use at your own risk!.

Metadata

Release files for ObjectStateTracer 0.1a0.dev-r611

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ObjectStateTracer 0.1a0.dev-r611
File Size Uploaded Provenance
ObjectStateTracer-0.1a0.dev-r611.zip 45.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ObjectStateTracer 0.1a0.dev-r611
File Interpreter ABI Platform
ObjectStateTracer-0.1a0.dev_r611-py2.4.egg Legacy Egg format - - Details

Total release size: 120.4 kB

Release files / ObjectStateTracer-0.1a0.dev-r611.zip

Download URL ObjectStateTracer-0.1a0.dev-r611.zip
Size 45.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2b8004adebdffa0aab6aea3a99014d4b7dbe58dc493898f5d4a24292a32a4a8e
BLAKE2b-256 checksum
How to use checksums
c53d479fb14530150af76378dd36887f53094f755f3d12976b8d679652556a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ObjectStateTracer-0.1a0.dev_r611-py2.4.egg

Download URL ObjectStateTracer-0.1a0.dev_r611-py2.4.egg
Size 74.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
a8aafacb546f44dc1bd320d623def3ceed36f254c7471c5f85c4ca7437d34bbb
BLAKE2b-256 checksum
How to use checksums
126be492c4cd1d6dc4037a1ac8730fe44e89561ce80dc8ba2f51560dffd38452
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ObjectStateTracer 0.1a0.dev-r611

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page