{ "info": { "author": "Iyanu Ajao", "author_email": "ajaoiyanu@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# calendar-plus\n\nCalendar-plus is a simple library for creating HTML Calendar that includes query objects. \n\nThis is an example of what the library allows you to do. \n\n![Calendar Image](calendar.png)\n\n\n## Installation\n\n```commandline\npip install calendar-plus\n```\n\n\n## How to use\n\nSo you have a class for an event object that looks something like below. This example is based on Django\nframework. \n\n```python\n\nclass Event(models.Model):\n name = models.CharField()\n time = model.TimeField()\n date = models.DateField()\n\n```\n\nThe query is `events = Event.objects.filter(date__year=year, date__month=month)`\n\nUsing the library\n\n```python\nfrom calendarplus import ModelCalendar\n\ncalendar = ModelCalendar(year=month, month=month).formatmonth(events)\n\ncontext['calendar'] = calendar\n\nreturn context\n```\n\nYou can now use the context_object_name in your template. This library requires bootstrap framework to \nrender beautifully. You can override the formatmonth to use your own css class. \n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/iyanuashiri/calendar-plus", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "calendar-plus", "package_url": "https://pypi.org/project/calendar-plus/", "platform": "", "project_url": "https://pypi.org/project/calendar-plus/", "project_urls": { "Homepage": "https://github.com/iyanuashiri/calendar-plus" }, "release_url": "https://pypi.org/project/calendar-plus/0.0.1/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "A calendar library for creating HTML calendars that contain query objects", "version": "0.0.1" }, "last_serial": 4968465, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ab7b13220dcc0abdad7e177c254a174c", "sha256": "0143c25a4303af8330855d9b83dbd778da8948680a64c31e9f6b56c3b54ef61d" }, "downloads": -1, "filename": "calendar_plus-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ab7b13220dcc0abdad7e177c254a174c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 3144, "upload_time": "2019-03-21T14:46:08", "url": "https://files.pythonhosted.org/packages/8a/20/9f32b0f39dccff1e60073fc91b88de83c9874a6d098b414e4101e1553bcc/calendar_plus-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d171374740daf9abb2b17e7a1ff4de31", "sha256": "80f1e0a1898ec0c3ebaed8c660cb0ceeb3978f512f0af9d85ca6812b9dc31a9b" }, "downloads": -1, "filename": "calendar-plus-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d171374740daf9abb2b17e7a1ff4de31", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 3992, "upload_time": "2019-03-21T14:46:11", "url": "https://files.pythonhosted.org/packages/28/4f/4afbff83480a6a8fa7ac85c1e28c27f341e199255cc5dfba658a3ddadd77/calendar-plus-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab7b13220dcc0abdad7e177c254a174c", "sha256": "0143c25a4303af8330855d9b83dbd778da8948680a64c31e9f6b56c3b54ef61d" }, "downloads": -1, "filename": "calendar_plus-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ab7b13220dcc0abdad7e177c254a174c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 3144, "upload_time": "2019-03-21T14:46:08", "url": "https://files.pythonhosted.org/packages/8a/20/9f32b0f39dccff1e60073fc91b88de83c9874a6d098b414e4101e1553bcc/calendar_plus-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d171374740daf9abb2b17e7a1ff4de31", "sha256": "80f1e0a1898ec0c3ebaed8c660cb0ceeb3978f512f0af9d85ca6812b9dc31a9b" }, "downloads": -1, "filename": "calendar-plus-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d171374740daf9abb2b17e7a1ff4de31", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 3992, "upload_time": "2019-03-21T14:46:11", "url": "https://files.pythonhosted.org/packages/28/4f/4afbff83480a6a8fa7ac85c1e28c27f341e199255cc5dfba658a3ddadd77/calendar-plus-0.0.1.tar.gz" } ] }