# Django Indian Tax Fields
>This repository is a fork of the original repository [django-gst-field](https://github.com/jinchuuriki91/django-gst-field). This fork is created to maintain the code and extend the original scope.
# Contents
A Django library which provides model and form fields for `Goods and Services Tax` and `Permanent Account Number`
Includes:
- `GSTField`, form and model field
- `PANField`, form and model field
## Installation
```
pip install django-indian-tax-fields
```
### Basic usage
Add `indian_tax_fields` to the list of the installed apps in Django `settings.py` file:
```python
INSTALLED_APPS = [
...
'indian_tax_fields',
...
]
```
### Model usage
```python
from django.conf import settings
from django.db.models import ForeignKey, CASCADE, Model
from indian_tax_fields.gst.model_fields import GSTField
from indian_tax_fields.pan.model_fields import PANField
class Tax(Model):
user = ForeignKey(settings.AUTH_USER_MODEL, on_delete=CASCADE)
gstin = GSTField()
pan = PANField()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Mitrajeet-Golsangi/django-gst-field",
"name": "django-indian-tax-fields",
"maintainer": "Mitrajeet Golsangi",
"docs_url": null,
"requires_python": "<4.0,>=3.6",
"maintainer_email": "mitrajeet.golsangi@gmail.com",
"keywords": "django, orm, python, gst, pan, indian, tax, fields",
"author": "Gandhar Pednekar",
"author_email": "gandhar.pednekar15@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/08/8d/e0a42354b131778688a1e09d24eb78db0000da5a2f1eae269e8a23b1e383/django_indian_tax_fields-0.1.0.tar.gz",
"platform": null,
"description": "# Django Indian Tax Fields\n\n>This repository is a fork of the original repository [django-gst-field](https://github.com/jinchuuriki91/django-gst-field). This fork is created to maintain the code and extend the original scope.\n\n# Contents\n\nA Django library which provides model and form fields for `Goods and Services Tax` and `Permanent Account Number`\n\nIncludes:\n\n- `GSTField`, form and model field\n- `PANField`, form and model field\n\n## Installation\n\n```\npip install django-indian-tax-fields\n```\n\n### Basic usage\n\nAdd `indian_tax_fields` to the list of the installed apps in Django `settings.py` file:\n\n```python\nINSTALLED_APPS = [\n ...\n 'indian_tax_fields',\n ...\n]\n```\n\n### Model usage\n\n```python\nfrom django.conf import settings\nfrom django.db.models import ForeignKey, CASCADE, Model\n\nfrom indian_tax_fields.gst.model_fields import GSTField\nfrom indian_tax_fields.pan.model_fields import PANField\n\nclass Tax(Model):\n user = ForeignKey(settings.AUTH_USER_MODEL, on_delete=CASCADE)\n gstin = GSTField()\n pan = PANField()\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "GST and PAN number field for django models.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/Mitrajeet-Golsangi/django-gst-field",
"Repository": "https://github.com/Mitrajeet-Golsangi/django-gst-field"
},
"split_keywords": [
"django",
" orm",
" python",
" gst",
" pan",
" indian",
" tax",
" fields"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1620dac27eba1b737d9f801d2f3c77d8edfc4de8a3f39e8c1676b5c763eefdfe",
"md5": "90bcf2e5bd35698e9aeaafd1e02655b4",
"sha256": "e7866f987351ef39a2c646eaa5000ad6376a3f829c10ca08cefdbf7a781d3465"
},
"downloads": -1,
"filename": "django_indian_tax_fields-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "90bcf2e5bd35698e9aeaafd1e02655b4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.6",
"size": 6754,
"upload_time": "2024-11-10T10:57:41",
"upload_time_iso_8601": "2024-11-10T10:57:41.832563Z",
"url": "https://files.pythonhosted.org/packages/16/20/dac27eba1b737d9f801d2f3c77d8edfc4de8a3f39e8c1676b5c763eefdfe/django_indian_tax_fields-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "088de0a42354b131778688a1e09d24eb78db0000da5a2f1eae269e8a23b1e383",
"md5": "35dfbac903f761d6084cd99f663f9225",
"sha256": "a39c2574e053aa89bdbf03f56b5fbe0e967b848fbdf56ef4ad5f2dc0cd23430e"
},
"downloads": -1,
"filename": "django_indian_tax_fields-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "35dfbac903f761d6084cd99f663f9225",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.6",
"size": 3680,
"upload_time": "2024-11-10T10:57:44",
"upload_time_iso_8601": "2024-11-10T10:57:44.522409Z",
"url": "https://files.pythonhosted.org/packages/08/8d/e0a42354b131778688a1e09d24eb78db0000da5a2f1eae269e8a23b1e383/django_indian_tax_fields-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-10 10:57:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Mitrajeet-Golsangi",
"github_project": "django-gst-field",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django-indian-tax-fields"
}