Skip to main content

Package for managing literature search queries.

Project description

Welcome!

This python package was developed as part of my bachelors thesis: Towards more efficient literature search: Design of an open source query translator.

How to cite: Ernst, K. (2024). Towards more efficient literature search: Design of an open source query translator. Otto-Friedrich-University of Bamberg.

How to use?

A python package for the translation of literature search queries.

To create queries, run:

import search_query.query

nested_query = search_query.query.OrQuery(["index", "search"], [], "Abstract")
query = search_query.query.AndQuery(["terms"], [nested_query], "Author Keywords")

search terms: strings which you want to include in the search query, nested queries: queries whose roots are appended to the query, search field: search field to which the query should be applied -> possible are: Author Keywords, Abstract, Author, DOI, ISBN, Publisher or Title

to use the translation function, run:

query.translate_ieee("translationIEEE") 
query.translate_pubmed("translationPubMed")
query.translate_wos("translationWebofScience")

    or

query.print_query_ieee(query.query_tree.root)
query.print_query_pubmed(query.query_tree.root)
query.print_query_wos(query.query_tree.root)

The translate() methods create a JSON file in the "translations/databaseName/" directory under the stated file name The print() methods returns just the translated string

Not what you're looking for?

This python package was developed with purpose of integrating it into other literature management tools. If that isn't your use case, it migth be useful for you to look at these related tools:

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

search_query-0.10.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

search_query-0.10.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file search_query-0.10.0.tar.gz.

File metadata

  • Download URL: search_query-0.10.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure

File hashes

Hashes for search_query-0.10.0.tar.gz
Algorithm Hash digest
SHA256 901d01aa6a0be80538442579acef6c83ae7816db00fad9ef6b676febb8334b43
MD5 deedd8e8c4f127db9b5f91922ed689e7
BLAKE2b-256 0782266c49021983877c4a8299596e4f56e76b89b92b986b7756c3b239056240

See more details on using hashes here.

File details

Details for the file search_query-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: search_query-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure

File hashes

Hashes for search_query-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa9937638c45f954d790f8534c6ec0787de6a3a6840710197dc14c7f40ed74ce
MD5 47cbf6c53c95622b4ad419aa9e0f2f71
BLAKE2b-256 2d3e01c61abd9788a0e627192809d26317608dbeb118b2921f542dcf83fcf7a7

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