Skip to main content

Algolia Search API Client for Python.

Project description

Algolia for Python

The perfect starting point to integrate Algolia within your Python project

PyPI Python versions License

DocumentationDjangoCommunity ForumStack OverflowReport a bugSupport

✨ Features

  • Thin & minimal low-level HTTP client to interact with Algolia's API
  • Supports Python: 2.7, 3.4, 3.5, 3.6, 3.7, and 3.8
  • Contains blazing-fast asynchronous methods built on top of the Asyncio

💡 Getting Started

First, install Algolia Python API Client via the pip package manager:

pip install --upgrade 'algoliasearch>=2.0,<3.0'

Then, create objects on your index:

from algoliasearch.search_client import SearchClient

client = SearchClient.create('YourApplicationID', 'YourAPIKey')
index = client.init_index('your_index_name')

index.save_objects([{'objectID': 1, 'name': 'Foo'}])

Finally, you may begin searching a object using the search method:

objects = index.search('Fo')

For full documentation, visit the Algolia Python API Client.

📄 License

Algolia Python API Client is an open-sourced software licensed under the MIT license.

Project details


Release history Release notifications | RSS feed

This version

2.3.0

Download files

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

Source Distribution

algoliasearch-2.3.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

algoliasearch-2.3.0-py2.py3-none-any.whl (31.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file algoliasearch-2.3.0.tar.gz.

File metadata

  • Download URL: algoliasearch-2.3.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for algoliasearch-2.3.0.tar.gz
Algorithm Hash digest
SHA256 fc6c9abfe4b652a3b96ab5ebc3e07b5964786899da099a018b688e37ae507503
MD5 72add5097ae58ace6eb5aa8d589174bf
BLAKE2b-256 2b993a05b1a0c0b4014fc4c97e1148ce1049ef3e2ded6f1738d2ecdf24a265ea

See more details on using hashes here.

File details

Details for the file algoliasearch-2.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: algoliasearch-2.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for algoliasearch-2.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 271920824e15629af24da93211d9f1157ae41c4a1384e1022b0de2d8d671abd4
MD5 f01dadfed38b6764620ef6821c9953a4
BLAKE2b-256 a342a8bc59108ea12f34b9aceb2643571d6e0ed10cbd30ba1ec9f5293727c66c

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