Skip to main content

DINQ People Search SDK for Python.

Project description

DINQ People Search Python SDK

Thin SDK for the production DINQ People Search API.

Install

pip install dinq-people-search

Usage

from dinq_people_search import DinqPeopleSearch

client = DinqPeopleSearch(api_key="sk-...")

response = client.search(
    query="AI agent engineer",
    limit=10,
    sources=["github", "huggingface"],
)

The SDK calls:

POST https://api.dinq.me/v2/people/search

Request

client.search(
    query: str,
    limit: int | None = None,
    sources: list[str] | None = None,
)

Supported sources are github, huggingface, company, linkedin, scholar, and academic.

Response

The SDK returns the API response as-is:

{
  "code": 0,
  "data": {
    "results": [],
    "meta": {}
  },
  "message": "OK"
}

If the HTTP request fails or code is non-zero, the SDK raises DinqPeopleSearchError.

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

dinq_people_search-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

dinq_people_search-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file dinq_people_search-0.1.0.tar.gz.

File metadata

  • Download URL: dinq_people_search-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dinq_people_search-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eca25acb0ab8f360b41d79b0b8a4fdd67618302f055ed8068417bce29ae1b455
MD5 71dd37c92caf0351f2bec5042d6323d8
BLAKE2b-256 de69256ae49ce49f9c357b49e169cd6278f65d6405ededfc57db53792b1a5f4a

See more details on using hashes here.

File details

Details for the file dinq_people_search-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dinq_people_search-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fae012db9857721445ffd710f10316d34092681cd6dbb8883884b7a209ceab4d
MD5 b7bb3f272353aa0702aa69945cc36d2f
BLAKE2b-256 7c1fd49749f41c935035eea0410571e566214e569c5d1952b2b59923b9939bd1

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