Skip to main content
Zipper [![Build Status](https://travis-ci.org/trivio/zipper.png)](https://travis-ci.org/trivio/zipper)
======

A datastructure, first described by Huet, is used to traverse and
manipulate immutable trees. This library is a port of the zipper
implementation found in Clojure.

Usage
-----

The zipper module provides several functions for creating a Loc object which
represents the current focal point in the tree.



```
>>> import zipper
>>> top = zipper.list([1, [2, 3], 4])

>>> print top.down().right().node()
[2,3]

>>> print top.down().right().down().node()
2

>>> print top.down().right().down().replace(0).root()
[1, [0, 3], 4]

```

Metadata

Release files for zipper 0.0.3

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

Source distribution (sdist)

Source distribution for zipper 0.0.3
File Size Uploaded Provenance
zipper-0.0.3.tar.gz 3.9 kB Without provenance Details

Release files / zipper-0.0.3.tar.gz

Download URL zipper-0.0.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
956348ff71e7e8ee3325c83e845d6a31acb6671c0b3bfcda85b2cc63bc7f515b
BLAKE2b-256 checksum
How to use checksums
612b33247f55ec79f2805309d164f9fceb61c49dace3cdb6c528528a59ba9e3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zipper 0.0.3

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.

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