{ "info": { "author": "John Thorvald Wodder II", "author_email": "pdfschedule@varonathe.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Office/Business :: Scheduling", "Topic :: Printing" ], "description": ".. image:: http://www.repostatus.org/badges/latest/active.svg\n :target: http://www.repostatus.org/#active\n :alt: Project Status: Active \u2014 The project has reached a stable, usable\n state and is being actively developed.\n\n.. image:: https://img.shields.io/pypi/pyversions/pdfschedule.svg\n :target: https://pypi.org/project/pdfschedule/\n\n.. image:: https://img.shields.io/github/license/jwodder/schedule.svg\n :target: https://opensource.org/licenses/MIT\n :alt: MIT License\n\n.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg\n :target: https://saythanks.io/to/jwodder\n\n`GitHub `_\n| `PyPI `_\n| `Issues `_\n| `Changelog `_\n\n``pdfschedule`` is a Python 3 script for creating PDF documents showing\none's weekly schedule of events.\n\n\nInstallation\n============\n``pdfschedule`` requires Python 3.4 or higher. Just use `pip\n`_ for Python 3 (You have pip, right?) to install\n``pdfschedule`` and its dependencies::\n\n python3 -m pip install pdfschedule\n\n\nUsage\n=====\n\n::\n\n pdfschedule [] [ []]\n\nInput \u2014 formatted as described below under \"`Input Format `_\" \u2014\nis read from ```` (defaulting to standard input), and the resulting PDF\nis written to ```` (defaulting to ```` with its file extension\nchanged to ``.pdf``, or to standard output if ```` is standard input).\n\n\nOptions\n-------\n\n- ``-C``, ``--color`` \u2014 Color the event boxes various colors instead of just\n grey.\n\n- ``-F ``, ``--font `` \u2014 Typeset text in the given font.\n ```` must be either the name of a builtin PostScript font or the path\n to a ``.ttf`` file. By default, text is typeset in Helvetica.\n\n- ``-f ``, ``--font-size `` \u2014 Set the size of the font used for\n event information to ```` (default 10). The names of the days of the\n week are typeset at `` * 1.2``; the times of day are typeset at\n `` / 1.2``.\n\n- ``-M``, ``--start-monday`` \u2014 Use Monday as the first day of the week instead\n of Sunday.\n\n- ``-p``, ``--portrait`` \u2014 Typeset the table in \"portrait mode,\" i.e., with the\n shorter side of the paper as the width. The default is to typeset it in\n \"landscape mode.\"\n\n- ``-s ``, ``--scale `` \u2014 Divide the length of each side of the\n table by ````. Without this option, the table fills the whole page,\n except for a one-inch margin on each side.\n\n- ``-T``, ``--no-times`` \u2014 Do not show the times for each hour line.\n\n- ``--no-weekends`` \u2014 Do not show Sunday and Saturday.\n\n\n.. _input_format:\n\nInput Format\n============\n\nInput is a `YAML `_ list of dictionaries. Each dictionary\nrepresents a single weekly event and must contain the following keys:\n\n``name``\n *(optional)* The (possibly multiline) text to display in the event's box on\n the schedule\n\n``days``\n The days of the week on which the event occurs, specified as a string of one\n or more of the following abbreviations in any order (optionally with\n intervening whitespace and/or commas):\n\n =================================== =========\n Abbreviation Day\n =================================== =========\n ``Su`` or ``Sun`` Sunday\n ``M`` or ``Mo`` or ``Mon`` Monday\n ``T`` or ``Tu`` or ``Tue`` Tuesday\n ``W`` or ``We`` or ``Wed`` Wednesday\n ``H`` or ``R`` or ``Th`` or ``Thu`` Thursday\n ``F`` or ``Fr`` or ``Fri`` Friday\n ``Sa`` or ``Sat`` Saturday\n =================================== =========\n\n Case is significant. Unknown abbreviations are ignored.\n\n``time``\n The start & end times of the event in the format ``HH:MM - HH:MM``. Times\n are specified in 24-hour format, the minutes being optional (and optionally\n separated from the hour by a colon or period).\n\n``color``\n *(optional)* The background color of the event's box, given as six\n hexadecimal digits. The default background color is either grey or, if\n ``--color`` is in effect, taken from a small palette of basic colors based\n on the event's index.\n\n\nExample\n=======\n\nThe following input file::\n\n - name: Garfield impersonation\n days: M\n time: 7-9\n color: \"FFB04E\"\n\n - name: Work to live\n days: MTWRF\n time: 9-17\n\n - name: |\n Exercise class\n (The one on Main Street)\n days: M, W, F\n time: 17:00 - 18:00\n color: \"29FF65\"\n\n - name: Have they brought back my favorite show yet?\n days: R\n time: 19-19.30\n color: \"FF84DF\"\n\n - name: Poor decisions\n days: F\n time: 22-23.59\n color: \"000000\"\n\n - name: Sleep in\n days: SatSun\n time: 7-12\n color: \"4226C4\"\n\nproduces (using the default options) an output file that looks like this:\n\n.. image:: https://github.com/jwodder/schedule/raw/v0.3.0/examples/example01.png\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jwodder/schedule", "keywords": "pdf,schedule,week", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pdfschedule", "package_url": "https://pypi.org/project/pdfschedule/", "platform": "", "project_url": "https://pypi.org/project/pdfschedule/", "project_urls": { "Bug Tracker": "https://github.com/jwodder/schedule/issues", "Homepage": "https://github.com/jwodder/schedule", "Say Thanks!": "https://saythanks.io/to/jwodder", "Source Code": "https://github.com/jwodder/schedule" }, "release_url": "https://pypi.org/project/pdfschedule/0.3.0/", "requires_dist": [ "attrs (>=18.2)", "click (~=7.0)", "PyYAML (==5.*)", "reportlab (~=3.4)" ], "requires_python": "~=3.4", "summary": "Weekly schedule typesetter", "version": "0.3.0" }, "last_serial": 5248959, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f5179decf56bfa116035f9669ca47299", "sha256": "ab399c1ac7622771240c826ad43cb204b9a98d223d4e54c0fa3712fd486382a7" }, "downloads": -1, "filename": "pdfschedule-0.1.0-py3-none-any.whl", "has_sig": true, "md5_digest": "f5179decf56bfa116035f9669ca47299", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 8193, "upload_time": "2019-04-11T19:06:50", "url": "https://files.pythonhosted.org/packages/2c/71/117090e7993c0d3e96ba4ac4ad8f3c78006fc8b638146318297a631b7d03/pdfschedule-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0179b6c04b50a9e7e74c94de0735e9c0", "sha256": "e6123ecbb22b450c2bffa2eddd0428ec9f80ede4d21eefe6fa3bc7e2a87cd260" }, "downloads": -1, "filename": "pdfschedule-0.1.0.tar.gz", "has_sig": true, "md5_digest": "0179b6c04b50a9e7e74c94de0735e9c0", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 28195, "upload_time": "2019-04-11T19:06:52", "url": "https://files.pythonhosted.org/packages/1c/fc/4c5cfa551c041321cc5ef40973dc70ecf2844c9a8d95489585adc46c3b82/pdfschedule-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f75f15759d3ef2f03119aa1f025e310b", "sha256": "ffb4e5b2afbea73d40c5431ce0a64d105c95e1d151f0e3ff75fe32ed2579d6b0" }, "downloads": -1, "filename": "pdfschedule-0.2.0-py3-none-any.whl", "has_sig": true, "md5_digest": "f75f15759d3ef2f03119aa1f025e310b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 8406, "upload_time": "2019-04-16T17:55:53", "url": "https://files.pythonhosted.org/packages/90/e0/c70e536573d76708c5d46a737a3e3adc7635d5b36dde33ceee8198592605/pdfschedule-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c34cc1cdc5c2c8826f90b5aaca3324f", "sha256": "ce1fa9bdee9fce5cb4b2038311d7bd09d5d8dca07f8c85c5f391c1c59f6578cb" }, "downloads": -1, "filename": "pdfschedule-0.2.0.tar.gz", "has_sig": true, "md5_digest": "5c34cc1cdc5c2c8826f90b5aaca3324f", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 34573, "upload_time": "2019-04-16T17:55:55", "url": "https://files.pythonhosted.org/packages/4f/c4/3b82009b193894412d09cd6be2bd5672f02312547ceb931982af912791b6/pdfschedule-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "5d363eca0805d0de82097d2912ae5b6e", "sha256": "b6e16b70eaa19f12cfe62ef07f54e6b047bc3172806c2d6f51634076230f2125" }, "downloads": -1, "filename": "pdfschedule-0.3.0-py3-none-any.whl", "has_sig": true, "md5_digest": "5d363eca0805d0de82097d2912ae5b6e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 9000, "upload_time": "2019-05-09T18:58:36", "url": "https://files.pythonhosted.org/packages/62/3a/564409d638f53ab4fd479a4d1c08215aeb4077227cb7645ca7a0afa2c0d6/pdfschedule-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2468580ba3a2c1f2ff19f04a531503de", "sha256": "3fd2ca5c78171784b58939635153e27df1a13c591851cd08ff4c1a6b60e5da64" }, "downloads": -1, "filename": "pdfschedule-0.3.0.tar.gz", "has_sig": true, "md5_digest": "2468580ba3a2c1f2ff19f04a531503de", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 36781, "upload_time": "2019-05-09T18:58:38", "url": "https://files.pythonhosted.org/packages/7d/3d/659a27d20d3ad6b2b48ae1fefdb96f46362d85fdd9fb7a84c69dae8a921e/pdfschedule-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5d363eca0805d0de82097d2912ae5b6e", "sha256": "b6e16b70eaa19f12cfe62ef07f54e6b047bc3172806c2d6f51634076230f2125" }, "downloads": -1, "filename": "pdfschedule-0.3.0-py3-none-any.whl", "has_sig": true, "md5_digest": "5d363eca0805d0de82097d2912ae5b6e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 9000, "upload_time": "2019-05-09T18:58:36", "url": "https://files.pythonhosted.org/packages/62/3a/564409d638f53ab4fd479a4d1c08215aeb4077227cb7645ca7a0afa2c0d6/pdfschedule-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2468580ba3a2c1f2ff19f04a531503de", "sha256": "3fd2ca5c78171784b58939635153e27df1a13c591851cd08ff4c1a6b60e5da64" }, "downloads": -1, "filename": "pdfschedule-0.3.0.tar.gz", "has_sig": true, "md5_digest": "2468580ba3a2c1f2ff19f04a531503de", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 36781, "upload_time": "2019-05-09T18:58:38", "url": "https://files.pythonhosted.org/packages/7d/3d/659a27d20d3ad6b2b48ae1fefdb96f46362d85fdd9fb7a84c69dae8a921e/pdfschedule-0.3.0.tar.gz" } ] }