{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Programming Language :: Python" ], "description": "================\nhow to run tests\n================\n\nto run the test you can use the `make` command\n\n.. code-block:: shell\n\n\t# run all unit test\n\tmake test\n\t# for run pep8 and flake\n\tmake style_test\n\t# or you can use\n\tmake pep8; make flakes\n\nto open the coverage report you can use\n\n.. code-block:: shell\n\n\tmake open_report_firefox\n\t# or\n\tfirefox .coverage_html_report/index.html\n\n\n=============\nconfiguration\n=============\n\n***\nBGC\n***\n\n.. code-block:: python\n\n\tfrom tetrapod.bgc import connections\n\tconnections.configure(\n\t\tdefault={\n\t\t\t'host': (\n\t\t\t\t\t'https://direct2m.backgroundchecks.com/'\n\t\t\t\t\t'integration/bgcdirectpost.aspx' ),\n\t\t\t'user': os.environ[ 'BGC__DEFAULT__USER' ],\n\t\t\t'password': os.environ[ 'BGC__DEFAULT__PASSWORD' ],\n\t\t\t'account': os.environ[ 'BGC__DEFAULT__ACCOUNT' ],\n\t\t },\n\t\tanother={\n\t\t\t'host': (\n\t\t\t\t\t'https://direct2m.backgroundchecks.com/'\n\t\t\t\t\t'integration/bgcdirectpost.aspx' ),\n\t\t\t'user': os.environ[ 'BGC__ANOTHER__USER' ],\n\t\t\t'password': os.environ[ 'BGC__ANOTHER__PASSWORD' ],\n\t\t\t'account': os.environ[ 'BGC__ANOTHER__ACCOUNT' ],\n\t\t},\n\t\twith_proxy={\n\t\t\t'host': (\n\t\t\t\t\t'https://direct2m.backgroundchecks.com/'\n\t\t\t\t\t'integration/bgcdirectpost.aspx' ),\n\t\t\t'user': os.environ[ 'BGC__WITH_PROXY__USER' ],\n\t\t\t'password': os.environ[ 'BGC__WITH_PROXY__PASSWORD' ],\n\t\t\t'account': os.environ[ 'BGC__WITH_PROXY__ACCOUNT' ],\n\t\t\t'proxy': {\n\t\t\t\t'http': os.environ[ 'BGC__WITH_PROXY__PROXY__HTTP' ],\n\t\t\t\t'https': os.environ[ 'BGC__WITH_PROXY__PROXY__HTTPS' ],\n\t\t\t},\n\t\t},\n\t)\n\n\n==========\nhow to use\n==========\n\n***\nbgc\n***\n\nus_one_validate\n===============\n\n.. code-block:: python\n\n\tfrom tetrapod.bgc import bgc\n\tresult = bgc.us_one_validate( ssn='899999914' )\n\nthe result is a dict and have the next structure\n\n.. code-block:: python\n\n\t{'order_id': '6421064b-0c45-4fb4-ad52-1bd9edfbf034', 'order': {'ssn': 'XXXXX9914'}, 'is_deceased': True, 'is_valid': True, 'state_issued': None, 'text_response': 'This SSN may have been issued as part of the Social Security Administration (SSA) Randomization Program that limits our ability to provide the issuance state and dates. Please direct the subject to the SSA to validate authenticity.', 'year_issued': None}\n\nus_one_trace\n============\n\n.. code-block:: python\n\n\tfrom tetrapod.bgc import bgc\n\tresult = bgc.us_one_trace(\n\t\tssn='999999999', first_name='jonh', last_name='doe' )\n\nthe result is a dict with the next structure\n\n.. code-block:: python\n\n\t{'order_id': '559be3d7-4019-4af7-9714-723077890856', 'order': {'ssn': 'XXXXX9999', 'last_name': 'doe', 'first_name': 'jonh'}, 'records': [{'street': {'number': '123', 'pre_direction': None, 'name': 'Qa St', 'post_direction': None, 'suffix': 'QA'}, 'first_name': 'jonh', 'middle_name': None, 'last_name': 'doe', 'city': None, 'state': None, 'county': None, 'postal_code': None, 'postal_code4': None, 'date_first_seen__raw': {'year': '2009', 'month': '1'}, 'date_first_seen': datetime.date(2009, 1, 1), 'date_last_seen__raw': {'year': '2012', 'month': '12'}, 'date_last_seen': datetime.date(2012, 12, 1), 'verified': False, 'phone_info': None}]}\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "tetrapod", "package_url": "https://pypi.org/project/tetrapod/", "platform": "", "project_url": "https://pypi.org/project/tetrapod/", "project_urls": null, "release_url": "https://pypi.org/project/tetrapod/1.6.3/", "requires_dist": [ "xmltodict (>=0.11.0)", "pusher (==2.1.2)", "chibi (==0.4.0.5)" ], "requires_python": "", "summary": "", "version": "1.6.3" }, "last_serial": 5304455, "releases": { "1.5.1": [ { "comment_text": "", "digests": { "md5": "11a021add1f54f6cee4f3410308bcf2f", "sha256": "162e3db15352728ff268fceee5c7a5176bc537ea94a33dd087a64f6245292cce" }, "downloads": -1, "filename": "tetrapod-1.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "11a021add1f54f6cee4f3410308bcf2f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35331, "upload_time": "2019-03-18T00:03:33", "url": "https://files.pythonhosted.org/packages/40/5b/73607396f665daae5a40e592d32720f0fcb1518f6bc17707203dad3e0e50/tetrapod-1.5.1-py3-none-any.whl" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "d4355e189717ccbe8526c8b423f72333", "sha256": "75c473c00daa24bd640b9fb749564afca3cbca5afc0eb46227dd68fcdcb94130" }, "downloads": -1, "filename": "tetrapod-1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "d4355e189717ccbe8526c8b423f72333", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35313, "upload_time": "2019-03-18T00:29:35", "url": "https://files.pythonhosted.org/packages/f3/0f/046583c687816d2ca5d4b1516625867b27b5009797a412d55ede833c76bd/tetrapod-1.6-py3-none-any.whl" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "18a029383a08c409c6e4e26449a17814", "sha256": "21ebab747e95de75e106d0024d7b3bd7fc38fbf06fa60a11bf74bc12be31825b" }, "downloads": -1, "filename": "tetrapod-1.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "18a029383a08c409c6e4e26449a17814", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35666, "upload_time": "2019-04-12T00:19:46", "url": "https://files.pythonhosted.org/packages/b8/48/36d479d88a6349d74a0d800c9833ef7b8bba81223f26db0fae6ee0a34518/tetrapod-1.6.2-py3-none-any.whl" } ], "1.6.3": [ { "comment_text": "", "digests": { "md5": "f03a924b4b965a8961772562b36d7c38", "sha256": "f92541138a8232b61be22a20e80e78ea167a8003fea7844cbf2a1ad6e5eaa142" }, "downloads": -1, "filename": "tetrapod-1.6.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f03a924b4b965a8961772562b36d7c38", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 36091, "upload_time": "2019-05-22T20:29:38", "url": "https://files.pythonhosted.org/packages/c4/52/8d6a1578b084d77a400378af1c74d866e4bb8bf61c4af0fe462f22cc8ade/tetrapod-1.6.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f03a924b4b965a8961772562b36d7c38", "sha256": "f92541138a8232b61be22a20e80e78ea167a8003fea7844cbf2a1ad6e5eaa142" }, "downloads": -1, "filename": "tetrapod-1.6.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f03a924b4b965a8961772562b36d7c38", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 36091, "upload_time": "2019-05-22T20:29:38", "url": "https://files.pythonhosted.org/packages/c4/52/8d6a1578b084d77a400378af1c74d866e4bb8bf61c4af0fe462f22cc8ade/tetrapod-1.6.3-py3-none-any.whl" } ] }