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
- Clone the repository and navigate into it.
- Install the dependencies:
pip install -r requirements.txt
Usage
- Create a text file, for example
urls.txt, and add one URL per line. - 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.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34830616b87d600ed3109d6ab9f46ad238d3f44a5b1acd671a0402b6249de34c
|
|
| MD5 |
fcd0995d73fca54ab387644042601e00
|
|
| BLAKE2b-256 |
a04e70bf9d1b2ef0cfcbcbefe5a84cd0279b8b119f6b61dd61566cc13fee3e72
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a66c09d89280514cbcff651ef7676f8dae1e5f8d596c813d30929574f1aeb22f
|
|
| MD5 |
ab30931c89765f0b5ec224eb2d139637
|
|
| BLAKE2b-256 |
48ba96f6e8f93b3b1aec4031bbbc156aa5b9fd1a6aeb66d9db833c47bf794609
|