Skip to content

Presterity/py-script

Repository files navigation

py-script

Useful python scripts for administrative functions.

Development

Requirements

Getting Started

  1. Install git, Python 3, and virtualenv.
  2. Go to preferred workspace directory, e.g. ~/projects
  3. virtualenv --python python3 --prompt presterity- venvs/presterity
  4. source venvs/presterity/bin/activate
  5. git clone git@github.com:presterity/py-script
  6. cd py-script
  7. pip install -r requirements.txt

Script Index

extract-raindrop-bookmarks.py

This script uses the Raindrop API to retrieve all the bookmark data for a particular collection. By default, the bookmarks from the Presterity collection are extracted. The retrieved data is written as JSON to stdout or to a file along with metadata about the extract itself. Run with -h for usage.

archive-links.py

This script uses the Wayback Machine to archive all of the bookmarks from a particular raindrop collection. By default, the bookmarks from the Presterity collection are archived. The archived URLs are written as JSON to stdout or to a file. Run with -h for usage.

Module Index

raindrop_api.py

General-purpose API for retrieving bookmarks from the Raindrop API

wayback_api.py

General-purpose API for accessing the Wayback Machine

About

Useful scripts for administrative functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages