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 bugFAQSupport

✨ 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.

❓ Troubleshooting

Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the client.

Use the Dockerfile

If you want to contribute to this project without installing all its dependencies, you can use our Docker image. Please check our dedicated guide to learn more.

📄 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.6.3

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.6.3.tar.gz (22.5 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.6.3-py2.py3-none-any.whl (35.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: algoliasearch-2.6.3.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.9.2 requests/2.28.1 setuptools/65.6.3 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.2

File hashes

Hashes for algoliasearch-2.6.3.tar.gz
Algorithm Hash digest
SHA256 9706d1238ad912e87a9fb43791399de47fe559afd32964e91dfc69a7ca3fe0ce
MD5 c7b2785d3de48c278209b336985beab2
BLAKE2b-256 d2dfef9078672ddea77e89b65d2ad5d0cbd8ffc70c582387f78d8ee46fbe558e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: algoliasearch-2.6.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.9.2 requests/2.28.1 setuptools/65.6.3 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.2

File hashes

Hashes for algoliasearch-2.6.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0647732a91549132514ba5263cb12c7cc443baeb54bd52d324f84f6acd845ac1
MD5 5cdbf9a9164dbf8e089c6fe2c6b865de
BLAKE2b-256 bde8765cba34589c1bd18c4e5107220c3e56599371a40cf23f3dab180ac2e967

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