{ "info": { "author": "Luca Sbardella", "author_email": "luca@quantmind.com", "bugtrack_url": null, "classifiers": [], "description": "Data Structures\n===================\n\n\n|ci|\n\n\nBinary Tree\n--------------\n\nA `binary tree`_ implementation is available:\n\n.. code:: python\n\n from datastructures import Tree, Node\n\n tree = Tree()\n tree.size() // 0\n tree.max_depth() // 0\n tree.root // None\n root = tree.add() // Node\n root.left = Node()\n tree.size() // 2\n tree.max_depth() // 2\n\nTo check if the tree is a `binary search tree`_:\n\n.. code:: python\n\n tree.is_bst()\n\n\n.. |ci| image:: https://travis-ci.org/quantmind/datastructures.svg?branch=master\n :target: https://travis-ci.org/quantmind/datastructures\n.. _`binary tree`: https://en.wikipedia.org/wiki/Binary_tree\n.. _`binary search tree`: https://en.wikipedia.org/wiki/Binary_search_tree\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/quantmind/datastructures", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "datastructures", "package_url": "https://pypi.org/project/datastructures/", "platform": "", "project_url": "https://pypi.org/project/datastructures/", "project_urls": { "Homepage": "https://github.com/quantmind/datastructures" }, "release_url": "https://pypi.org/project/datastructures/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.1.0" }, "last_serial": 2574452, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d995e8122e02875842f2c41fdbd82948", "sha256": "fa7bf08a8a9f5f87071e852cc60936737e92516356517bda023537e34616df9d" }, "downloads": -1, "filename": "datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "d995e8122e02875842f2c41fdbd82948", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 138498, "upload_time": "2017-01-14T20:08:53", "url": "https://files.pythonhosted.org/packages/45/2a/6730b67bc456ed56860436de26a4594029ecd73899f6a0b7c10df41f232b/datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "044484867c800b7affcbc8762b0f4952", "sha256": "4835ff619e99d08f084f05bbb894b72481599f7d5c9a512cae5bbdcce71bc565" }, "downloads": -1, "filename": "datastructures-0.1.0.tar.gz", "has_sig": false, "md5_digest": "044484867c800b7affcbc8762b0f4952", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 88030, "upload_time": "2017-01-14T20:08:50", "url": "https://files.pythonhosted.org/packages/e9/6f/2e5805f8d459dbf34e193beba32b2416cd8a01914d3f53897431000ff8c3/datastructures-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d995e8122e02875842f2c41fdbd82948", "sha256": "fa7bf08a8a9f5f87071e852cc60936737e92516356517bda023537e34616df9d" }, "downloads": -1, "filename": "datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "d995e8122e02875842f2c41fdbd82948", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 138498, "upload_time": "2017-01-14T20:08:53", "url": "https://files.pythonhosted.org/packages/45/2a/6730b67bc456ed56860436de26a4594029ecd73899f6a0b7c10df41f232b/datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "044484867c800b7affcbc8762b0f4952", "sha256": "4835ff619e99d08f084f05bbb894b72481599f7d5c9a512cae5bbdcce71bc565" }, "downloads": -1, "filename": "datastructures-0.1.0.tar.gz", "has_sig": false, "md5_digest": "044484867c800b7affcbc8762b0f4952", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 88030, "upload_time": "2017-01-14T20:08:50", "url": "https://files.pythonhosted.org/packages/e9/6f/2e5805f8d459dbf34e193beba32b2416cd8a01914d3f53897431000ff8c3/datastructures-0.1.0.tar.gz" } ] }