All Projects → pastpages → Archiveis

pastpages / Archiveis

Licence: mit
A simple Python wrapper for the archive.is capturing service

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Archiveis

savepagenow
A simple Python wrapper and command-line interface for archive.org’s "Save Page Now" capturing service
Stars: ✭ 140 (+0%)
Mutual labels:  news, archiving
Newsapi Python
A Python Client for News API
Stars: ✭ 196 (+40%)
Mutual labels:  api, news
Cms
News Management System Written In PHP
Stars: ✭ 245 (+75%)
Mutual labels:  api, news
archiveis
A simple Python wrapper for the archive.is capturing service
Stars: ✭ 152 (+8.57%)
Mutual labels:  news, archiving
pastpages.org
The news homepage archive
Stars: ✭ 81 (-42.14%)
Mutual labels:  news, archiving
Realtime Newsapi
Financial News Aggregator - Real Time & Query API for Financial News
Stars: ✭ 34 (-75.71%)
Mutual labels:  api, news
Fortnite Api
Fortnite API, Get Stats, News And Status
Stars: ✭ 317 (+126.43%)
Mutual labels:  api, news
Taizhou Fe Api
💥💥 仿今日头条后端 API 服务 Golang ,后台管理, APP 服务, Vue、 ReactJS、台湾头条
Stars: ✭ 42 (-70%)
Mutual labels:  api, news
Poloniex Api Node
Poloniex API client for REST and WebSocket API
Stars: ✭ 138 (-1.43%)
Mutual labels:  api
Conari
🧬 Platform for unmanaged memory, pe-modules, related PInvoke features, and more for: Libraries, Executable Modules, enjoy using of the unmanaged native C/C++ in .NET world, and other raw binary data …
Stars: ✭ 138 (-1.43%)
Mutual labels:  api
Foxify
The fast, easy to use & typescript ready web framework for Node.js
Stars: ✭ 138 (-1.43%)
Mutual labels:  api
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (-0.71%)
Mutual labels:  api
Postman Bdd
A BDD test framework for Postman and Newman
Stars: ✭ 139 (-0.71%)
Mutual labels:  api
Laravel Fractal
An easy to use Fractal wrapper built for Laravel and Lumen applications
Stars: ✭ 1,748 (+1148.57%)
Mutual labels:  api
Apisix Ingress Controller
ingress controller for K8s
Stars: ✭ 139 (-0.71%)
Mutual labels:  api
Laravel Api Explorer
API explorer for laravel applications
Stars: ✭ 138 (-1.43%)
Mutual labels:  api
Fastify Api
A blazing fast REST APIs with Node.js, MongoDB, Fastify and Swagger.
Stars: ✭ 138 (-1.43%)
Mutual labels:  api
Awesome Documentation Tools
🔥 📚 All the tools, processes and resources you need to create an awesome API & Project documentation
Stars: ✭ 138 (-1.43%)
Mutual labels:  api
Librouteros
Python implementation of MikroTik RouterOS API
Stars: ✭ 139 (-0.71%)
Mutual labels:  api
Pithy Test
简化接口测试
Stars: ✭ 139 (-0.71%)
Mutual labels:  api

archiveis

A simple Python wrapper for the archive.is capturing service.

Tests

Installation

pipenv install archiveis

Python Usage

Import it.

>>> import archiveis

Capture a URL.

>>> archive_url = archiveis.capture("http://www.example.com/")

See where it's stored.

>>> print archive_url
https://archive.md/WxlRK

If a URL has been recently cached, archive.is may return the URL to that page rather than conduct a new capture.

Command-line usage

The Python library is also installed as a command-line interface. You can run it from your terminal like so:

archiveis http://www.example.com/

The command has the same options as the Python API, which you can learn about from its help output.

$ archiveis --help
Usage: archiveis [OPTIONS] URL

  Archives the provided URL using the archive.is capturing service.

Options:
  -ua, --user-agent TEXT  User-Agent header for the web request
  --help                  Show this message and exit.

Contributing

Install dependencies for development.

pipenv install --dev

Run tests.

make test

Ship new version to PyPI

make ship

Developing the CLI

The command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.

pip install --editable .
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].