Skip to main content

small search engine using k-grams

Project description


License: GPL v3+ Python 3.x Support

trovotutto command line tool

Trovotutto (Italian for "I find everything) is a small naive python 3.x search engine using k-grams. It was conceived as a find replacement that would be tolerant to typos and that would take paths into consideration when searching.

At the time of writing it supports recursively searching for files in a directory (according to various criteria) and in PGPgrams databases. Anyway, it is so small that can be easily extended to work on other data structures.


Trovotutto is available through the Python Package Index (PyPI). Pip is already installed if you are using Python 3 >=3.4 downloaded from; if you're using a GNU/Linux distribution, you can find how to install it on this page. After setting up pip, you can install trovotutto by simply typing in your terminal

pip3 install trovotutto


Trovotutto install a command line utility with the same name that can be used to search and open search results. Application selection is handled through xdg-open, so be sure to have it installed if you want to use it this way. The command line is not recommended for performance when searching in large directories because by defaults it rebuilds the database at each run.

More proficient usage is obtained in IPython console for repeated usage, as the index is kept in memory:

trovotutto from ipython


This program is licensed under GNU General Public License v3 or later by Pellegrino Prevete. If you find this program useful, consider offering me a beer, a new computer or a part time remote job to help me pay the bills.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for trovotutto, version
Filename, size File type Python version Upload date Hashes
Filename, size trovotutto- (19.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size trovotutto- (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page