Skip to main content

Seltz Python SDK for AI-powered search

Project description

PyPI version

Seltz Python SDK

Official Python SDK for Seltz, the Web search engine for AI agents.

💾 Installation

pip install seltz

Requires Python 3.9 or higher.

⚡️ Quick Start

from seltz import Seltz

client = Seltz(api_key="your-api-key")

# Search the Web
response = client.search("best ai search engines", max_results=10)

# Access results
for document in response.documents:
    print(f"URL: {document.url}")
    print(f"Content: {document.content}")

Output:

URL: https://www.best-ai-search-engines.com
Content: Generative AI can make finding information faster and more intuitive.
If you’re tired of traditional search, explore some of the best AI-powered
search engines we've tested...

Answer

Get a natural-language answer grounded in Web search results, with citations:

from seltz import Seltz

client = Seltz(api_key="your-api-key")

response = client.answer("Who is Apple's next CEO?")

print(response.answer)
for citation in response.citations:
    print(f"Source: {citation.url}")

📚 Documentation

Browse the documentation for more details.

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

seltz-1.3.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

seltz-1.3.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file seltz-1.3.0.tar.gz.

File metadata

  • Download URL: seltz-1.3.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for seltz-1.3.0.tar.gz
Algorithm Hash digest
SHA256 6471d8496636b234889f0680fe29c7a4dd461a8862790ecfa59be71bfeca6ee6
MD5 a69e3e965c169e2afe41bd1d562e7bf6
BLAKE2b-256 31272b0fc45a4b993cb6d3e61bee45fc57c87ea8f71a1c335cde6261a48e38d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for seltz-1.3.0.tar.gz:

Publisher: python-publish.yml on seltz-ai/seltz-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file seltz-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: seltz-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for seltz-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0baebee19b647f3ffb35b6b3fa5a9709ab8674193f2ba47daeff24cadb47d665
MD5 874a3d6a1263d3db9c3d89cfc289bdcb
BLAKE2b-256 577d7ef855b5e3517b0d7d751f3cd78638b26853b5799d15477cadd2fd924f01

See more details on using hashes here.

Provenance

The following attestation bundles were made for seltz-1.3.0-py3-none-any.whl:

Publisher: python-publish.yml on seltz-ai/seltz-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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