Command line tools for working with Pocket data.
- Python 3.7
- Pocket API credentials
pip install pocketteSet the POCKET_CONSUMER_KEY and POCKET_ACCESS_TOKEN environment variables. Use the pockette setup command for help.
Create a Pocket application and authorize it to read your data.
pockette setupCreate an overview report of all data.
pockette reportSearch for specific links.
pockette searchSearch for links and open them in a browser.
pockette readShow the help messages for each command.
The number of links to select.
Offset the links selection by this count.
Randomize the links selection.
Sort links by chronological (default) or alphabetical order.
Sort links in the reverse order.
Include links with these keyword(s) (comma-separated).
Exclude links with these keyword(s) (comma-separated).
Show links after this date.
Show links before this date.
Show only short (<4 minutes) or long (>10 minutes) links.
Show all unread links. Overrides all other search options.
Install development dependencies.
pip install -e .[dev]make testmake lintmake typecheck