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.1.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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dinq_people_search-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0914cce5a8b16bd69f7faf27b9d24411be8417c1fffa848baa4aadc6891ac54d
MD5 9088ee233ea88fb5aca918b806c1423c
BLAKE2b-256 23cd92b7a743d8b2aaada5b4874b8cb3c5b740aecf29981a03305510136fc357

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dinq_people_search-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b1a16078d74c9ecafcbe67803b27e83882487f8a548f036cc0be44181e359df
MD5 e4914e78a6c8a8919e0abbabc93cbc08
BLAKE2b-256 21f91469af3c51930b349d328388e89a6c81fcdf384e6aa2024edfa89a834b81

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