Code Monkey home page Code Monkey logo

nbook's Introduction

Building technological solutions ๐Ÿ›ฐ๏ธ is as much about engineering as it is about people ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘

Your (mostly) friendly ๐Ÿพ neighbourhood data person

Interested in anything data or "mathy" ๐Ÿ’น ๐Ÿ™ƒ

GNU/Linux nerd ๐Ÿง

  • FOSS advocate
  • Scientific/research software
  • High Performance Computing
  • explore Linux internals, reading manuals (I know, it's a bit weird)
  • try different programming languages, and programming paradigms
  • hardware: Arduino, RPi, RISC-V (wish list)
  • privacy

Always a Physicist :atom:

Sometimes a cyclist ๐Ÿšด

nbook's People

Contributors

sfischme avatar suvayu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

popsch

nbook's Issues

needs protection for too many open files

try 'nbook a'

[cut]: Too many open files
Traceback (most recent call last):
File "./nbook", line 167, in
File "./nbook", line 72, in init
File "/usr/lib/python2.7/site-packages/notmuch/message.py", line 233, in get_header
notmuch.errors.NullPointerError

search prefix

It would be good to permit adding a prefix to the search for addresses. For example, I want to search addresses only over the last four years, because I don't care about the smiths' from 2001.

Basically something like this:

nbook -p "not folder:trash and 1346580048..1349172048" smith

unique should ignore capitalization

nbook returns multiple addresses use different capitalization. Since capitalization doesn't matter for email addresses, they are identical and only one should be reported.

sort found addressed by date

Can you sort found addresses by date? Either the mail date or the filesystem timestamp come into mind. The latter is an interesting concept, because it means that addresses of mails you accessed recently are higher up.

Crashing with index out of range

$ ./nbook smi
Traceback (most recent call last):
File "./nbook", line 187, in
print addresses
File "./nbook", line 125, in str
return self.print_addrs()
File "./nbook", line 170, in print_addrs
addrs = self.find_addrs(query)
File "./nbook", line 162, in find_addrs
return self.uniquify_addrs(maddrs)
File "./nbook", line 113, in uniquify_addrs
last = addrs[-1]
IndexError: list index out of range

requires python2

got it working with this at the beginning

!/usr/bin/env python2

doesn't support wild cards

./nbook smi*

nbook should recognize that * is a wild card match in notmuch and thus report any form of smi*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.