Skip to main content

Create an EPUB from a list of URLs to read on your favorite e-reader.

Project description

PageStack

Create an EPUB from a list of URLs so you can read web content offline on your favorite e-reader. I built it to bundle my favorite engineering blogs into books I can load on my Kindle.

Setup

Install as a package

pip install pagestack

Run from source

  1. Clone the repository and navigate into it.
  2. Install the dependencies:
pip install -r requirements.txt

Usage

  1. Create a text file, for example urls.txt, and add one URL per line.
  2. Run the script (if installed):
pagestack examples/urls.txt uber-schemaless.epub \
    --title "Uber Schemaless - Blogs" \
    --author "Uber Engineering"

If you do not pass any parameter and just run by passing urls.txt, the script assumes sane defaults and generates an epub file.

  1. If you have installed it from source, then you can run the following
python src/pagestack/main.py examples/urls.txt uber-schemaless.epub \
    --title "Uber Schemaless - Blogs" \
    --author "Uber Engineering"

Publishing on PyPi

pip install twine
twine upload dist/*

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pagestack-0.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pagestack-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file pagestack-0.1.0.tar.gz.

File metadata

  • Download URL: pagestack-0.1.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pagestack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 34830616b87d600ed3109d6ab9f46ad238d3f44a5b1acd671a0402b6249de34c
MD5 fcd0995d73fca54ab387644042601e00
BLAKE2b-256 a04e70bf9d1b2ef0cfcbcbefe5a84cd0279b8b119f6b61dd61566cc13fee3e72

See more details on using hashes here.

File details

Details for the file pagestack-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pagestack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pagestack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a66c09d89280514cbcff651ef7676f8dae1e5f8d596c813d30929574f1aeb22f
MD5 ab30931c89765f0b5ec224eb2d139637
BLAKE2b-256 48ba96f6e8f93b3b1aec4031bbbc156aa5b9fd1a6aeb66d9db833c47bf794609

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page