id-region


Nameid-region JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/hbx286/id-region.git
Summaryfind id region from id card
upload_time2024-08-12 09:13:02
maintainerNone
docs_urlNone
authorhbx286
requires_python>=3.8.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
## example
```python
from id_region import get_id_info
id_info = get_id_info('110101199003075678')
'''
id_info is a dict
output just like:
{
    'sex': int,
    'birthday': date,
    'abandoned': False if address_code.get(code['address_code']) else True,
    'address': '',
    'country': '中国',
    'province': 'xx',
    'city': 'xx',
    'district': 'xxx'
}
'''
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hbx286/id-region.git",
    "name": "id-region",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8.0",
    "maintainer_email": null,
    "keywords": null,
    "author": "hbx286",
    "author_email": "hbxmail429@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/31/28/e49dacfc70d57b0765c24ebe5251f8f747e09e089ba688735a4187c9385b/id-region-0.0.4.tar.gz",
    "platform": null,
    "description": "\n## example\n```python\nfrom id_region import get_id_info\nid_info = get_id_info('110101199003075678')\n'''\nid_info is a dict\noutput just like:\n{\n    'sex': int,\n    'birthday': date,\n    'abandoned': False if address_code.get(code['address_code']) else True,\n    'address': '',\n    'country': '\u4e2d\u56fd',\n    'province': 'xx',\n    'city': 'xx',\n    'district': 'xxx'\n}\n'''\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "find id region from id card",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/hbx286/id-region.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3128e49dacfc70d57b0765c24ebe5251f8f747e09e089ba688735a4187c9385b",
                "md5": "dfda990a755c6fb58827784c8248c7c8",
                "sha256": "0f64ce4bd5b494a7c0715fa59dfb0b35e79143e749d30e0a48008f95981f8523"
            },
            "downloads": -1,
            "filename": "id-region-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "dfda990a755c6fb58827784c8248c7c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.0",
            "size": 96986,
            "upload_time": "2024-08-12T09:13:02",
            "upload_time_iso_8601": "2024-08-12T09:13:02.445429Z",
            "url": "https://files.pythonhosted.org/packages/31/28/e49dacfc70d57b0765c24ebe5251f8f747e09e089ba688735a4187c9385b/id-region-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-12 09:13:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hbx286",
    "github_project": "id-region",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "id-region"
}
        
Elapsed time: 0.58477s