Skip to main content

how to run tests

to run the test you can use the make command

# run all unit test
make test
# for run pep8 and flake
make style_test
# or you can use
make pep8; make flakes

to open the coverage report you can use

make open_report_firefox
# or
firefox .coverage_html_report/index.html

configuration

BGC

from tetrapod.bgc import connections
connections.configure(
        default={
                'host': (
                                'https://direct2m.backgroundchecks.com/'
                                'integration/bgcdirectpost.aspx' ),
                'user': os.environ[ 'BGC__DEFAULT__USER' ],
                'password': os.environ[ 'BGC__DEFAULT__PASSWORD' ],
                'account': os.environ[ 'BGC__DEFAULT__ACCOUNT' ],
         },
        another={
                'host': (
                                'https://direct2m.backgroundchecks.com/'
                                'integration/bgcdirectpost.aspx' ),
                'user': os.environ[ 'BGC__ANOTHER__USER' ],
                'password': os.environ[ 'BGC__ANOTHER__PASSWORD' ],
                'account': os.environ[ 'BGC__ANOTHER__ACCOUNT' ],
        },
        with_proxy={
                'host': (
                                'https://direct2m.backgroundchecks.com/'
                                'integration/bgcdirectpost.aspx' ),
                'user': os.environ[ 'BGC__WITH_PROXY__USER' ],
                'password': os.environ[ 'BGC__WITH_PROXY__PASSWORD' ],
                'account': os.environ[ 'BGC__WITH_PROXY__ACCOUNT' ],
                'proxy': {
                        'http': os.environ[ 'BGC__WITH_PROXY__PROXY__HTTP' ],
                        'https': os.environ[ 'BGC__WITH_PROXY__PROXY__HTTPS' ],
                },
        },
)

how to use

bgc

us_one_validate

from tetrapod.bgc import bgc
result = bgc.us_one_validate( ssn='899999914' )

the result is a dict and have the next structure

{'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}

us_one_trace

from tetrapod.bgc import bgc
result = bgc.us_one_trace(
        ssn='999999999', first_name='jonh', last_name='doe' )

the result is a dict with the next structure

{'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}]}

Metadata

Release files for tetrapod 1.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tetrapod 1.6.3
File Interpreter ABI Platform
tetrapod-1.6.3-py3-none-any.whl Python 3 none any Details

Release files / tetrapod-1.6.3-py3-none-any.whl

Download URL tetrapod-1.6.3-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f92541138a8232b61be22a20e80e78ea167a8003fea7844cbf2a1ad6e5eaa142
BLAKE2b-256 checksum
How to use checksums
c4528d6a1578b084d77a400378af1c74d866e4bb8bf61c4af0fe462f22cc8ade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Security for tetrapod 1.6.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page