Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honza/pannote
Search your text files
https://github.com/honza/pannote
Last synced: about 5 hours ago
JSON representation
Search your text files
- Host: GitHub
- URL: https://github.com/honza/pannote
- Owner: honza
- License: gpl-3.0
- Created: 2015-05-23T00:28:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T18:12:12.000Z (almost 7 years ago)
- Last Synced: 2024-09-08T13:42:23.559Z (about 2 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pannote
=======Usage
-----Given a directory of text files, pannote will go and index those files using
xapian. It uses an English stemmer. Then you give it a term and it will find
all matching files. Each time it runs, it reindexes everything and deletes the
database.```
$ pannote --helpUsage: pannote [OPTIONS] DIRECTORY TERM
A simple program that indexes a directory of text files and allows you to
search itOptions:
-0, --print0 separate matches with a null byte in output
--help Show this message and exit.
```Pannote works really well with Facebook's [PathPicker][1].
```
$ pannote /path/to/notes "isomorphic" | fpp
```Installation
------------### OSX
```
$ brew install xapian --with-python
$ pip install pannote
```### Fedora
```
$ dnf install xapian-bindings-python
$ pip install pannote
```### Ubuntu/Debian
```
$ apt-get install python-xapian
$ pip install pannote
```[1]: https://github.com/facebook/pathpicker/
License
-------GPLv3