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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: algoliasearch-2.6.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for algoliasearch-2.6.0.tar.gz
Algorithm Hash digest
SHA256 3c6ecf88fc4ab319d93857dbf334c368a3f6b6242d4e1e5729031163ad515786
MD5 e9218761745c0ae73c28b45f314a2e1c
BLAKE2b-256 047b2c4dfc867d837e3ba769249cb82b342d54b680c1b737306fce5dccc82570

See more details on using hashes here.

File details

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

File metadata

  • Download URL: algoliasearch-2.6.0-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.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for algoliasearch-2.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f4c115fc27589d097de617ddcbf2ed83efac47d180523e54e42d54fd6a658eb4
MD5 c12ef1ddc7facaa25c826276a88b1b94
BLAKE2b-256 ff524b63870e14fc23698229b892fc55f4a79177643b5647059403d60ddfd3b5

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