Skip to main content

A ridiculously simple search engine

Project description


A ridiculously simple search engine

Example: Search code

from grub.grub import SearchStore
import sklearn  # instead of talking any file, let's search the files of sklearn itself!

path_format = os.path.dirname(sklearn.__file__) + '{}.py'
search = SearchStore(path_format)
search('ANN')  # see that it guessed, pretty early, that I was talking about neural networks
array(['sklearn/tree/', 'sklearn/linear_model/',
       'sklearn/neural_network/tests/'], dtype='<U75')
search('how to calibrate the estimates of my classifier')  # and yep... good keyword promisses: robust, calibration, feature selection and validation...
       'sklearn/neighbors/', 'sklearn/ensemble/',
       'sklearn/feature_selection/', 'sklearn/',
       'sklearn/ensemble/', 'sklearn/ensemble/'],

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 grub, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size grub-0.0.2-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size grub-0.0.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page