A small decorator for tracking changed attributes in a class
Project description
Tracking Decorator Package
This decorator tracks when the pointers to specified attributes of a class change. Whenever this occurs, the attribute is added to a set of tracked attributes. These attributes can be accessed with Clas.tracked_attributes, and cleared with Class.clear()
The current primary usage is for delta compression in socket communications. Delta compression effectively means reducing the information to be sent, by only sending that which has changed since the last call.
Is intuitive and short to write, and has extremely minimal impact on performace.
Further functionality and customizability to come.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tracking_decorator-0.0.4.tar.gz.
File metadata
- Download URL: tracking_decorator-0.0.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0afd062c10c502e616865da30a3439add3366fe32289f2c4235719a0d3fdde86
|
|
| MD5 |
034df170769d7f4604a390ab347acc9f
|
|
| BLAKE2b-256 |
95fa7679a386e47cfbf8a324d2883721498c91c5840228e4a8cccfe8ecea0d76
|
File details
Details for the file tracking_decorator-0.0.4-py3-none-any.whl.
File metadata
- Download URL: tracking_decorator-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b2c4bf64a9c29b31212b887ad8ea60a2275836aeff3a9eff0f89b5bf55474bb
|
|
| MD5 |
3094ec0635cce8327bf0954165cd500e
|
|
| BLAKE2b-256 |
bbee5b793524231641b8874e146312d7b56a5890839941160a794024f2b2a7e4
|