{ "info": { "author": "Rohith Asrk", "author_email": "rohith.asrk@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: System :: Networking" ], "description": "openwisp-network-topology\n=========================\n\n.. image:: https://travis-ci.org/openwisp/openwisp-network-topology.svg?branch=master\n :target: https://travis-ci.org/openwisp/openwisp-network-topology\n\n.. image:: https://coveralls.io/repos/github/openwisp/openwisp-network-topology/badge.svg\n :target: https://coveralls.io/github/openwisp/openwisp-network-topology\n\n.. image:: https://requires.io/github/openwisp/openwisp-network-topology/requirements.svg?branch=master\n :target: https://requires.io/github/openwisp/openwisp-network-topology/requirements/?branch=master\n :alt: Requirements Status\n\n.. image:: https://badge.fury.io/py/openwisp-network-topology.svg\n :target: http://badge.fury.io/py/openwisp-network-topology\n\n------------\n\nOpenWISP 2 network topology module (built using Python and Django web-framework).\n\n.. figure:: docs/images/visualizer.png\n :align: center\n :alt: \n\n------------\n\n.. contents:: **Table of Contents**:\n :backlinks: none\n :depth: 3\n\n------------\n\nInstall stable version from pypi\n--------------------------------\n\nInstall from pypi:\n\n.. code-block:: shell\n\n pip install openwisp-network-topology\n\nInstall development version\n---------------------------\n\nInstall tarball:\n\n.. code-block:: shell\n\n pip install https://github.com/openwisp/openwisp-network-topology/tarball/master\n\nAlternatively you can install via pip using git:\n\n.. code-block:: shell\n\n pip install -e git+git://github.com/openwisp/openwisp-network-topology#egg=openwisp-network-topology\n\nIf you want to contribute, install your cloned fork:\n\n.. code-block:: shell\n\n git clone git@github.com:/openwisp-network-topology.git\n cd openwisp-network-topology\n python setup.py develop\n\nSetup (integrate in an existing django project)\n-----------------------------------------------\n\n``INSTALLED_APPS`` in ``settings.py`` should look like the following (order is important):\n\n.. code-block:: python\n\n INSTALLED_APPS = [\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n # for customized openwisp admin theme\n 'openwisp_utils.admin_theme',\n # all-auth\n 'django.contrib.sites',\n 'allauth',\n 'allauth.account',\n 'allauth.socialaccount',\n # openwisp2 modules\n 'openwisp_users',\n 'openwisp_network_topology',\n 'rest_framework',\n # admin\n 'django.contrib.admin',\n ]\n EXTENDED_APPS = ('django_netjsongraph',)\n\nNote that the ``EXTENDED_APPS`` may contain other names (if you installed other modules), in that case you should just add ``django_netjsongraph``.\n\nAdd ``openwisp_utils.staticfiles.DependencyFinder`` to ``STATICFILES_FINDERS`` in your settings.py\n\n.. code-block:: python\n\n STATICFILES_FINDERS = [\n 'django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder',\n 'openwisp_utils.staticfiles.DependencyFinder',\n ]\n\nAdd ``openwisp_utils.loaders.DependencyLoader`` to ``TEMPLATES`` in your ``settings.py``\n\n.. code-block:: python\n\n TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [],\n 'OPTIONS': {\n 'loaders': [\n 'django.template.loaders.filesystem.Loader',\n 'django.template.loaders.app_directories.Loader',\n 'openwisp_utils.loaders.DependencyLoader',\n ],\n 'context_processors': [\n 'django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages',\n ],\n },\n },\n ]\n\nAdd the following settings to ``settings.py``\n\n.. code-block:: python\n\n LOGIN_REDIRECT_URL = 'admin:index'\n ACCOUNT_LOGOUT_REDIRECT_URL = LOGIN_REDIRECT_URL\n\nAdd the URLs to your main ``urls.py``:\n\n.. code-block:: python\n\n from django.conf.urls import include, url\n from django.contrib.staticfiles.urls import staticfiles_urlpatterns\n\n from openwisp_utils.admin_theme.admin import admin, openwisp_admin\n\n openwisp_admin()\n\n urlpatterns = [\n url(r'^', include('openwisp_network_topology.urls')),\n url(r'^admin/', include(admin.site.urls)),\n ]\n\n urlpatterns += staticfiles_urlpatterns()\n\nThen run:\n\n.. code-block:: shell\n\n ./manage.py migrate\n\nInstalling for development\n--------------------------\n\nInstall sqlite:\n\n.. code-block:: shell\n\n sudo apt-get install sqlite3 libsqlite3-dev\n\nInstall your forked repo:\n\n.. code-block:: shell\n\n git clone git://github.com//openwisp-network-topology\n cd openwisp-network-topology/\n python setup.py develop\n\nInstall test requirements:\n\n.. code-block:: shell\n\n pip install -r requirements-test.txt\n\nCreate database:\n\n.. code-block:: shell\n\n cd tests/\n ./manage.py migrate\n ./manage.py createsuperuser\n\nSet ``EMAIL_PORT`` in ``settings.py`` to a port number (eg: ``1025``):\n\n.. code-block:: python\n\n EMAIL_PORT = '1025'\n\nLaunch development server and SMTP deubgging server:\n\n.. code-block:: shell\n\n ./manage.py runserver\n # open another session and run\n python -m smtpd -n -c DebuggingServer localhost:1025\n\nYou can access the admin interface at http://127.0.0.1:8000/admin/.\n\nRun tests with:\n\n.. code-block:: shell\n\n ./runtests.py\n\nContributing\n------------\n\n1. Announce your intentions in the `OpenWISP Mailing List `_\n and open relavant issues using the `issue tracker\n `_\n2. Fork this repo and install the project following the `instructions\n `_\n3. Follow `PEP8, Style Guide for Python Code`_\n4. Write code and corresponding tests\n5. Ensure that all tests pass and the test coverage does not decrease\n6. Document your changes\n7. Send a pull request\n\n.. _PEP8, Style Guide for Python Code: http://www.python.org/dev/peps/pep-0008/\n\nChangelog\n---------\n\nSee `CHANGES `_.\n\nLicense\n-------\n\nSee `LICENSE `_.\n\nSupport\n-------\n\nSee `OpenWISP Support Channels `_.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/openwisp/openwisp-network-topology/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://openwisp.org", "keywords": "django,netjson,openwrt,networking,openwisp", "license": "BSD-3-Clause", "maintainer": "", "maintainer_email": "", "name": "openwisp-network-topology", "package_url": "https://pypi.org/project/openwisp-network-topology/", "platform": "Platform Independent", "project_url": "https://pypi.org/project/openwisp-network-topology/", "project_urls": { "Download": "https://github.com/openwisp/openwisp-network-topology/releases", "Homepage": "http://openwisp.org" }, "release_url": "https://pypi.org/project/openwisp-network-topology/0.2.1/", "requires_dist": [ "django-netjsongraph (<0.5.0,>=0.4.2)", "openwisp-users (<0.2,>=0.1.8)", "openwisp-utils (<0.3,>=0.2)" ], "requires_python": "", "summary": "OpenWISP 2 Network Topology", "version": "0.2.1" }, "last_serial": 3612798, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "001d342bc0e24c3fbd4d4d3215b309c3", "sha256": "ad757706255ab095223348734978c50e0e5cc81f002561e8f105d6dcb5fc6c00" }, "downloads": -1, "filename": "openwisp_network_topology-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "001d342bc0e24c3fbd4d4d3215b309c3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15213, "upload_time": "2017-06-29T11:35:40", "url": "https://files.pythonhosted.org/packages/34/f8/74c954f1a8996f9de995755daf90c31e02082040d7c891e9f41105c1b530/openwisp_network_topology-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bbc4a49d75f9743e245c83cf372eff6d", "sha256": "2ac79885c8905df23d29df5c73e688fbe0ffc3961f386c77974f91f85a495f38" }, "downloads": -1, "filename": "openwisp-network-topology-0.1.0.tar.gz", "has_sig": true, "md5_digest": "bbc4a49d75f9743e245c83cf372eff6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9985, "upload_time": "2017-06-29T11:35:42", "url": "https://files.pythonhosted.org/packages/1b/62/e45fbee6164d876dbbe44a6e35df602c6e1f925230cabd222aca1388c954/openwisp-network-topology-0.1.0.tar.gz" } ], "0.1.0a0": [ { "comment_text": "", "digests": { "md5": "ba9701aad70b633cf387e1886dbfc877", "sha256": "f55d869bbf9fc036a89952f4b47426d4b9c7cf9d1e7c32358d072bf293b94c25" }, "downloads": -1, "filename": "openwisp_network_topology-0.1.0a0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "ba9701aad70b633cf387e1886dbfc877", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9263, "upload_time": "2017-06-01T08:41:28", "url": "https://files.pythonhosted.org/packages/ea/41/5ef08810e23f48a9a71b96f46dabc955b7159550237a9a5691801443ea39/openwisp_network_topology-0.1.0a0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3d336672300c6c8845a84965195b267", "sha256": "b75d0108f1508df3a2f3d5094655b29eff4fc341f2663dec32c304b80802b43e" }, "downloads": -1, "filename": "openwisp-network-topology-0.1.0a0.tar.gz", "has_sig": true, "md5_digest": "c3d336672300c6c8845a84965195b267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19438, "upload_time": "2017-06-01T08:41:26", "url": "https://files.pythonhosted.org/packages/1f/39/36a129a03853537b83a63e9f667277da8995fde4c6b08a3791d23946d42e/openwisp-network-topology-0.1.0a0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e9232f473c8371530bdff9bce359a52c", "sha256": "ed273fa4913f49039e52c9b0a5217da48de9bb077babf78e47daf9caf6fcfb2c" }, "downloads": -1, "filename": "openwisp_network_topology-0.1.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "e9232f473c8371530bdff9bce359a52c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14886, "upload_time": "2017-07-10T18:09:12", "url": "https://files.pythonhosted.org/packages/c4/06/971998f995188784535c95a0df7aae621d12e808e49f7dda865ec587f4f1/openwisp_network_topology-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "65e5c5433038fb323d6df5cfba8d82d5", "sha256": "e51461a7266cc797197a94893ed19677164aefaa7cc4d7711e285466b774a901" }, "downloads": -1, "filename": "openwisp-network-topology-0.1.1.tar.gz", "has_sig": true, "md5_digest": "65e5c5433038fb323d6df5cfba8d82d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10016, "upload_time": "2017-07-10T18:09:15", "url": "https://files.pythonhosted.org/packages/5f/3c/ba6877f732d69028dd23ff7c6b4fb49cd0af92ba65527813ab415d90e895/openwisp-network-topology-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "dda1bc09e173fd449ec4fee047ccb734", "sha256": "a14f64daf5fe1112e64857abc50f3eb5ff5c29cf06382dd85b324e59ddbac143" }, "downloads": -1, "filename": "openwisp_network_topology-0.1.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "dda1bc09e173fd449ec4fee047ccb734", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19700, "upload_time": "2017-07-22T15:26:18", "url": "https://files.pythonhosted.org/packages/04/2f/903ffe87a9a68f2a035fbb862a091228c642e51635c7c5cb20c102b9b6aa/openwisp_network_topology-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ceb9b349aafc00a298e0af18589e4a5", "sha256": "8ad89b2207d95be0cc56b746a6c891c92036b04940c0d5ebd798cfe2112797e3" }, "downloads": -1, "filename": "openwisp-network-topology-0.1.2.tar.gz", "has_sig": true, "md5_digest": "6ceb9b349aafc00a298e0af18589e4a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11222, "upload_time": "2017-07-22T15:26:20", "url": "https://files.pythonhosted.org/packages/df/8e/ea03f17bad751ca2d7fcb1fc38440a40d56510444ec585b6f668571e11e6/openwisp-network-topology-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7e3ee229a692bc34e0af0de1585ec2cd", "sha256": "29e99b6a3576361aae85c190281957755c688115b5017dbde40868b8dd3a2ca9" }, "downloads": -1, "filename": "openwisp_network_topology-0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "7e3ee229a692bc34e0af0de1585ec2cd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22054, "upload_time": "2018-02-20T13:58:01", "url": "https://files.pythonhosted.org/packages/b4/0c/a253d79435f944355e23a6bad8c9ba01ac19fbef21ead0c9caba1b6976cf/openwisp_network_topology-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd70b7b6cfe6aeef145401d6f28712c9", "sha256": "f77caefd8f2f2e9311b4061cd13d74fb1241e8ba7f968f7a4667d8e77289c00d" }, "downloads": -1, "filename": "openwisp-network-topology-0.2.tar.gz", "has_sig": true, "md5_digest": "fd70b7b6cfe6aeef145401d6f28712c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14248, "upload_time": "2018-02-20T13:58:07", "url": "https://files.pythonhosted.org/packages/6f/23/1d0fd7547f1bc3930f7168788f3d41e595e4c8331d526b9fa6dd25dc46cf/openwisp-network-topology-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a1c7e87ad6d0693acdbff3ca76f9d427", "sha256": "c5caccf925c7815f7060c572815b69552791d480142547519d99af9b33e3e828" }, "downloads": -1, "filename": "openwisp_network_topology-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1c7e87ad6d0693acdbff3ca76f9d427", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22626, "upload_time": "2018-02-24T20:18:25", "url": "https://files.pythonhosted.org/packages/e7/0d/33635ce6b237e52cace9761ba70449ca1197cb8209948c967c5f9ca34180/openwisp_network_topology-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de4123394f21c635af03142dcbe9172c", "sha256": "7e7d9eeeeb6d3955a4cbfc9ad5584309e1721653b2721734d6eaf69aace4d7eb" }, "downloads": -1, "filename": "openwisp-network-topology-0.2.1.tar.gz", "has_sig": false, "md5_digest": "de4123394f21c635af03142dcbe9172c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11967, "upload_time": "2018-02-24T20:18:27", "url": "https://files.pythonhosted.org/packages/ca/86/3771d6701a872f5ef33e56d8ed664a3c3d6c599598cd84c0d5a1e0653650/openwisp-network-topology-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1c7e87ad6d0693acdbff3ca76f9d427", "sha256": "c5caccf925c7815f7060c572815b69552791d480142547519d99af9b33e3e828" }, "downloads": -1, "filename": "openwisp_network_topology-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1c7e87ad6d0693acdbff3ca76f9d427", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22626, "upload_time": "2018-02-24T20:18:25", "url": "https://files.pythonhosted.org/packages/e7/0d/33635ce6b237e52cace9761ba70449ca1197cb8209948c967c5f9ca34180/openwisp_network_topology-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de4123394f21c635af03142dcbe9172c", "sha256": "7e7d9eeeeb6d3955a4cbfc9ad5584309e1721653b2721734d6eaf69aace4d7eb" }, "downloads": -1, "filename": "openwisp-network-topology-0.2.1.tar.gz", "has_sig": false, "md5_digest": "de4123394f21c635af03142dcbe9172c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11967, "upload_time": "2018-02-24T20:18:27", "url": "https://files.pythonhosted.org/packages/ca/86/3771d6701a872f5ef33e56d8ed664a3c3d6c599598cd84c0d5a1e0653650/openwisp-network-topology-0.2.1.tar.gz" } ] }