Skip to main content

No project description provided

Project description

Million Verifier Python Client

Python client for Million Verifier. API documentation can be found here.

Setup

It is advised that million-verifier-client is installed within a virtual environment (e.g., Poetry, venv, etc.). Once in an activated virtual environment, million-verifier-client can be installed with the following commands:

Pip:

pip install million-verifier-client

Poetry:

poetry add million-verifier-client

Example Usage

import os
from million_verifier import MillionVerifierClient

client = MillionVerifierClient(
    api_key=os.getenv("MILLION_VERIFIER_API_KEY"),
)

client.list_files()

Output:

{
  "files": [
    {
      "file_id": 25645547490,
      "file_name": "test-emails-1.txt",
      "status": "finished",
      "unique_emails": 0,
      "updated_at": "2023-11-25 12:12:21",
      "createdate": "2023-11-25 12:12:16",
      "percent": 100,
      "total_rows": 10,
      "verified": 9,
      "unverified": 1,
      "ok": 8,
      "catch_all": 0,
      "disposable": 0,
      "invalid": 1,
      "unknown": 0,
      "reverify": 0,
      "credit": 10,
      "estimated_time_sec": 0,
      "error": ""
    }
  ], 
  "total": 1
}

Development

Testing

Tests can be run using Pytest:

pytest

Or, using Pytest within a Poetry environment:

poetry run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

million_verifier_client-0.1.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

million_verifier_client-0.1.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file million_verifier_client-0.1.1.tar.gz.

File metadata

  • Download URL: million_verifier_client-0.1.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.8 Darwin/23.1.0

File hashes

Hashes for million_verifier_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 955046a9b7f4a24bf7b13cb0920795986a2fa059aad7fb919f361440c0ea56ad
MD5 390219f46102aec089c2b1f7d57ef21d
BLAKE2b-256 195e95797febd04ceb2cd376faa96562a40adb600a77fc8a0e8931890d52be1b

See more details on using hashes here.

File details

Details for the file million_verifier_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for million_verifier_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2dbd08fcb7e7b8152a0460ba90f8ad7a5a7038534473d24c7dc46d1d53a55c3
MD5 c08f766faa8db7d92f6cba96644f60ff
BLAKE2b-256 8019ae0545ee0eea8dbbfce68969725dc8ed6ffa21bff949acd52596fa33cb55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page