Skip to main content

Elasticsearch Query Factory

Project description

Install

pip install tokko-es-query-factory

Use

from tokko_es_query_factory import filters
from tokko_es_query_factory.query_factory import QueryFactory


class FilterFactory(QueryFactory):
    """" Filter Factory! """
    CONFIG = {
        "address": filters.ContainsTextFilter,
        "age": filters.RangeIntFilter
        }

Filter types

  • ComplexFilter
  • AvailabilityFilter
  • MultipleFilter
  • OperationFilter
  • NetworkFilter
  • LocationFilter
  • MultipleIntFilter
  • MultipleMatch
  • MultipleNoMatch
  • PositiveIntFilter
  • BooleanFilter
  • StrFilter
  • ContainsTextFilter
  • RangeIntFilter
  • RangeFloatFilter
  • ChoiceIntFilter
  • StatusFilter
  • DispositionFilter
  • CurrencyFilter
  • PropertyConditionFilter
  • PropertySituationFilter

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

tokko_es_query_factory-0.0.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file tokko_es_query_factory-0.0.2.tar.gz.

File metadata

  • Download URL: tokko_es_query_factory-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.11

File hashes

Hashes for tokko_es_query_factory-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a0d36c40ccd9eece0926096c9366e132f0d2f83609432841d925e5056905688a
MD5 0c4ea52660c81470d935d967a3141160
BLAKE2b-256 4373800699e9163ec000e69c28bead566d62141c41b772e3ce769afc2c8fe993

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