Metadata-Version: 2.1
Name: anchorage
Version: 0.9.0.0
Summary: Anchor your little piece of internet.
Home-page: https://github.com/antonlopezr/anchorage
Author: Antonio Lopez Rivera
Author-email: antonlopezr99@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: rapidjson
Requires-Dist: toml
Requires-Dist: Python-Alexandria
Requires-Dist: archivenow
Requires-Dist: internetarchive
Requires-Dist: tqdm
Requires-Dist: pyfiglet
Requires-Dist: PyInquirer
Requires-Dist: prompt-toolkit (==1.0.14)
Requires-Dist: lz4

# Anchorage

![alt text](tests/coverage/coverage.svg ".coverage available in tests/coverage/")



`Antonio Lopez Rivera, 2021`

## Table of Contents

[ **1. Introduction** ](#1-introduction)

[ **2. Install**  ](#2-install)

[ _2.1 Local archive: ArchiveBox_ ](#51-2d-lines)

[ **3. Anchorage CLI**  ](#3-anchorage-cli)

[ **4. Python library**  ](#4-python-library)

[ _4.1 Bookmark retrieval_ ](#41-bookmark-retrieval)

[ _4.3 The `bookmarks` class_ ](#42-the-bookmark-class)

[ _4.3 Archive_ ](#43-archive)

[ _4.3 Local archive: ArchiveBox server_ ](#43-local-archive-archivebox-server)

## 1. Introduction

## 2. Install

    pip install anchorage

### 2.1 [ArchiveBox](https://archivebox.io/)

1. Install docker
2. Install ArchiveBox via Docker

## 3. Anchorage CLI

## 4. Python library

### 4.1 Bookmark retrieval

    from anchorage import load, path

### 4.2 The `bookmarks` class

### 4.3 Archive

    from anchorage import anchor_locally, anchor_online

    anchor_locally(bookmarks)

    anchor_online(bookmarks)

#### 4.3.1 Local archive: [ArchiveBox](https://archivebox.io/) server

    from anchorage import server

    server()

