mediumbackup - A Backup Utility for Medium
Saves all your Medium stories locally as html or markdown files.
Installation
pip install mediumbackup
Usage
As a script from the command line
python -m mediumbackup "<your username>"
As a module
import mediumbackup as mb
username = "<your username>"
mb.backup_stories(username)
Options
Specify a folder.
python -m mediumbackup "<username>" --backup_dir "backup 2020-11-01"
Save as markdown.
python -m mediumbackup "<username>" --format "md"
Download images.
python -m mediumbackup "<username>" --format -i
Download images to a different folder than the stories.
python -m mediumbackup "<username>" --backup_dir "posts" --download_images --images_dir "assets/images"
Include a front matter for jekyll.
python -m mediumbackup "<username>" --format "md" --jekyll_front_matter
Tests
To run the tests, execute:
python -m tests
Metadata
Release files for mediumbackup 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mediumbackup-1.1.2.tar.gz | 6.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mediumbackup-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / mediumbackup-1.1.2.tar.gz
| Download URL | mediumbackup-1.1.2.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4001b8783a9ab4b827e1f562d1bccf326199369eb3694cfdae646f2a3bf7a47
|
|
BLAKE2b-256 checksum How to use checksums |
902572590668f732c197ed71003d95350d2c6b30fcc72eb8825d75564b5b5d6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / mediumbackup-1.1.2-py3-none-any.whl
| Download URL | mediumbackup-1.1.2-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0df65a859637716072ff5fb40dbaeca391cf6921c9098c067972806f010766e3
|
|
BLAKE2b-256 checksum How to use checksums |
1da34cd5a840970c0195befd28d2cd2aac6ef5f254ffb99757a9b61d8d201f2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for mediumbackup 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.