{ "info": { "author": "Jason Harmon", "author_email": "jason.harmon@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "apod-wallpaper\n==============\n\nUtilizes NASA APOD API to generate wallpapers with explanations. \n- Will download images (single, random or all in date range) \n- Only supports image media types (no video). \n- Uses tkinter to attempt to size wallpaper if not specified. \n- By default, adds explanation of daily images in watermarked footer.\n\nInstall\n=======\n\n::\n\n pip install apod-wallpaper\n\n\nFor issues installing PIL dependency:\n- Install libjpeg-dev & freetype-dev with your package manager (apt, yum, brew, etc)\n::\n \n pip install PIL --allow-external PIL --allow-unverified PIL\n\nConfiguration\n-------------\n\nGet your \n`NASA API key `__\n\nSet ``NASA_API_KEY`` environment variable to your key.\n\nUsage\n=====\n\nDownload single date\n--------------------\n\n.. code:: python\n\n from apod_wallpaper import apod\n from datetime import date\n\n apod.download_single(single_date=date(2015, 07, 01))\n\nDownload random\n---------------\n\nDefaults to ``start_date=date(1995, 6, 20)`` (the first day NASA began\nposting daily pics), and ``end_date=date.today()``\n\n.. code:: python\n\n from apod_wallpaper import apod\n\n apod.download_random()\n\nDownload bulk\n-------------\n\nSelect range of APOD (good for catching up on recent misses)\n\n.. code:: python\n\n from apod_wallpaper import apod\n from datetime import date\n\n apod.download_bulk(start_date=date(2015, 07, 01), end_date=date(2015, 07, 05))\n\nAll NASA APOD images (BE NICE: you probably don't need this)\n\n.. code:: python\n\n from apod_wallpaper import apod\n\n apod.download_bulk()\n\nOptional arguments\n------------------\n\n::\n\n download_path: (optional) File location to store downloaded image (default ~/wallpapers).\n overwrite: (optional) Overwrite existing files in download_path (default: False)\n screen_width: (optional) Pixels of width to make image. Large than original will add a black background. If not specified, OS detection of screen width will be attempted.\n screen_height: (optional) Pixels of height to make image. Large than original will add a black background. If not specified, OS detection of screen width will be attempted.\n font: (optional) TrueType font to apply in image footer (default OpenSans-Regular.ttf).\n font_size: (optional) Size of TrueType font in image footer (default 18).\n margin: (optional) Pixels around image footer text (default 50).\n font_color: (optional) RGBA tuple for color of font (default white).\n background_color: (optional) RBGA tuple for color of background (default black).\n opacity: (optional) Opacity for image footer (default 0.8).\n\nTests\n=====\n\n.. code:: python\n\n python test_apod.py\n\nAcknowledgements\n================\n\n- NASA APOD API via `Bowshock `__\n wrapper library\n- Open Sans font from `Font Squirrel `__\n- Image processing by\n `Pillow `__", "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/jasonh-n-austin/python-apod-wallpaper", "keywords": null, "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "apod-wallpaper", "package_url": "https://pypi.org/project/apod-wallpaper/", "platform": "any", "project_url": "https://pypi.org/project/apod-wallpaper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jasonh-n-austin/python-apod-wallpaper" }, "release_url": "https://pypi.org/project/apod-wallpaper/1.1.2/", "requires_dist": null, "requires_python": null, "summary": "NASA APOD wallpaper download", "version": "1.1.2" }, "last_serial": 1658554, "releases": { "0.0.1": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "5e042cde10d653e7b941c4768042f421", "sha256": "62a5512dc106e0907840bbbd2045c5349c97a0f440415dd1534e291db838e347" }, "downloads": -1, "filename": "apod-wallpaper-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5e042cde10d653e7b941c4768042f421", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6387, "upload_time": "2015-07-30T18:20:35", "url": "https://files.pythonhosted.org/packages/66/aa/cbeabe30fb4fd13ad0784068c359b611157798a8a8e6b9ea939010915bbd/apod-wallpaper-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8e05dfdc604569a5d4b80ef71b0c01b2", "sha256": "bcab633b21dd5b9efcf1e67163be48b63fc9d30bf896ef293cd5d0328fcd82a6" }, "downloads": -1, "filename": "apod-wallpaper-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8e05dfdc604569a5d4b80ef71b0c01b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6347, "upload_time": "2015-07-30T18:46:13", "url": "https://files.pythonhosted.org/packages/90/1a/0dffe11d2b59f1d819aa8b94bbfe268e9b6e0e31fb9094ab12c8a9682b9b/apod-wallpaper-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1ee43ffdc0dd7d60dc59873d328dbc45", "sha256": "2b3a060faf0b57aced015ea033403e1b705a799226923b6f01385483ce5d7598" }, "downloads": -1, "filename": "apod-wallpaper-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1ee43ffdc0dd7d60dc59873d328dbc45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122436, "upload_time": "2015-07-30T19:01:40", "url": "https://files.pythonhosted.org/packages/da/77/f97d5a8ea4f92565c88044fd414404b82caecd601f3c45d836751d86b56c/apod-wallpaper-1.0.2.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "332a376ecf2b98386981f8785d24459e", "sha256": "5efb6d2f3a9f125754532faa56c880e48a39437fd0b519455dd8962d9cc8ea13" }, "downloads": -1, "filename": "apod-wallpaper-1.1.2.tar.gz", "has_sig": false, "md5_digest": "332a376ecf2b98386981f8785d24459e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122851, "upload_time": "2015-07-31T14:13:27", "url": "https://files.pythonhosted.org/packages/5d/04/b263fa1fae3f8d4596ae811bd0646bfaab21c5b0aad6c489a23d1baf32a1/apod-wallpaper-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "332a376ecf2b98386981f8785d24459e", "sha256": "5efb6d2f3a9f125754532faa56c880e48a39437fd0b519455dd8962d9cc8ea13" }, "downloads": -1, "filename": "apod-wallpaper-1.1.2.tar.gz", "has_sig": false, "md5_digest": "332a376ecf2b98386981f8785d24459e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122851, "upload_time": "2015-07-31T14:13:27", "url": "https://files.pythonhosted.org/packages/5d/04/b263fa1fae3f8d4596ae811bd0646bfaab21c5b0aad6c489a23d1baf32a1/apod-wallpaper-1.1.2.tar.gz" } ] }