< Home - < Back

python-larch


Information about the package, python-larch, which is shipped with common Linux distributions. The python-larch package is designed for, Python B-tree library.


Package Name:

python-larch

Summary:

Python B-tree library

Description:

This is an implementation of particular kind of B-tree, based on research by Ohad Rodeh. See "B-trees, Shadowing, and Clones" (copied here with permission of author) for details on the data structure. This is the same data structure that btrfs uses. Note that my implementation is independent from the btrfs one, and might differ from what the paper describes. The distinctive feature of this B-tree is that a node is never modified (sort-of). Instead, all updates are done by copy-on-write. Among other things, this makes it easy to clone a tree, and modify only the clone, while other processes access the original tree. This is utterly wonderful for my backup application, and that's the reason I wrote larch in the first place. I have tried to keep the implementation generic and flexible, so that you may use it in a variety of situations. For example, the tree itself does not decide where its nodes are stored: you provide a class that does that for it. I have two implementations of the NodeStore class, one for in-memory and one for on-disk storage. The tree attempts to guarantee this: all modifications you make will be safely stored in the node store when the larch.Forest.commit method is called. After that, unless you actually modify the committed tree yourself, it will be safe from further modifications. (You need to take care to create a new tree for further modifications, though.)

Architecture:

noarch

Version:

1.20131130

Release:

1.el6

Size:

112 k

Repository:

epel

From Repository:

Licence:

GPLv3+



Handy Yum Commands for python-larch


Control the python-larch package with the following handy commands outlined below.


Command

Description of Command

yum install python-larch

This command will install python-larch on the server.

yum remove python-larch

This command will un-install python-larch on the server. When you run this command, you will be asked if you are sure that you want to remove python-larch, so you have to manually confirm that you want to do this.

yum -y remove python-larch

This command will un-install python-larch on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-larch when using the -y flag.

yum update python-larch

This command will update python-larch to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-larch, so you have to manually confirm that you want to do this.

yum -y update python-larch

This command will update python-larch to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-larch when using the -y flag.

yum info python-larch

This command will show you core information about the python-larch package.

yum deplist python-larch

This command will show you the dependencies for python-larch. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-larch

This command will check if there is an update waiting on python-larch. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.