py-area-code-nanp


Namepy-area-code-nanp JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/rylz/py-area-code-nanp
SummaryInformation about phone area codes in the North American Numbering Plan
upload_time2020-10-18 05:38:52
maintainer
docs_urlNone
authorRiley Patterson
requires_python>=2.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # py-area-code-nanp

Information about phone area codes in the North American Numbering Plan.

This package provides a simple lookup table from area code to region, and from region to list of area codes. Area code data was most recently retrieved from Wikipedia in October 2020.

Example usage:
```
>>> import area_code_nanp
>>> area_code_nanp.get_area_codes('Texas')
[210, 214, 254, 281, 325, 346, 361, 409, 430, 432, 469, 512, 682, 713, 726, 737, 806, 817, 830, 832, 903, 915, 936, 940, 945, 956, 972, 979]
>>> area_code_nanp.get_region(817)
'Texas'
>>> 
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rylz/py-area-code-nanp",
    "name": "py-area-code-nanp",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=2.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Riley Patterson",
    "author_email": "rileypatterson@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f0/3f/b3ffa9f844719758b505ba3bf8b73fbb72c566f073014e3efff42ba7c5dc/py-area-code-nanp-1.0.1.tar.gz",
    "platform": "",
    "description": "# py-area-code-nanp\n\nInformation about phone area codes in the North American Numbering Plan.\n\nThis package provides a simple lookup table from area code to region, and from region to list of area codes. Area code data was most recently retrieved from Wikipedia in October 2020.\n\nExample usage:\n```\n>>> import area_code_nanp\n>>> area_code_nanp.get_area_codes('Texas')\n[210, 214, 254, 281, 325, 346, 361, 409, 430, 432, 469, 512, 682, 713, 726, 737, 806, 817, 830, 832, 903, 915, 936, 940, 945, 956, 972, 979]\n>>> area_code_nanp.get_region(817)\n'Texas'\n>>> \n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Information about phone area codes in the North American Numbering Plan",
    "version": "1.0.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "69bfb164ac34fb3edf4ec35cbe354420",
                "sha256": "9477ef4b60087b4990a20745cd4991d27263b8340657814ec6994a858ff6f771"
            },
            "downloads": -1,
            "filename": "py_area_code_nanp-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "69bfb164ac34fb3edf4ec35cbe354420",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=2.7",
            "size": 5765,
            "upload_time": "2020-10-18T05:38:51",
            "upload_time_iso_8601": "2020-10-18T05:38:51.665351Z",
            "url": "https://files.pythonhosted.org/packages/a7/a6/f46944a07472550815c32b27e24b0e6052fc8f98804a13e70b370fbfc3b0/py_area_code_nanp-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d19b6176b243f08de3b7d6fe19b43a9f",
                "sha256": "22ea23493d78364bc8756c50cb41e12d7b0090f9a2c23abb37f1cf3a0dda9a95"
            },
            "downloads": -1,
            "filename": "py-area-code-nanp-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d19b6176b243f08de3b7d6fe19b43a9f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.7",
            "size": 4830,
            "upload_time": "2020-10-18T05:38:52",
            "upload_time_iso_8601": "2020-10-18T05:38:52.881467Z",
            "url": "https://files.pythonhosted.org/packages/f0/3f/b3ffa9f844719758b505ba3bf8b73fbb72c566f073014e3efff42ba7c5dc/py-area-code-nanp-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-10-18 05:38:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "rylz",
    "error": "Could not fetch GitHub repository",
    "lcname": "py-area-code-nanp"
}
        
Elapsed time: 0.19574s