Command line tools for working with Pocket data.
- Python 3.7
- Pocket API credentials
pip install pockette
Set 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 setup
Create an overview report of all data.
pockette report
Search for specific links.
pockette search
Search for links and open them in a browser.
pockette read
Show 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 test
make lint
make typecheck