You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
4 years ago
..
site-python docs: building (PDF) books / build user book 4 years ago
templates Fix typo chmod searx:searx > chown searx:searx 4 years ago
brand.env [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 4 years ago
fabfile.py [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 4 years ago
fetch_ahmia_blacklist.py add Ahmia filter plugin for onion results 4 years ago
fetch_currencies.py Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
fetch_firefox_version.py Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
fetch_languages.py fix utils/fetch_languages to work with new languages 4 years ago
fetch_wikidata_units.py [mod] add external_urls.json and wikidata_units.json 4 years ago
filtron.sh Utility scripts adapted to run on CentOS 7 (#2112) 4 years ago
google_search.py [enh] standalone_seax.py is a command line interface to searx with JSON output. 7 years ago
lib.sh [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 4 years ago
lxc-searx.env [enh] add centos-7 to LXC images (#2118) 4 years ago
lxc.sh [enh] add centos-7 to LXC images (#2118) 4 years ago
makefile.include apache: normalize installation (docs and script)s over all distros 4 years ago
makefile.lxc LXC: set LXC_ENV_FOLDER=lxc/$(shell hostname)/ 4 years ago
makefile.python Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
makefile.sphinx [mod] make docs-live - remove --port option from sphinx-autobuild 4 years ago
morty.sh Utility scripts adapted to run on CentOS 7 (#2112) 4 years ago
searx.sh [fix] remove doc-build for centos-7 from './utils/searx.sh doc' 4 years ago
standalone_searx.py Feature/standalone searx update (#1591) 4 years ago
update-translations.sh handle input carefully in shell scripts 7 years ago