Skip to main content

pingintel-api

Python client library for API and commandline tools for Ping products.

Setup

pip install pingintel-api

You will probably want to create a ~/.pingintel.ini file, which can store your API keys. (They can also be provided in the environment, via --auth-token on the commandline, or passed as arguments):

Example ~/.pingintel_ini file:

[sovfixer]
# use this by default
SOVFIXER_AUTH_TOKEN = abcdxxxx
# use _STG for staging environment. if not provided, fall back to SOVFIXER_AUTH_TOKEN.
SOVFIXER_AUTH_TOKEN_STG = efghxxxx
# use _DEV for staging environment. if not provided, fall back to SOVFIXER_AUTH_TOKEN.
SOVFIXER_AUTH_TOKEN_DEV = efghxxxx

[pingvision]
# use _DEV or _STG  versions as desired
PINGVISION_AUTH_TOKEN = abcdxxxx

[pingdata]
# use _DEV or _STG  versions as desired
PINGDATA_AUTH_TOKEN = abcdxxxx

[pingmaps]
# use _DEV or _STG  versions as desired
PINGMAPS_AUTH_TOKEN = abcdxxxx

Usage

This package installs a number of commandline tools:

sovfixerapi pingvisionapi pingdataapi pingmapsapi

These tools are thin wrappers around the client API libraries.

See the examples/ directory for some usage examples. For instance, to submit an SOV to Ping SOV Fixer and poll for completion:

from pingintel_api import SOVFixerAPIClient

api_client = SOVFixerAPIClient()
api_client.fix_sov("test_sov.xlsx")

API Documentation

pingvisionapi

Usage: pingvisionapi [OPTIONS] COMMAND [ARGS]...

Options:
  -e, --environment [prod|prodeu|staging|dev]
  -u, --api-url TEXT              Provide base url (instead of environment,
                                  primarily for debugging)
  --auth-token TEXT               Provide auth token via --auth-token or
                                  PINGVISION_AUTH_TOKEN environment variable.
  -v, --verbose                   Can be used multiple times. -v for INFO, -vv
                                  for DEBUG, -vvv for very DEBUG.
  --help                          Show this message and exit.

Commands:
  activity                  List submission activity.
  create                    Create new submission from file(s).
  download-document         Download document by document URL.
  events                    List submission events.
  get                       Get submission detail.
  get-output                Fetch or generate an output from a previous...
  list-submission-statuses  List submission statuses.
  list-teams                List teams.

sovfixerapi

Usage: sovfixerapi [OPTIONS] COMMAND [ARGS]...

Options:
  -e, --environment [prod|prodeu|staging|dev]
  -u, --api-url TEXT              Provide base url (instead of environment,
                                  primarily for debugging)
  --auth-token TEXT               Provide auth token via --auth-token or
                                  SOVFIXER_AUTH_TOKEN environment variable.
  -v, --verbose                   Can be used multiple times. -v for INFO, -vv
                                  for DEBUG, -vvv for very DEBUG.
  --help                          Show this message and exit.

Commands:
  activity             List submission activity.
  check-progress       Check the progress of a submission.
  fix                  Extract insurance information from file(s).
  get-output           Fetch or generate an output from a previous...
  history              List submission activity.
  list-output-formats  List available output formats.
  serverinfo
  update               Update an existing SOV with new location data.

pingdataapi

Usage: pingdataapi [OPTIONS] COMMAND [ARGS]...

Options:
  -e, --environment [prod|prodeu|staging|dev]
  -u, --api-url TEXT              Provide base url (instead of environment,
                                  primarily for debugging)
  --auth-token TEXT               Provide auth token via --auth-token or
                                  PINGDATA_AUTH_TOKEN environment variable.
  -v, --verbose                   Can be used multiple times. -v for INFO, -vv
                                  for DEBUG, -vvv for very DEBUG.
  -D, --delegate-to ORG_SHORT_NAME
                                  Delegate to another organization. Provide
                                  the 'short name' of the desired delegatee.
                                  Requires the `delegate` permission.
  --help                          Show this message and exit.

Commands:
  bulk-enhance      Request data about multiple addresses using async API.
  enhance           Request data synchronously about a single address.
  get-datasource    Get the configuration for a single datasource by its...
  list-datasources  List the datasource configurations the authenticated...
  usage             Get API credit usage over a time range, broken down...

For complete documentation on the REST API, please see https://docs.pingintel.com/.

pingmapsapi

Usage: pingmapsapi [OPTIONS] COMMAND [ARGS]...

Options:
  -e, --environment [prod|prodeu|staging|dev]
  -u, --api-url TEXT              Provide base url (instead of environment,
                                  primarily for debugging)
  --auth-token TEXT               Provide auth token via --auth-token or
                                  PINGDATA_AUTH_TOKEN environment variable.
  -v, --verbose                   Can be used multiple times. -v for INFO, -vv
                                  for DEBUG, -vvv for very DEBUG.
  --help                          Show this message and exit.

Commands:
  settings  Get current user's settings.

Contributing

pingintel-api uses hatch for pypi packaging and updates. Install it for your platform first.

  1. Update the __about__.py file with the new version number.

  2. hatch build: Create the necessary pypi packages.

  3. Create a ~/.pypirc file. It should look something like this:

    [distutils]
    index-servers = pypi testpypi
    
    [pypi]
    repository = https://upload.pypi.org/legacy/
    username = __token__
    password = <your pypi token here>
    
  4. hatch publish: Push the new package(s) to pypi. (Note that you'll need a pypi account and to be a member of our organization for this step.)

Metadata

Release files for pingintel-api 1.4.13

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

Source distribution (sdist)

Source distribution for pingintel-api 1.4.13
File Size Uploaded Provenance Actions
pingintel_api-1.4.13.tar.gz 81.8 kB Without provenance Details for pingintel_api-1.4.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pingintel-api 1.4.13
File Interpreter ABI Platform Actions
pingintel_api-1.4.13-py3-none-any.whl Python 3 none any Details for pingintel_api-1.4.13-py3-none-any.whl

Total release size: 129.8 kB

Release files / pingintel_api-1.4.13.tar.gz

Download URL pingintel_api-1.4.13.tar.gz
Size 81.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c725a56b269cf0caf0cbc58eed30ef110d5c42fbf8e72ce4495801bbc637e80b
BLAKE2b-256 checksum
How to use checksums
5a73bcae2059b8bb8f9986dab1aca2fc0550bd3e7160020412968ea74ff33409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.0 {"ci":null,"cpu":"arm64","distro":{"name":"macOS","version":"26.7.1"},"implementation":{"name":"CPython","version":"3.12.10"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.6.5 29 Sep 2026","python":"3.12.10","system":{"name":"Darwin","release":"25.6.0"}} HTTPX2/2.12.0

Release files / pingintel_api-1.4.13-py3-none-any.whl

Download URL pingintel_api-1.4.13-py3-none-any.whl
Size 48.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dab893fea99c75c79c32bdf6278813cca32ff52cd0061c4feeb18813d36115a
BLAKE2b-256 checksum
How to use checksums
ffbd9bf34675d112af760f714ee53400b5062a193ae3aa5f2ab8a4e31b6220ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.0 {"ci":null,"cpu":"arm64","distro":{"name":"macOS","version":"26.7.1"},"implementation":{"name":"CPython","version":"3.12.10"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.6.5 29 Sep 2026","python":"3.12.10","system":{"name":"Darwin","release":"25.6.0"}} HTTPX2/2.12.0

Security for pingintel-api 1.4.13

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.4.13 This release

2 release files No provenance

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