{ "info": { "author": "Basil Shubin", "author_email": "basil.shubin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-birthday\n===============\n\ndjango-birthday is a helper library to work with birthdays in models.\n\nAuthored by `Jonas Obrist `_, and some great\n`contributors `_.\n\n.. image:: https://img.shields.io/pypi/v/django-birthday.svg\n :target: https://pypi.python.org/pypi/django-birthday/\n\n.. image:: https://img.shields.io/pypi/dm/django-birthday.svg\n :target: https://pypi.python.org/pypi/django-birthday/\n\n.. image:: https://img.shields.io/github/license/bashu/django-birthday.svg\n :target: https://pypi.python.org/pypi/django-birthday/\n\n.. image:: https://img.shields.io/travis/bashu/django-birthday.svg\n :target: https://travis-ci.org/bashu/django-birthday/\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install django-birthday\n\nUsage\n-----\n\ndjango-birthday provides a ``birthday.fields.BirthdayField`` model\nfield type which is a subclass of ``django.db.models.DateField`` and\nthus has the same characteristics as that. It also internally adds a\nsecond field to your model holding the day of the year for that\nbirthday, this is used for the extra functionality exposed by\n``birthday.managers.BirthdayManager`` which you should use as the\nmanager on your model.\n\nA model could look like this:\n\n.. code-block:: python\n\n from django.db import models\n\n import birthday\n\n\n class UserProfile(models.Model):\n user = models.ForeignKey('auth.User')\n birthday = birthday.fields.BirthdayField()\n\n objects = birthday.managers.BirthdayManager()\n\nGet all user profiles within the next 30 days:\n\n.. code-block:: python\n\n UserProfile.objects.get_upcoming_birthdays()\n\nGet all user profiles which have their birthday today:\n\n.. code-block:: python\n\n UserProfile.objects.get_birthdays()\n\nOr order the user profiles according to their birthday:\n\n.. code-block:: python\n\n UserProfile.objects.order_by_birthday()\n\nFor more details, see the documentation_ at Read The Docs.\n\nLicense\n-------\n\n``django-birthday`` is released under the BSD license.\n\n.. _documentation: https://django-birthday.readthedocs.io/\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/bashu/django-birthday/zipball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bashu/django-birthday", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-birthday", "package_url": "https://pypi.org/project/django-birthday/", "platform": "", "project_url": "https://pypi.org/project/django-birthday/", "project_urls": { "Download": "https://github.com/bashu/django-birthday/zipball/master", "Homepage": "https://github.com/bashu/django-birthday" }, "release_url": "https://pypi.org/project/django-birthday/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Helper field and manager for working with birthdays", "version": "0.1.3" }, "last_serial": 4981607, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c55b48c12bc45c65a0dbdf3e8caeed8e", "sha256": "519931566fee77e0ad5ac9a491d264a9fde50140d390f735ceae458433af89f0" }, "downloads": -1, "filename": "django-birthday-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c55b48c12bc45c65a0dbdf3e8caeed8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2625, "upload_time": "2010-09-27T21:13:44", "url": "https://files.pythonhosted.org/packages/50/97/23b6563439ebfa682798075825e5831ed3f2ef35cae64013ce7fadb68789/django-birthday-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9d9a40e16467c77aaaffda52a954d744", "sha256": "98c511a86e7a41e2ef97e1a527d1406dd45f87dcb06403b58c3c446da692587c" }, "downloads": -1, "filename": "django-birthday-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9d9a40e16467c77aaaffda52a954d744", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2836, "upload_time": "2010-09-28T15:09:02", "url": "https://files.pythonhosted.org/packages/ab/d7/b2ef6bfcbe4a962dfccdba9fbf779beb1b8fb028b5a3b72dba23b80dbe7b/django-birthday-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "516b7ac4931f5ac308edf38b6c78a058", "sha256": "c96235cdb02456c8737f3fdc7285fd245830a783a9d81af76fd1cab37ea315e7" }, "downloads": -1, "filename": "django_birthday-0.1.2-py2-none-any.whl", "has_sig": true, "md5_digest": "516b7ac4931f5ac308edf38b6c78a058", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4315, "upload_time": "2017-01-20T09:13:03", "url": "https://files.pythonhosted.org/packages/0c/d8/521e2d8bbff3ecf8d871ac8c86b627e32b482f27756bdcb52030c61af888/django_birthday-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7cdd58b8478998b2a1c78d9cef14df3f", "sha256": "98199ee997e0fd70f1a859648387777ed626c176750a63f1286c6f04f203bc6c" }, "downloads": -1, "filename": "django-birthday-0.1.2.tar.gz", "has_sig": true, "md5_digest": "7cdd58b8478998b2a1c78d9cef14df3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3739, "upload_time": "2017-01-20T09:12:58", "url": "https://files.pythonhosted.org/packages/88/eb/5afd5c010e70056737ad8ab11067bedd0da5586c371332b1d831a8608059/django-birthday-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "78026e6a6585de7dd9ddea01abb96593", "sha256": "a66af70c61c90326677eec828098ecf1966b8dc7411921e4c44ab08f033c4071" }, "downloads": -1, "filename": "django_birthday-0.1.3-py3-none-any.whl", "has_sig": true, "md5_digest": "78026e6a6585de7dd9ddea01abb96593", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5211, "upload_time": "2019-03-25T09:41:30", "url": "https://files.pythonhosted.org/packages/54/89/2631dbce2e828e5e0939f113b3c0ad5e807cd7407173cdefc0400a8a31d4/django_birthday-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d7dc6661086e430eaa629ac37a2deea6", "sha256": "539f1432ec31b7ecfb78184f617d904b498495bf098b9db2f996d0bf92cf4783" }, "downloads": -1, "filename": "django-birthday-0.1.3.tar.gz", "has_sig": true, "md5_digest": "d7dc6661086e430eaa629ac37a2deea6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4631, "upload_time": "2019-03-25T09:41:28", "url": "https://files.pythonhosted.org/packages/6d/9a/b75efb13f90cda7f2641022519d5de6960dd277b42a9a9cde738eca12537/django-birthday-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78026e6a6585de7dd9ddea01abb96593", "sha256": "a66af70c61c90326677eec828098ecf1966b8dc7411921e4c44ab08f033c4071" }, "downloads": -1, "filename": "django_birthday-0.1.3-py3-none-any.whl", "has_sig": true, "md5_digest": "78026e6a6585de7dd9ddea01abb96593", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5211, "upload_time": "2019-03-25T09:41:30", "url": "https://files.pythonhosted.org/packages/54/89/2631dbce2e828e5e0939f113b3c0ad5e807cd7407173cdefc0400a8a31d4/django_birthday-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d7dc6661086e430eaa629ac37a2deea6", "sha256": "539f1432ec31b7ecfb78184f617d904b498495bf098b9db2f996d0bf92cf4783" }, "downloads": -1, "filename": "django-birthday-0.1.3.tar.gz", "has_sig": true, "md5_digest": "d7dc6661086e430eaa629ac37a2deea6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4631, "upload_time": "2019-03-25T09:41:28", "url": "https://files.pythonhosted.org/packages/6d/9a/b75efb13f90cda7f2641022519d5de6960dd277b42a9a9cde738eca12537/django-birthday-0.1.3.tar.gz" } ] }