{ "info": { "author": "Jason Rudder", "author_email": "jason.rudder@telo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Telecommunications Industry", "License :: Public Domain", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Communications", "Topic :: Communications :: Internet Phone", "Topic :: Communications :: Telephony", "Topic :: Internet", "Topic :: Utilities" ], "description": "# python-opencnam\n\nA simple python library for getting caller ID name information.\n\n![OpenCNAM](https://www.opencnam.com/static/images/opencnam-logo-color-v2.png)\n\nThis library uses [OpenCNAM](https://www.opencnam.com \"opencnam\") as a backend.\n\n[![Build Status](https://secure.travis-ci.org/telephonyresearch/python-opencnam.png?branch=master)](http://travis-ci.org/telephonyresearch/python-opencnam)\n\n\n## Installation\n\nInstall from PyPi using [pip](http://www.pip-installer.org/en/latest/), a\npackage manager for Python.\n\n $ pip install opencnam\n\nDon't have pip installed? Try installing it, by running this from the command\nline:\n\n $ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python\n\nOr you can [download the source code](https://github.com/telephonyresearch/python-opencnam/zipball/master \"OpenCNAM\nsource code\") for `OpenCNAM`, and then run:\n\n $ python setup.py install\n\nYou may need to run the above commands with `sudo`.\n\n\n## Usage\n\nUsing `python-opencnam` is easy::\n\n from opencnam import Phone\n\n phone = Phone('+16284003994')\n print phone.number, phone.cnam\n\n\nThe main object, ``Phone``, defined in the ``opencnam`` module accepts a phone\nnumber as input, and (behind the scenes) queries the\n[opencnam](http://www.opencnam.com \"opencnam\") API to set the ``Phone.cnam``\nattribute.\n\n## API Authentication\n\nTo specify your API credentials, just pass them into the ``Phone`` constructor,\nlike so:\n\n from opencnam import Phone\n\n phone = Phone('+16284003994', account_sid='ACxxx', auth_token='AUxxx')\n\n## Changelog\n\nv06: 2018-11-30\n\n - Use OpenCNAM v3.\n - Support only `account_sid` and `auth_token` for authentication,\n removing the deprecated `api_user` and `api_key`.\n - Support Python 2.7 and Python 3.7\n\nv0.5: 2012-11-08\n\n - Add support for OpenCNAM V2 API.\n - Deprecate the `api_user` and `api_key` authentication parameters,\n in favor of `account_sid` and `auth_token`.\n\nv0.4: 2012-07-10\n\n - Add 3 second timeout to CNAM lookups, so we won't block for too long.\n\nv0.3: 2012-07-09\n\n - Rewrite the backend to use ``requests`` instead of ``slumber``.\n - Clean up documentation.\n - Add public tests via Travis CI.\n\nv0.2: 2012-03-19\n\n - Support API authentication.\n\nv0.1: 2012-02-26\n\n - Initial release!\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.opencnam.com", "keywords": "voip http api rest caller id name cid cnam telephony telephone python library", "license": "UNLICENSE", "maintainer": "", "maintainer_email": "", "name": "opencnam", "package_url": "https://pypi.org/project/opencnam/", "platform": "", "project_url": "https://pypi.org/project/opencnam/", "project_urls": { "Homepage": "http://www.opencnam.com" }, "release_url": "https://pypi.org/project/opencnam/0.6/", "requires_dist": [ "requests (>=2.20.1)" ], "requires_python": "", "summary": "A simple python library for getting caller ID name information using the opencnam API.", "version": "0.6" }, "last_serial": 4617572, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e50031d6d1ec88305bc88e6938114e44", "sha256": "f3c6c788fec2ad1fd4d4284f341c878c5dd0d22516caeaf15f7a60129bfdff21" }, "downloads": -1, "filename": "opencnam-0.1.tar.gz", "has_sig": false, "md5_digest": "e50031d6d1ec88305bc88e6938114e44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5470, "upload_time": "2012-02-27T03:04:11", "url": "https://files.pythonhosted.org/packages/f3/f2/d2ff1a39e595519c99c3f4840794187e244f9449fc85a299624b66f9d07c/opencnam-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "6dc8be433069927344abe7c9bdbb239b", "sha256": "eb260e82885bddd3f98c66511e5d50aa48d3ba83db952cdc947cbcf66e2d216d" }, "downloads": -1, "filename": "opencnam-0.2.tar.gz", "has_sig": false, "md5_digest": "6dc8be433069927344abe7c9bdbb239b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5819, "upload_time": "2012-03-19T17:28:20", "url": "https://files.pythonhosted.org/packages/55/a8/ad7f3ede4ec800de157485ea0fcaf9bd5e5a9fa7275e7df611a11a0f0b6b/opencnam-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "b4118038216adfb2fc831028b9b69d35", "sha256": "59e3fea74e7c58e7ddb5391daa24bca6aae488c22f3f97a363e8581c9dad631d" }, "downloads": -1, "filename": "opencnam-0.3.tar.gz", "has_sig": false, "md5_digest": "b4118038216adfb2fc831028b9b69d35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18334, "upload_time": "2012-07-09T09:17:01", "url": "https://files.pythonhosted.org/packages/bb/1b/f39e9a5dda949e94e27432958dfe8eaa855170357f9df9b5a1c2fd0f3859/opencnam-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "fdd4d851aa9777b2380dd384818585b4", "sha256": "afa058f548ff6581d95a4e807c29204ee814f6d9f9297804445bfa1c3412325d" }, "downloads": -1, "filename": "opencnam-0.4.tar.gz", "has_sig": false, "md5_digest": "fdd4d851aa9777b2380dd384818585b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18483, "upload_time": "2012-07-11T06:55:09", "url": "https://files.pythonhosted.org/packages/6d/5b/be7170f32d111f62de122c3275288dc998444cad190c44a1dc48ec6b7bfc/opencnam-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7f8a1fb9fd33255386c07aa7fd53904d", "sha256": "ec0d0b7bf462865203da57f800420d52adc627032c490285fe4395133aca7ca9" }, "downloads": -1, "filename": "opencnam-0.5.tar.gz", "has_sig": false, "md5_digest": "7f8a1fb9fd33255386c07aa7fd53904d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18743, "upload_time": "2012-11-08T20:34:54", "url": "https://files.pythonhosted.org/packages/9c/34/acb12fc5ec34c6783dffd921ce4ee563d38dab3d277f4dc5d1b93d66184f/opencnam-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "7e359b62bce08635c2df3e1804c0c0b3", "sha256": "e6c68a08921b609ed56a3b0fac84b54c25ce3973f499e1b59f7dd1f6f6372e87" }, "downloads": -1, "filename": "opencnam-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "7e359b62bce08635c2df3e1804c0c0b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5012, "upload_time": "2018-12-19T17:13:10", "url": "https://files.pythonhosted.org/packages/25/cc/b3bdfedabcf0d0b9b2438dd00d1f65ca8d2d691ba24030cc544a6a0114e8/opencnam-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b11a851b860f670fa9af29f5ab2a7755", "sha256": "ff005f202ae5b1c364586b5b667a228af54728ac1685e8b21c179a49747eabad" }, "downloads": -1, "filename": "opencnam-0.6.tar.gz", "has_sig": false, "md5_digest": "b11a851b860f670fa9af29f5ab2a7755", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17590, "upload_time": "2018-12-19T17:13:12", "url": "https://files.pythonhosted.org/packages/6c/6a/31590a6cadd4a1046519ad3bbce9abb77d19cc159442c56fb94e9e733398/opencnam-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e359b62bce08635c2df3e1804c0c0b3", "sha256": "e6c68a08921b609ed56a3b0fac84b54c25ce3973f499e1b59f7dd1f6f6372e87" }, "downloads": -1, "filename": "opencnam-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "7e359b62bce08635c2df3e1804c0c0b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5012, "upload_time": "2018-12-19T17:13:10", "url": "https://files.pythonhosted.org/packages/25/cc/b3bdfedabcf0d0b9b2438dd00d1f65ca8d2d691ba24030cc544a6a0114e8/opencnam-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b11a851b860f670fa9af29f5ab2a7755", "sha256": "ff005f202ae5b1c364586b5b667a228af54728ac1685e8b21c179a49747eabad" }, "downloads": -1, "filename": "opencnam-0.6.tar.gz", "has_sig": false, "md5_digest": "b11a851b860f670fa9af29f5ab2a7755", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17590, "upload_time": "2018-12-19T17:13:12", "url": "https://files.pythonhosted.org/packages/6c/6a/31590a6cadd4a1046519ad3bbce9abb77d19cc159442c56fb94e9e733398/opencnam-0.6.tar.gz" } ] }