Skip to main content

PyInstapaper

https://img.shields.io/pypi/v/pyinstapaper.svg https://img.shields.io/travis/mdorn/pyinstapaper.svg Documentation Status

Instapaper is a tool for saving web pages to read later, e.g. offline on a mobile device. PyInstapaper is a Python wrapper for the full Instapaper API.

To use it, in addition to your Instapaper account username and password, you’ll need to request API credentials from Instapaper.

Usage

from pyinstapaper.instapaper import Instapaper, Folder

INSTAPAPER_KEY = 'MY_INSTAPAPER_API_KEY'
INSTAPAPER_SECRET = 'MY_INSTAPAPER_API_SECRET'
INSTAPAPER_LOGIN = 'me@example.com'
INSTAPAPER_PASSWORD = 'p@ssw0rd'

instapaper = Instapaper(INSTAPAPER_KEY, INSTAPAPER_SECRET)
instapaper.login(INSTAPAPER_LOGIN, INSTAPAPER_PASSWORD)

# Get the 10 latest instapaper bookmarks for the given account and do
# something with the article text
bookmarks = instapaper.get_bookmarks('starred')
for bookmark in enumerate(bookmarks):
    do_something(bookmark.get_text())
    bookmark.archive()

# Create a new folder
folder = Folder(instapaper, title='cool stuff')
result = folder.add()

Installation

To install PyInstapaper, simply:

pip install pyinstapaper

Additional info

Metadata

Release files for readwise-pyinstapaper 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for readwise-pyinstapaper 0.2.3
File Size Uploaded
readwise-pyinstapaper-0.2.3.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for readwise-pyinstapaper 0.2.3
File Interpreter ABI Platform
readwise_pyinstapaper-0.2.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 22.1 kB

Release files / readwise-pyinstapaper-0.2.3.tar.gz

Download URL readwise-pyinstapaper-0.2.3.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d9fe6fa8f8b2d7e9a7e9ad777d1363e6284b75f48bb223d627ecbd5e17d95bff
BLAKE2b-256 checksum
How to use checksums
b8df8d93cd152c5568b6e5f72b2d64602338537936ce776a4d36a74d3d0e0e10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

Release files / readwise_pyinstapaper-0.2.3-py2.py3-none-any.whl

Download URL readwise_pyinstapaper-0.2.3-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
123b905a5c4338055ed755287c2f1955c919232283fab422aa4e04b22e082b0b
BLAKE2b-256 checksum
How to use checksums
ccd18157238bb4af8f1ba51ab2caecaae06aecedfb1c179da3e53e228e245538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page