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.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: tokko_es_query_factory-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3bd775a8707b324b976b00f93a8121983142762d9f76fb560550e951e8dcaa20
MD5 e1dc5ae47d510dbbb3bb0a6495e28ff8
BLAKE2b-256 aa529e053dfde4f772f8f6be3df5c6246ce4c10c801572101c791bf477649505

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