pyo3/examples/word-count
Nikolay Kim 050397b723 mark method that work with raw pointer unsafe 2017-12-26 13:41:27 -08:00
..
src add prelude mod 2017-07-31 10:42:55 -07:00
tests Test and benchmark word-count example (#60) 2017-07-26 12:37:36 +08:00
word_count Test and benchmark word-count example (#60) 2017-07-26 12:37:36 +08:00
Cargo.toml Add a word count example 2017-07-23 13:32:18 +08:00
README.md Add a word count example 2017-07-23 13:32:18 +08:00
setup.py Test and benchmark word-count example (#60) 2017-07-26 12:37:36 +08:00

README.md

word-count

Build

python setup.py install

Usage

from word_count import search

search('path/to/file', 'word')