Metadata-Version: 2.1
Name: django-jp-birthday
Version: 0.2.1
Summary: Django model for Japanese birthday.
Home-page: https://github.com/shimakaze-git/django-jp-birthday
Author: shimakaze-git
Author-email: shimakaze.soft+github@googlemail.com
License: MIT license
Description: # django-jp-birthday
        
        ![https://pypi.python.org/pypi/django_jp_birthday](https://img.shields.io/pypi/v/django_jp_birthday.svg)
        [![image](https://img.shields.io/pypi/pyversions/django-jp-birthday.svg)](https://pypi.org/project/django-jp-birthday)
        ![https://img.shields.io:/pypi/djversions/django-jp-birthday](https://img.shields.io:/pypi/djversions/django-jp-birthday)
        ![https://django-jp-birthday.readthedocs.io/en/latest/?version=latest](https://readthedocs.org/projects/django-jp-birthday/badge/?version=latest)
        [![Updates](https://pyup.io/repos/github/shimakaze-git/django-jp-birthday/shield.svg)](https://pyup.io/repos/github/shimakaze-git/django-jp-birthday/)
        [![Python 3](https://pyup.io/repos/github/shimakaze-git/django-jp-birthday/python-3-shield.svg)](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/repo-size/shimakaze-git/django-jp-birthday)
        ![https://img.shields.io/github/languages/code-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://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](https://img.shields.io/github/license/shimakaze-git/django-jp-birthday.svg)
        [![image](https://img.shields.io/pypi/dm/django-jp-birthday)](https://img.shields.io/pypi/dm/django-jp-birthday)
        [![.github/workflows/test.yml](https://github.com/shimakaze-git/django-jp-birthday/actions/workflows/test.yml/badge.svg)](https://github.com/shimakaze-git/django-jp-birthday/actions/workflows/test.yml)
        
        django-jp-birthday is a django's model for use Japanese birthdays and ages.
        
        Based library is [https://github.com/bashu/django-birthday](https://github.com/bashu/django-birthday) .
        
        Authored by [shimakaze_soft](https://github.com/shimakaze-git) and some great
        
        [contributors](https://github.com/shimakaze-git/django-jp-birthday/CONTRIBUTING.rst)
        
        # Features
        
        - Get all user profiles within the next 30 days
        - Get all user profiles which have their birthday today
        - order the user profiles according to their birthday
        
        - Converting Birthdays to Japanese Style
        - Calculate age based on birthday
        - Get all birthdays in the specified Japanese calendar
        
        # Installation
        
        - [pypi](https://pypi.org/project/django-jp-birthday/)
        
        ```Bash
        $ pip install django-jp-birthday
        
        $ python steup.py install
        ```
        
        # Usage
        
        django-jp-birthday provides a `jp_birthday.models.BirthdayModel` model type which is a subclass of django.db.models.Model and thus has the same characteristics as that.
        
        `jp_birthday.managers.JpBirthdayManager` is used as a manager for `jp_birthday.models.BirthdayModel` and provides various methods.
        
        ```Python
        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:
        
        ```Python
        ModelsTest.objects.get_upcoming_birthdays()
        ```
        
        Get all user profiles which have their birthday today:
        
        ```Python
        ModelsTest.objects.get_birthdays()
        ```
        
        Or order the user profiles according to their birthday:
        
        ```Python
        ModelsTest.objects.order_by_birthday()
        ```
        
        # Docs
        
        - Documentation: https://django-jp-birthday.readthedocs.io.
        
        # License
        
        `django-jp-birthday` is released under the MIT license.
        
Keywords: django_jp_birthday django birthday era
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Requires-Python: >=3.6
Description-Content-Type: text/markdown
