Skip to main content

Amalgam Index (Amgix) API

Project description

amgix-client

Amalgam Index (Amgix). Open-Source Hybrid Search System

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.3.0
  • Package version: 1.3.0
  • Generator version: 7.21.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/amgix/amgix-client-python.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/amgix/amgix-client-python.git)

Then import the package:

import amgix_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import amgix_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import amgix_client
from amgix_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:8234
# See configuration.py for a list of all supported configuration parameters.
configuration = amgix_client.Configuration(
    host = "http://localhost:8234"
)



# Enter a context with an instance of the API client
async with amgix_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = amgix_client.AmgixApi(api_client)
    collection_name = 'collection_name_example' # str | Collection name (alphanumeric, underscores, hyphens only)

    try:
        # Collection Exists
        api_response = await api_instance.collection_exists(collection_name)
        print("The response of AmgixApi->collection_exists:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AmgixApi->collection_exists: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AmgixApi collection_exists GET /v1/collections/{collection_name}/exists Collection Exists
AmgixApi create_collection POST /v1/collections/{collection_name} Create Collection
AmgixApi delete_collection DELETE /v1/collections/{collection_name} Delete Collection
AmgixApi delete_collection_queue DELETE /v1/collections/{collection_name}/queue Delete Collection Queue
AmgixApi delete_document DELETE /v1/collections/{collection_name}/documents/{document_id} Delete Document
AmgixApi delete_document_sync DELETE /v1/collections/{collection_name}/documents/{document_id}/sync Delete Document Sync
AmgixApi empty_collection POST /v1/collections/{collection_name}/empty Empty Collection
AmgixApi get_collection_config GET /v1/collections/{collection_name} Get Collection Config
AmgixApi get_collection_queue_info GET /v1/collections/{collection_name}/queue/info Get Collection Queue Info
AmgixApi get_collection_stats GET /v1/collections/{collection_name}/stats Get Collection Stats
AmgixApi get_document GET /v1/collections/{collection_name}/documents/{document_id} Get Document
AmgixApi get_document_status GET /v1/collections/{collection_name}/documents/{document_id}/status Get Document Status
AmgixApi health_check GET /v1/health/check Health
AmgixApi health_ready GET /v1/health/ready Readiness Check
AmgixApi list_collections GET /v1/collections List Collections
AmgixApi metrics_current GET /v1/metrics/current Metrics Current
AmgixApi metrics_definitions GET /v1/metrics/definitions Metrics Definitions
AmgixApi metrics_prometheus GET /v1/metrics/prometheus Metrics Prometheus
AmgixApi metrics_trends GET /v1/metrics/trends Metrics Trends
AmgixApi search POST /v1/collections/{collection_name}/search Search
AmgixApi system_info GET /v1/system/info System Info
AmgixApi upsert_document POST /v1/collections/{collection_name}/documents Upsert Document
AmgixApi upsert_document_sync POST /v1/collections/{collection_name}/documents/sync Upsert Document Sync
AmgixApi upsert_documents_bulk POST /v1/collections/{collection_name}/documents/bulk Upsert Documents Bulk
AmgixApi version GET /v1/version Version

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

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

amgix_client-1.3.0.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

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

amgix_client-1.3.0-py3-none-any.whl (87.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: amgix_client-1.3.0.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for amgix_client-1.3.0.tar.gz
Algorithm Hash digest
SHA256 f30a10bacd1505433927db00bbd2a9c242fd9e3415ba12cd28d15c8374aa1869
MD5 500987ea32b5697ca3fb8fab0da08c5e
BLAKE2b-256 3164228b511219d9deb5beb4b00b7eeedf2bee611171bad361920388227f8c10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amgix_client-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 87.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for amgix_client-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 914ff97331b12ff3415aa5918d856d608797294ae0787f3e39faea9040518300
MD5 04ae19e63d39c1f1ab02376499cbf7c9
BLAKE2b-256 dbdfca2204fb532e89e7d529557164f983b2d3121e649fcc5b8a8c7381693216

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