Skip to main content

Unda

pip install unda

What's Unda?

Unda is a Python 3 module which provides state-based undo and redo functionality for Python objects using a special manager object.

It does this by creating and managing undo and redo stacks (via Python deques) for each object placed in its care. Each time an object in its care is updated, a deepcopy of that object is saved to its undo stack, essentially functioning as a "state" for that object. Calling an undo on that object simply returns its latest state in its undo stack.

Usage

Please refer to the (super simple) User Guide here.

Why is it called Unda?

Well, because I didn't want to call it Undo.

Standards

Unda is:

  • compact (it's import dependencies all come with the Python standard library),
  • well documented (via docstrings),
  • built using Python 3.7 (in PyCharm),
  • fully PEP-8 compliant (checked with PyCharm),
  • distributed under the MIT License and
  • uses type hinting (verified by MyPy).

Metadata

Release files for unda 1.0.3.2

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

Source distribution (sdist)

Source distribution for unda 1.0.3.2
File Size Uploaded Provenance Actions
unda-1.0.3.2.tar.gz 4.0 kB Without provenance Details for unda-1.0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unda 1.0.3.2
File Interpreter ABI Platform Actions
unda-1.0.3.2-py3-none-any.whl Python 3 none any Details for unda-1.0.3.2-py3-none-any.whl

Total release size: 8.6 kB

Release files / unda-1.0.3.2.tar.gz

Download URL unda-1.0.3.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ba3439806f34e8fc89c3fc5e65ee6b83dc5a6b19528ca0dbe4707fe2d8b0839e
BLAKE2b-256 checksum
How to use checksums
31fe5daae29043fffb0af504b639f1bfa36e67a12a2721d81f3db0b6fe5dfbf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

Release files / unda-1.0.3.2-py3-none-any.whl

Download URL unda-1.0.3.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3697a48ca45a204afb9fd8e9366e468a52a9562f46dc6d1b1ebda7e94325f1f7
BLAKE2b-256 checksum
How to use checksums
8286b2ea0e354649ca1406342a578078578cefc4e0d291e509e04dd9470927a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

Security for unda 1.0.3.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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