{ "info": { "author": "Jan Pipek", "author_email": "jan.pipek@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "[![Latest Version](https://pypip.in/version/pyearcal/badge.svg)](https://pypi.python.org/pypi/pyearcal/)\n\npyearcal\n========\nGenerate your year calendar in Python. The result is a PDF file with 12 pages containing an image and a grid of days.\n\n### Requirements\n* pillow or PIL\n* reportlab\n* DejaVu fonts (if you want pyearcal work out of the box)\n* BeautifulSoup (optional)\n* Python 2.7?, 3.4+ (version <=0.2 only Python 2.7 support)\n\n### Usage\n\n1. Prepare a directory with 12 images (different image providers are planned)\n2. Initialize calendar with all options.\n3. Render it to PDF\n\n### Example code\n\n```python\n# Import important modules\nfrom pyearcal import YearCalendar\nfrom pyearcal.image_sources import UnsortedImageDirectory\nfrom datetime import date\nfrom pyearcal.l10n import CzechLocale\n\n# Use all pictures from \"images\" directory\nimage_source = UnsortedImageDirectory(\"images\")\n\n# Use Czech locale and holidays\nlocale = CzechLocale()\n\n# Set a few special days\nspecial_days = [\n date(2014, 1, 31) # Guido van Rossum's birthday\n]\n\ncalendar = YearCalendar(2016, image_source, locale, special_days)\ncalendar.render(\"calendar.pdf\")\n```\n\nYou can take **FlickrDownloader** as an inspiration for developing a more sophisticated image source.\n\n### Example with real pictures\n\n[India Faces Calendar 2014 (80 MB)](http://pyearcal.vzdusne.cz/calendar.pdf)", "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/janpipek/pyearcal", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyearcal", "package_url": "https://pypi.org/project/pyearcal/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyearcal/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/janpipek/pyearcal" }, "release_url": "https://pypi.org/project/pyearcal/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Year calendar creation in Python", "version": "0.3.0" }, "last_serial": 1849943, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "822413820a388e0c5da3480a4334a6fd", "sha256": "56e9c15466a71099a3babaccf3e3df1ef075e23a81f1d9e63938c6b026457988" }, "downloads": -1, "filename": "pyearcal-0.2.0.tar.gz", "has_sig": false, "md5_digest": "822413820a388e0c5da3480a4334a6fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9719, "upload_time": "2014-12-19T12:23:47", "url": "https://files.pythonhosted.org/packages/a9/eb/919324b41e2559464485daa6d597e689bfc2fc4147ed95cff03d670d8a7d/pyearcal-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "327052eab33789fa2c1daa097c36b0ea", "sha256": "21680fae2b44929b9512ced71f0b77c26ffd7fe54411c606f5f9223cd83ea811" }, "downloads": -1, "filename": "pyearcal-0.3.0.tar.gz", "has_sig": false, "md5_digest": "327052eab33789fa2c1daa097c36b0ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10112, "upload_time": "2015-12-07T11:19:24", "url": "https://files.pythonhosted.org/packages/af/72/c0ea8891950bbc5ec403bf6eba0c64dd72a1ce9cf50b8fd24bec7e4f149a/pyearcal-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "327052eab33789fa2c1daa097c36b0ea", "sha256": "21680fae2b44929b9512ced71f0b77c26ffd7fe54411c606f5f9223cd83ea811" }, "downloads": -1, "filename": "pyearcal-0.3.0.tar.gz", "has_sig": false, "md5_digest": "327052eab33789fa2c1daa097c36b0ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10112, "upload_time": "2015-12-07T11:19:24", "url": "https://files.pythonhosted.org/packages/af/72/c0ea8891950bbc5ec403bf6eba0c64dd72a1ce9cf50b8fd24bec7e4f149a/pyearcal-0.3.0.tar.gz" } ] }