{ "info": { "author": "Wiktor Matuszewski", "author_email": "pywkm@wukaem.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: Win32 (MS Windows)", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows :: Windows 7", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only", "Topic :: Multimedia :: Graphics" ], "description": "earthpic\r\n========\r\n\r\nPython script downloading Earth photos taken by Himawari-8 satelite.\r\nWebsite: http://himawari8.nict.go.jp/\r\n\r\nInspired by this reddit thread:\r\nhttps://www.reddit.com/r/programming/comments/441do9/i_made_a_windows_powershell_script_that_puts_a/\r\n\r\nEspecially by european_impostor's Powershell script:\r\nhttps://gist.github.com/MichaelPote/92fa6e65eacf26219022\r\n\r\nAnd most of all, its Python implementations:\r\nby celoyd: https://gist.github.com/celoyd/39c53f824daef7d363db\r\nand by willwhitney: https://gist.github.com/willwhitney/e9e2c42885385c51843e\r\n\r\nThis script is Windows specific. Python 3.4+ only compatible.\r\nTested on Windows 7, Python 3.4.4 and Python 3.5.1\r\n\r\n\r\nInstallation\r\n------------\r\nTo install, download source or clone it with git\r\n\r\n git clone https://github.com/pywkm/earthpic.git\r\n\r\n\r\nChange to eartpic/ directory and run setup.py\r\n\r\n cd earthpic/\r\n python setup.py install\r\n\r\n\r\nThis should install all dependencies (`Pillow`, `requests`, `pytz` and `click`).\r\nIf you have problem with installing Pillow package during `python setup.py install`\r\nand/or with `pip install pillow`, you can download wheel file from\r\nhttp://www.lfd.uci.edu/~gohlke/pythonlibs/ and install it with command\r\n`pip install `.\r\n\r\n\r\nUsage\r\n-----\r\nCall `earthpic --help` from command line to view this help:\r\n\r\n usage: earthpic [-h] [-d DATE] [-t TIME] [-s SCALE] [-w] [-v] [-l N_PHOTOS]\r\n [-b] [-p PATH]\r\n\r\n Download satelite Earth photo(s)\r\n\r\n optional arguments:\r\n -h, --help show this help message and exit\r\n -d DATE, --date DATE date of the photo [format: YYYY-MM-DD] (default:\r\n 2016-02-09)\r\n -t TIME, --time TIME time of the photo [fotmat: hh:mm] (default: 00:05)\r\n -s SCALE, --scale SCALE\r\n scale of the photo, choices: 1, 2, 4, 8, 16 or 20\r\n (default: 2)\r\n -w, --wallpaper set downloaded image as desktop wallpaper (default:\r\n False)\r\n -v, --verbose increase output verbosity (default: False)\r\n -l N_PHOTOS, --last N_PHOTOS\r\n process N photos to given date (default: 1)\r\n -b, --batch run batch downloading photos. To stop, press ctrl+c.\r\n (default: False)\r\n -p PATH, --path PATH path where images will be saved (default: images)\r\n\r\n\r\nSo, for instance calling just `earthpic` without arguments will download latest\r\nsatelite photo (current time minus ~20 minutes - delay of original service) and\r\nsave it to `./images/` directory, without setting it as desktop wallpaper.\r\n\r\nTo specify date and time of picture write: `earthpic -d 2016-02-01 -t 02:50`.\r\nAll dates/times are considered as in UTC timezone.\r\n\r\nTo set downloaded picture as wallpaper, write: `earthpic -w -d 2016-02-01 -t 02:50`.\r\n\r\nTo change scale (size, quality of wallpaper): `earthpic -w -s 4 -d 2016-02-01 -t 02:50`.", "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/pywkm/earthpic", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "earthpic", "package_url": "https://pypi.org/project/earthpic/", "platform": "Windows", "project_url": "https://pypi.org/project/earthpic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pywkm/earthpic" }, "release_url": "https://pypi.org/project/earthpic/0.3/", "requires_dist": null, "requires_python": null, "summary": "Earth photos downloader", "version": "0.3" }, "last_serial": 1946746, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "f1e55370a7853b3b9c3f25ff3311d048", "sha256": "8876e3b7a21dc9616e9f85e8c04d40d5e6fbb871af737b44828eb7bd175c7f4e" }, "downloads": -1, "filename": "earthpic-0.2.zip", "has_sig": false, "md5_digest": "f1e55370a7853b3b9c3f25ff3311d048", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8609, "upload_time": "2016-02-09T01:54:59", "url": "https://files.pythonhosted.org/packages/42/5b/caafbc4201101d62e45c972208c02aa275fb2d02d93065cf4946df0de221/earthpic-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "172b6ba97c36bbc55a7479fdeaa5da96", "sha256": "33f2c42e5b74f153e676da5777caa74c15c63065031e4da31a591ae2cbc709a0" }, "downloads": -1, "filename": "earthpic-0.3.zip", "has_sig": false, "md5_digest": "172b6ba97c36bbc55a7479fdeaa5da96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8756, "upload_time": "2016-02-09T02:04:39", "url": "https://files.pythonhosted.org/packages/ea/24/7d13ac0d8fc71932e8739c0eb1b4e09ca9a60711f17641119c5123ed1d6a/earthpic-0.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "172b6ba97c36bbc55a7479fdeaa5da96", "sha256": "33f2c42e5b74f153e676da5777caa74c15c63065031e4da31a591ae2cbc709a0" }, "downloads": -1, "filename": "earthpic-0.3.zip", "has_sig": false, "md5_digest": "172b6ba97c36bbc55a7479fdeaa5da96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8756, "upload_time": "2016-02-09T02:04:39", "url": "https://files.pythonhosted.org/packages/ea/24/7d13ac0d8fc71932e8739c0eb1b4e09ca9a60711f17641119c5123ed1d6a/earthpic-0.3.zip" } ] }