{ "info": { "author": "Cayetano Benavent", "author_email": "cayetano.benavent@geographica.gs", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering :: GIS" ], "description": "Description\r\n-----------\r\n\r\n.. image:: https://travis-ci.org/GeographicaGS/daynight2geojson.svg?branch=master\r\n :target: https://travis-ci.org/GeographicaGS/daynight2geojson\r\n\r\nGet day and night global geometry and dumps to a GeoJSON file.\r\n\r\nBuilded on top of Matplotlib Basemap Toolkit Library. Geojson and\r\nShapely libraries are used to deal with geometries.\r\n\r\nOutput Coordinate Reference System (CRS): EPSG 4326\r\n\r\n\r\nRequirements\r\n------------\r\n\r\n- Geojson Python library (>= 1.0.9).\r\n https://github.com/frewsxcv/python-geojson\r\n- Shapely Python library (>= 1.4). https://github.com/Toblerity/Shapely\r\n- Matplotlib Basemap Toolkit Python library (>= 1.0.7).\r\n https://github.com/matplotlib/basemap\r\n\r\nSee requirements of above libraries (Numpy, Matplotlib, GEOS, etc.).\r\n\r\nInstalling\r\n----------\r\n\r\nIf you want to install from pip and you do not have installed Basemap:\r\n\r\npip install daynight2geojson --allow-external basemap --allow-unverified basemap\r\n\r\nUsage\r\n-----\r\n\r\nBasic usage:\r\n\r\n.. code:: python\r\n\r\n from datetime import datetime\r\n from daynight2geojson import DayNight2Geojson\r\n\r\n # Filepath to output GeoJSON\r\n filepath = '/tmp/day_night.geojson'\r\n\r\n # input_date = None is for UTC now date\r\n # For others input date: datetime object must be passed\r\n # datetime(year, month, day, hour, minute)\r\n input_date = datetime(2015, 1, 15, 00, 00)\r\n\r\n dn = DayNight2Geojson(filepath, input_date=input_date)\r\n dn.getDayNight()\r\n\r\nTest script: - test/daynighttesting.py\r\n\r\n\r\nExamples:\r\n---------\r\n\r\nhttps://github.com/GeographicaGS/daynight2geojson\r\n\r\nAbout author\r\n------------\r\n\r\nDeveloped by Cayetano Benavent (2015).\r\n\r\nGIS Analyst at Geographica.\r\n\r\nhttp://www.geographica.gs/\r\n\r\nLicense\r\n-------\r\n\r\nThis program is free software; you can redistribute it and/or modify it\r\nunder the terms of the GNU General Public License as published by the\r\nFree Software Foundation; either version 2 of the License, or (at your\r\noption) any later version.\r\n\r\n.. |Build Status| image:: https://travis-ci.org/GeographicaGS/daynight2geojson.svg?branch=master\r\n :target: https://travis-ci.org/GeographicaGS/daynight2geojson", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/GeographicaGS/daynight2geojson", "keywords": "night GIS matplotlib basemap geojson", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "daynight2geojson", "package_url": "https://pypi.org/project/daynight2geojson/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/daynight2geojson/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/GeographicaGS/daynight2geojson" }, "release_url": "https://pypi.org/project/daynight2geojson/0.1/", "requires_dist": null, "requires_python": null, "summary": "Get day and night global geometry and dumps to a GeoJSON file. Builded on top of Matplotlib Basemap Toolkit Library.", "version": "0.1" }, "last_serial": 1615663, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0d3c2d091a38c433d592135deeacf2af", "sha256": "a539ba2923f249b4e7222b175bc1bc0ce16a8421291c85de546854d21dca0bb0" }, "downloads": -1, "filename": "daynight2geojson-0.1.tar.gz", "has_sig": false, "md5_digest": "0d3c2d091a38c433d592135deeacf2af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4307, "upload_time": "2015-07-01T23:48:12", "url": "https://files.pythonhosted.org/packages/b6/94/143d2b4fe3a526ba7d909af767a9559c0887525fefc4b5b70992fb9caefe/daynight2geojson-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0d3c2d091a38c433d592135deeacf2af", "sha256": "a539ba2923f249b4e7222b175bc1bc0ce16a8421291c85de546854d21dca0bb0" }, "downloads": -1, "filename": "daynight2geojson-0.1.tar.gz", "has_sig": false, "md5_digest": "0d3c2d091a38c433d592135deeacf2af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4307, "upload_time": "2015-07-01T23:48:12", "url": "https://files.pythonhosted.org/packages/b6/94/143d2b4fe3a526ba7d909af767a9559c0887525fefc4b5b70992fb9caefe/daynight2geojson-0.1.tar.gz" } ] }