{ "info": { "author": "Bertrand Charpentier", "author_email": "bercha@kth.se", "bugtrack_url": null, "classifiers": [ "Topic :: System :: Clustering" ], "description": "python-paris: Hierarchical graph clustering algorithm (paris) and dendrogram processing\n=========================\n\nparis is a Python module that provides an implementation of the hierarchical clustering algorithm for graphs, paris.\nIt provides four algorithms able to process dendrograms in order to extract best clusters, clusterings or distances.\n\nInstallation\n------------\n\nInstall the latest version of cylouvain using ``pip`` ::\n\n $ pip install python_paris\n\nDependencies\n------------\n\ncylouvain requires:\n\n- Python (>= 2.7 or >= 3.4)\n- NumPy\n- NetworkX\n\nSimple example\n--------------\n\nBuild a simple graph with NetworkX::\n\n >>> import networkx as nx\n >>> graph = nx.Graph()\n >>> graph.add_nodes_from(['0', '1', '2', '3', '4', '5'])\n >>> graph.add_edges_from([(0, 1, 1), (0, 2, 1), (1, 2, 1), (2, 3, 1),\n (3, 4, 1), (3, 5, 1), (4, 5, 1)])\n\nCompute a clustering hierarchy of the nodes using paris::\n\n >>> from python_paris import paris\n >>> dendrogram = paris(graph)\n\nCompute the best clusters, clusterings and distances::\n\n >>> best_cluster = best_cluster_cut(dendrogram)\n >>> best_homogneous_clustering = best_homogeneous_cut(dendrogram)\n >>> best_heterogneous_clustering = best_heterogeneous_cut(dendrogram)\n >>> best_distance = best_distance\n\nLicense\n-------\n\nReleased under the Apache License 2.0 licence::\n\n Copyright (C) 2018 Bertrand Charpentier \n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Charpenb/paris", "keywords": "modularity multi-scale hierarchical graph clustering", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "python_paris", "package_url": "https://pypi.org/project/python_paris/", "platform": "", "project_url": "https://pypi.org/project/python_paris/", "project_urls": { "Homepage": "https://github.com/Charpenb/paris" }, "release_url": "https://pypi.org/project/python_paris/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Multi-scale modularity based clustering algorithm", "version": "0.0.1" }, "last_serial": 3863670, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f32a35f9d6a34f360671f2421b82736e", "sha256": "e7f08e1fcd7bff0a3aa405bed69c0a7372f2b349155fd945da75983cc276a6cd" }, "downloads": -1, "filename": "python_paris-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f32a35f9d6a34f360671f2421b82736e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6274, "upload_time": "2018-05-15T07:55:40", "url": "https://files.pythonhosted.org/packages/36/a7/971ed2a24d29a3304793d1d1e3eb4b6b0475ef896d3677742abc895840a6/python_paris-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f32a35f9d6a34f360671f2421b82736e", "sha256": "e7f08e1fcd7bff0a3aa405bed69c0a7372f2b349155fd945da75983cc276a6cd" }, "downloads": -1, "filename": "python_paris-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f32a35f9d6a34f360671f2421b82736e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6274, "upload_time": "2018-05-15T07:55:40", "url": "https://files.pythonhosted.org/packages/36/a7/971ed2a24d29a3304793d1d1e3eb4b6b0475ef896d3677742abc895840a6/python_paris-0.0.1.tar.gz" } ] }