{ "info": { "author": "Troels Schwarz-Linnet", "author_email": "tlinnet@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering" ], "description": "=======\nkmdvalg \n=======\n\nWhat is kmdvalg?\n----------------\n\n* It is a wrapper around *BeautifulSoup* to extract data from www.kmdvalg.dk.\n* Bokeh map patches are created with *pyshp* from shapefiles.\n* The shapefile dataset is: 'Digdag (Kommunal)' and 'DAGI 1:2 mio' downloaded 2017/12/03 from https://download.kortforsyningen.dk.\n* The voting information is combined with map information before plotting.\n\nImportant links\n---------------\n\n* Source code: https://github.com/tlinnet/kmdvalg\n* PyPI package: https://pypi.python.org/pypi/kmdvalg\n\nSee examples\n------------------------\n\nUse **nbviewer.jupyter.org** to:\n\n* See Notebook to list Danske kommuner: get_kommune.ipynb_\n* See Notebook to make bokeh map of Kommunevalg 2017: get_kommune_map.ipynb_\n\n.. _get_kommune.ipynb: http://nbviewer.jupyter.org/github/tlinnet/kmdvalg/blob/master/examples/get_kommune.ipynb\n.. _get_kommune_map.ipynb: http://nbviewer.jupyter.org/github/tlinnet/kmdvalg/blob/master/examples/get_kommune_map.ipynb\n\nLaunch interactive Jupyter Notebook mybinder.org_ to try examples:\n\n.. _mybinder.org: https://mybinder.org/v2/gh/tlinnet/kmdvalg/master\n\n.. image:: https://mybinder.org/badge.svg\n :target: https://mybinder.org/v2/gh/tlinnet/kmdvalg/master\n\n.. image:: https://raw.githubusercontent.com/tlinnet/kmdvalg/master/docs/images/image1.png\n\nHow to install?\n---------------\nIf using conda, these steps will install an environment\n\n.. code-block:: bash\n\n # With pip from https://pypi.python.org/pypi/kmdvalg\n pip install kmdvalg\n\nDeveloper install for local conda environment:\n\n.. code-block:: bash\n\n # Create environment\n conda env create -f environment.yml\n \n # Activate environment\n conda env list\n source activate kmdvalg\n \n # Enable ipywidgets\n jupyter nbextension list\n jupyter nbextension enable --py widgetsnbextension --sys-prefix\n\n # Start jupyter\n jupyter notebook\n\nOr manual install in root environment:\n\n.. code-block:: bash\n\n # Manually install package\n python setup.py install --force\n \n # Manually uninstall\n python setup.py install --record files.txt\n PACK=`dirname $(head -n 1 files.txt)`\n rm -rf $PACK\n #cat files.txt | xargs rm -rf\n\nDeveloper\n---------\n\n* Guide for upload: http://peterdowns.com/posts/first-time-with-pypi.html\n* Updated info: https://packaging.python.org/guides/migrating-to-pypi-org/#uploading\n* PyPI test account: http://testpypi.python.org/pypi?%3Aaction=register_form \n* PyPI Live account: http://pypi.python.org/pypi?%3Aaction=register_form\n\n.. code-block:: bash\n\n # Modify version in: kmdvalg/__init__.py\n \n # Create tag\n VERS=`python -c \"from kmdvalg import __version__; print(__version__)\"`\n # Adds a tag so that we can put this on PyPI\n git tag $VERS -m \"\"\n git push --tags origin master\n \n # Upload your package to PyPI Test\n python setup.py sdist upload -r pypitest\n open https://testpypi.python.org/pypi/kmdvalg\n \n # Upload to PyPI Live\n # Once you've successfully uploaded to PyPI Test, perform the same steps but point to the live PyPI server instead.\n python setup.py sdist upload -r pypi\n open https://pypi.python.org/pypi/kmdvalg", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/tlinnet/kmdvalg/archive/0.13.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tlinnet/kmdvalg", "keywords": "", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "kmdvalg", "package_url": "https://pypi.org/project/kmdvalg/", "platform": "", "project_url": "https://pypi.org/project/kmdvalg/", "project_urls": { "Download": "https://github.com/tlinnet/kmdvalg/archive/0.13.tar.gz", "Homepage": "https://github.com/tlinnet/kmdvalg" }, "release_url": "https://pypi.org/project/kmdvalg/0.13/", "requires_dist": null, "requires_python": "", "summary": "A module for displaying danish Voting poll in Bokeh maps.", "version": "0.13" }, "last_serial": 3393941, "releases": { "0.10": [ { "comment_text": "", "digests": { "md5": "70f6ec2d60800afb6cef598e0fac1636", "sha256": "8db920cb7725e08ef69ef2dbf4eb9f3a1d9ab07d1c4932577086ad14030855bf" }, "downloads": -1, "filename": "kmdvalg-0.10.tar.gz", "has_sig": false, "md5_digest": "70f6ec2d60800afb6cef598e0fac1636", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18556, "upload_time": "2017-12-04T01:43:22", "url": "https://files.pythonhosted.org/packages/66/31/2e84c3f4cc7aa7ae2a46d9e02afd757cf045c9415148b2d66973b1d2246c/kmdvalg-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "95f9267ba28c00082cfe51b1d2de07a8", "sha256": "07c55f745c96f13bbfe02a811f57a8f7f77a56a4adea5b622f1f85491d939b31" }, "downloads": -1, "filename": "kmdvalg-0.11.tar.gz", "has_sig": false, "md5_digest": "95f9267ba28c00082cfe51b1d2de07a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18868, "upload_time": "2017-12-04T09:42:53", "url": "https://files.pythonhosted.org/packages/db/c8/349d629b3278230de85990e42d7d4f5217cef0e1811a2ed92fd718f3207e/kmdvalg-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "54ca642489c08f9322bbac99658e0ea6", "sha256": "1e579aebe3fd855aad1fb79e796f43df1d7a18a0a840a963d8af78faafb1bc23" }, "downloads": -1, "filename": "kmdvalg-0.12.tar.gz", "has_sig": false, "md5_digest": "54ca642489c08f9322bbac99658e0ea6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18873, "upload_time": "2017-12-04T12:33:33", "url": "https://files.pythonhosted.org/packages/b5/61/c0e7438600ab7d2ad749ae53118c4b93f12dca0167762b3c926d5c7fe738/kmdvalg-0.12.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "f5a2e5f6327265679a494563a0b18b79", "sha256": "183b09190590cc1b16cff0deb68945b26b8dae293a01f565890a64dc9eb8ae85" }, "downloads": -1, "filename": "kmdvalg-0.13.tar.gz", "has_sig": false, "md5_digest": "f5a2e5f6327265679a494563a0b18b79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19383, "upload_time": "2017-12-06T14:01:19", "url": "https://files.pythonhosted.org/packages/24/6d/8c92a1d9a65fbaa81eda475c1bf83ee049fca3bf9b85ce4a1e8d3bd468d4/kmdvalg-0.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f5a2e5f6327265679a494563a0b18b79", "sha256": "183b09190590cc1b16cff0deb68945b26b8dae293a01f565890a64dc9eb8ae85" }, "downloads": -1, "filename": "kmdvalg-0.13.tar.gz", "has_sig": false, "md5_digest": "f5a2e5f6327265679a494563a0b18b79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19383, "upload_time": "2017-12-06T14:01:19", "url": "https://files.pythonhosted.org/packages/24/6d/8c92a1d9a65fbaa81eda475c1bf83ee049fca3bf9b85ce4a1e8d3bd468d4/kmdvalg-0.13.tar.gz" } ] }