{ "info": { "author": "Charles Kaminski", "author_email": "CharlesKaminski@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Sociology", "Topic :: Utilities" ], "description": "treeutils\n=========================\n\nFor developers who have to fit real world data into tree structures like the D3 tree.\n\nSeparate records into different trees. Build child trees from a parent relationship. Order does not matter. Having more than one tree present does not matter. Broken branches do not matter.\n\n:Download: http://pypi.python.org/pypi/treeutils/\n:Source: http://github.com/Charles-Kaminski/treeutils\n:License: BSD 3-Clause License\n\nUsage\n=====\n\n**Commands**::\n\n >> clusters = [x for x in Clusters(records)]\n >> clusters = list(Clusters(records))\n >> trees = [x for x in Trees(records)]\n >> trees = list(Trees(records))\n \nUse Clusters when you don't want to build trees but instead you want to return the records grouped by tree membership. Clusters takes an unordered list of dictionary objects with an ID and a Parent ID. Clusters will separate them into separate lists based on tree membership.\n\nUse Trees when you want to build out trees and you have an unordered list of records with parent relationships instead of child relationships and you may have more than one tree present. Clusters takes an unordered list of dictionary objects with an ID and a Parent ID. Trees will build out the trees by embedding child nodes into each parent's children key. Trees will return the root node of each separate tree.\n\nInstalling treeutils\n====================================\n\nYou can install ``treeutils`` either via the Python Package Index (PyPI) or from source.\n\nTo install using ``pip`` (recommended)::\n\n $ pip install treeutils\n\nTo install using ``easy_install``::\n\n $ easy_install treeutils\n\n\nTo install from source, download the source from github (https://github.com/Charles-Kaminski/treeutils/archive/master.zip). Decompress it and put it in the folder with your python project as another python module.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Charles-Kaminski/treeutils", "keywords": "Tree,Cluster,Parent,Child,Branch,Root,D3", "license": "BSD 3-Clause License", "maintainer": "", "maintainer_email": "", "name": "treeutils", "package_url": "https://pypi.org/project/treeutils/", "platform": "", "project_url": "https://pypi.org/project/treeutils/", "project_urls": { "Homepage": "https://github.com/Charles-Kaminski/treeutils" }, "release_url": "https://pypi.org/project/treeutils/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "For developers who have to fit real world data into tree structures like the D3 tree.", "version": "0.1.1" }, "last_serial": 5300309, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e5bbf9dc38356f020e8a0789ebcfd49f", "sha256": "62d9c6e67d17eb38216aa965ea0788c11dd8e9676c5148b467c0f8804b38a8b4" }, "downloads": -1, "filename": "treeutils-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e5bbf9dc38356f020e8a0789ebcfd49f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4414, "upload_time": "2019-05-22T00:16:57", "url": "https://files.pythonhosted.org/packages/ab/74/b4e822d577219eab32d190ebbf715e7bf233589100ea1abd540052c2a73f/treeutils-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f67c31fbe03e9f461864512d3703c514", "sha256": "074be830fa494af5f6bb4a1c85ae77fed2d350440faaffcaed01de113c38bc22" }, "downloads": -1, "filename": "treeutils-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f67c31fbe03e9f461864512d3703c514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4443, "upload_time": "2019-05-22T00:37:52", "url": "https://files.pythonhosted.org/packages/ed/c5/8988964e250201c3cf26d5bee43053bbf41a5c09d794cd975145209a5445/treeutils-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f67c31fbe03e9f461864512d3703c514", "sha256": "074be830fa494af5f6bb4a1c85ae77fed2d350440faaffcaed01de113c38bc22" }, "downloads": -1, "filename": "treeutils-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f67c31fbe03e9f461864512d3703c514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4443, "upload_time": "2019-05-22T00:37:52", "url": "https://files.pythonhosted.org/packages/ed/c5/8988964e250201c3cf26d5bee43053bbf41a5c09d794cd975145209a5445/treeutils-0.1.1.tar.gz" } ] }