Skip to main content

Parse a more general search syntax to conform with a particular SQL dialect.

Project description

Search String Parser

docs

Documentation Status

tests

Travis-CI Build Status

package

PyPI Package latest release PyPI Wheel Supported versions Supported implementations

Parse a more general search syntax to conform with a particular SQL dialect.

Currently, this is implemented using ply with a general lexer and a parser for generating PostgreSQL-specific search queries.

  • Free software: BSD license

Installation

pip install searchstringparser

Documentation

https://searchstringparser.readthedocs.org/

Development

To run the all tests run:

tox

Changelog

0.3.0 (2018-10-04)

  • Fix a bug in the token parser.

  • Update the infrastructure.

0.2.3 (2015-09-29)

  • Publish on PyPi

0.2.2 (2015-09-29)

  • Complete documentation

0.2.1 (2015-09-28)

  • Add more helpful error messages

0.2.0 (2015-09-28)

  • Add complete integration with Travis, Appveyor, Coveralls, and Read the Docs

  • Increase test coverage to 100%

  • Make source compatible with Python 2.6 - 3.4

0.1.1 (2015-09-21)

  • Fix GeneralSearchStringLexer regex

  • Fix PostgreSQLTextSearchParser rules

  • Add first set of tests

0.1.0 (2015-09-16)

  • Initial class layout

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

searchstringparser-0.3.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

searchstringparser-0.3.0-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file searchstringparser-0.3.0.tar.gz.

File metadata

  • Download URL: searchstringparser-0.3.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for searchstringparser-0.3.0.tar.gz
Algorithm Hash digest
SHA256 17937a40b9545beb859fa319a90539f3f4eab305f3ca16bbf1e6a75871d4dd70
MD5 90564645a7d6b9564336a5a80c829210
BLAKE2b-256 e4cd491b6a00810f16dec0af729679ccfc2eeb1dd639a42f8bdbdb09846e95f6

See more details on using hashes here.

File details

Details for the file searchstringparser-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: searchstringparser-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for searchstringparser-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ab150440b2fa3f6edf21ffc1388bb4c45925911c9adf3623666c58206c7be5da
MD5 5fe47dd1d09b4e0155464fbd0e6632d8
BLAKE2b-256 3860d70db8b5ecafe6f97808231a2712e7ed6d7c89a0188d64be3499560b8f07

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page