Skip to main content

A package for creating Spectral Bloom filters for static sites

Project description

Sthir

Search using spectral bloom filters in static sites

sthir docs python MIT License

Sthir can create memory efficient search feature for your static website. Sthir is equipped with an user friendly command-line interface. In two steps you can build a working search page for your website!

Description

Sthir is a library to create search functionality for your static websites. It scans your html pages for words and indexes these words in an efficient data structure called Spectral Bloom Filters. Spectral Bloom Filteres differs from regular ones as they can store counts for each hash (it can estimate, at minimum, how many times a hash was indexed). We are using an efficient base 15 decoding to compress and transfer the bloom filters at client side. Our goal can be described with a simple equation:

Less Memory Footprint + Term Frequency Knowledge = Perfect Search Functionality for Static Sites!

Installation

sthir runs on Python 3.5 or above.

Installation with pip via PyPI for OS X , Linux and Windows:

pip install sthir

To check installation run the following command:

sthir -h

If you see the help messages without any error then the installation was successful.

Documentation

Here is a working demo -

terminal-output

Our entire documentation is available in:

License

The library is licensed under MIT License. This project is developed by Parth Parikh, Mrunank Mistry, and Dhruvam Kothari.

Credits

Contributing

  1. Fork it (https://github.com/pncnmnp/Spectral-Bloom-Search/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sthir-0.0.2-py3-none-any.whl (101.5 kB view hashes)

Uploaded Python 3

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