A pair of python modules implementing red black trees is provided.
Red-black trees are a little slower than treaps (some question this), but they give a nice
low standard deviation in operation times, and this code is rather flexible.
A module is provided for red black trees that enforce uniqueness.
They allow for set-like use and dictionary-like use.
This code is known to work on CPython 2.x, CPython 3.x, Pypy and Jython.
Much of the work here was done by Duncan G. Smith. Dan just put some finishing touches on it.
Raw data
{
"_id": null,
"home_page": "http://stromberg.dnsalias.org/~strombrg/red-black-tree-mod/",
"name": "red-black-tree-mod",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Duncan G. Smith, Daniel Richard Stromberg",
"author_email": "strombrg@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/48/75/bfa342a2ebfc9623b701f1c6995b9906fd6dd2cedf6bce777d09e23303ac/red-black-tree-mod-1.22.tar.gz",
"platform": "Cross platform",
"description": "\nA pair of python modules implementing red black trees is provided.\n\nRed-black trees are a little slower than treaps (some question this), but they give a nice\nlow standard deviation in operation times, and this code is rather flexible.\n\nA module is provided for red black trees that enforce uniqueness.\nThey allow for set-like use and dictionary-like use.\n\nThis code is known to work on CPython 2.x, CPython 3.x, Pypy and Jython.\n\nMuch of the work here was done by Duncan G. Smith. Dan just put some finishing touches on it.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Flexible python implementation of red black trees",
"version": "1.22",
"project_urls": {
"Homepage": "http://stromberg.dnsalias.org/~strombrg/red-black-tree-mod/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4875bfa342a2ebfc9623b701f1c6995b9906fd6dd2cedf6bce777d09e23303ac",
"md5": "8aed204b43d6369e3d27537d44a55bdf",
"sha256": "38e3652903a2bf96379c27c2082ca0b7b905158662dd7ef0c97f4fd93a9aa908"
},
"downloads": -1,
"filename": "red-black-tree-mod-1.22.tar.gz",
"has_sig": false,
"md5_digest": "8aed204b43d6369e3d27537d44a55bdf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34173,
"upload_time": "2023-12-26T14:00:22",
"upload_time_iso_8601": "2023-12-26T14:00:22.056139Z",
"url": "https://files.pythonhosted.org/packages/48/75/bfa342a2ebfc9623b701f1c6995b9906fd6dd2cedf6bce777d09e23303ac/red-black-tree-mod-1.22.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-26 14:00:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "red-black-tree-mod"
}