searxng/utils
rachmadani haryono c03e4c86bc
Feature/standalone searx update (#1591)
* chg: dev: update standalone_searx

parent d8a5df721b33dd8a7cc9e21dba4060f21d629f69
author rachmadaniHaryono <foreturiga@gmail.com> 1603896594 +0800
committer rachmadaniHaryono <foreturiga@gmail.com> 1603896619 +0800

chg: dev: debug engine_shortcuts
chg: dev: only initilize if engine is given
chg: dev: split main
chg: dev: standalone_searx
chg: dev: update standalone_searx
chg: doc: remove unnecessary log
chg: test: differentiate travis
chg: test: disable shortcut
chg: test: use default engine settings
fix: dev: category choices
fix: dev: duplicate engine shortcut
fix: dev: travis python3
fix: test:  use empty string as shortcut
fix: test: apkm
fix: test: engine shortcut
fix: test: mypy
fix: test: parameter
fix: test: pep8
fix: test: py2 compatibilities
fix: test: searx settings
fix: test: travis engines
new: dev: deduplicate engine
new: dev: main receive engines parameter
new: dev: parse_argument accept engines parameter
new: dev: split search query from get_result func
new: test: basic result case
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.

* new: doc: searx import and init

* chg: dev: parse_argument

- doc
- run on __main__
- simple parse_args

* chg: doc: module

* chg: dev: import section

- remove unused python path modification
- new required package

* chg: dev: script run

- parse_argument func return directly parsed results
- main func return dict instead json text
- dump directly on sys.stdout.write

* chg: dev: get_search_query and get_search_query func

* chg: dev: main func

- move inner function outside
- return dict instead of json text

* new: dev: add utils to doc sys path

* new: doc: standalone_searx

* fix: doc: run script

* chg: dev: mypy type hint

* chg: dev: SearchQuery don't have attr engines

* chg: dev: reset engines __init__

* chg: test: unit test update

* chg: dev: pylint and flake8

* new: test: standalone_searx

* chg: dev: main func and doc

* chg: dev: import and type hint

* new: dev: main func

- remove get_result func
- single func which just translate dict

* chg: test: put mypy on dev requirement

* chg: doc: update

* new: doc: add standalone_searx module member

* chg: doc: shell command line

* chg: dev: remove mypy

* chg: doc: module docstring
2020-11-04 12:38:54 +00:00
..
site-python docs: building (PDF) books / build user book 2020-03-21 18:45:38 +01:00
templates Fix typo chmod searx:searx > chown searx:searx 2020-10-19 17:31:02 +02:00
brand.env [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 2020-09-28 16:44:14 +02:00
fabfile.py [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 2020-09-28 16:44:14 +02:00
fetch_ahmia_blacklist.py add Ahmia filter plugin for onion results 2020-10-25 17:59:43 -07:00
fetch_currencies.py Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
fetch_firefox_version.py Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
fetch_languages.py fix utils/fetch_languages to work with new languages 2020-09-22 11:37:44 +02:00
fetch_wikidata_units.py [mod] add external_urls.json and wikidata_units.json 2020-10-28 08:09:25 +01:00
filtron.sh Utility scripts adapted to run on CentOS 7 (#2112) 2020-08-01 22:12:44 +02:00
google_search.py [enh] standalone_seax.py is a command line interface to searx with JSON output. 2017-01-04 14:14:01 +01:00
lib.sh [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 2020-09-28 16:44:14 +02:00
lxc-searx.env [enh] add centos-7 to LXC images (#2118) 2020-08-08 19:50:11 +02:00
lxc.sh [enh] add centos-7 to LXC images (#2118) 2020-08-08 19:50:11 +02:00
makefile.include apache: normalize installation (docs and script)s over all distros 2020-04-07 18:31:51 +02:00
makefile.lxc LXC: set LXC_ENV_FOLDER=lxc/$(shell hostname)/ 2020-03-23 18:05:46 +01:00
makefile.python Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
makefile.sphinx [mod] make docs-live - remove --port option from sphinx-autobuild 2020-10-30 20:30:20 +01:00
morty.sh Utility scripts adapted to run on CentOS 7 (#2112) 2020-08-01 22:12:44 +02:00
searx.sh [fix] remove doc-build for centos-7 from './utils/searx.sh doc' 2020-09-20 11:11:14 +02:00
standalone_searx.py Feature/standalone searx update (#1591) 2020-11-04 12:38:54 +00:00
update-translations.sh handle input carefully in shell scripts 2017-10-06 21:00:22 +02:00