Skip to main content

Django model for Japanese birthday.

Project description

django-jp-birthday

https://pypi.python.org/pypi/django_jp_birthday https://django-jp-birthday.readthedocs.io/en/latest/?version=latest https://pyup.io/repos/github/shimakaze-git/django_jp_birthday/ https://img.shields.io/github/repo-size/shimakaze-git/django-jp-birthday https://img.shields.io/github/languages/code-size/shimakaze-git/django-jp-birthday https://codecov.io/gh/shimakaze-git/django-jp-birthday/branch/master/graph/badge.svg https://img.shields.io/github/license/shimakaze-git/django-jp-birthday.svg

django-jp-birthday is a django’s model for use Japanese birthdays and ages.

Based library is https://github.com/bashu/django-birthday .

Authored by shimakaze_soft and some great

contributors

Features

  • TODO

Installation

$ pip install django-jp-birthday
$ python steup.py install

Usage

from jp_birthday.models import BirthdayModel

class ModelsTest(BirthdayModel):

    class Meta:
        app_label = 'jp_birthday'
        ordering = ('pk',)

Get all user profiles within the next 30 days:

ModelsTest.objects.get_upcoming_birthdays()

Get all user profiles which have their birthday today:

ModelsTest.objects.get_birthdays()

Or order the user profiles according to their birthday:

ModelsTest.objects.order_by_birthday()

Docs

License

django-jp-birthday is released under the MIT license.

History

0.1.0 (2022-01-20)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_jp_birthday-0.1.5.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

django_jp_birthday-0.1.5-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_jp_birthday-0.1.5.tar.gz.

File metadata

  • Download URL: django_jp_birthday-0.1.5.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for django_jp_birthday-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2aa603401ee7826afe4ea1974d70fd78d1fabc9e4a7f14e44bb2b4ac79b7fbce
MD5 04f93bde58f48cba1d1d1554307ab8d0
BLAKE2b-256 f48b196cc2450807470e4b360f1b2253206aeff7afc9f447be9e37a8eaa2aa1d

See more details on using hashes here.

File details

Details for the file django_jp_birthday-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: django_jp_birthday-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for django_jp_birthday-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b651e284b46996e8d8bc23396f5adce671d95ee1010a85569454de90a7d7e34
MD5 8eb75b44576b49864d69bdea9227ce2b
BLAKE2b-256 42177fbf7e2042c52dbeaf8322b78903b59dc3eb1bf586eb1f53a271b6dc4c7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page