semvec/pypi-packages huggingface dataset:
docums-print-site-plugin 2.3
Docums plugin that combines all pages into one, allowing for easy export to PDF and standalone HTML.
License: MIT
Requires Python: >=3.6
Keywords: docums plugin print pdf

# docums-print-site-plugin

[Docums](https://khanhduy1407.github.io/docums/) plugin that adds a print page to your site that combines the entire site, allowing for easy export to PDF and standalone HTML. See [demo](https://khanhduy1407.github.io/docums-print-site-plugin/print_page.html).

## Features :star2:

- Support for [docurial](https://github.com/khanhduy1407/docurial) theme, including features like instant loading and dark color themes.
- Support for pagination in PDFs.
- Many options to customize appearance
- Option to add a cover page
- Lightweight, no dependencies.

## Setup

Install the plugin using `pip3`:

```bash
pip3 install docums-print-site-plugin
```

Next, add the following lines to your `docums.yml`:

```yml
plugins:
  - search
  - print-site
```

> ⚠️ Make sure to put `print-site` to the **bottom** of the plugin list. This is because other plugins might alter your site (like the navigation), and you want these changes included in the print page.

> If you have no `plugins` entry in your config file yet, you'll likely also want to add the `search` plugin. Docums enables it by default if there is no `plugins` entry set.

## Usage

- Navigate to `/print_page/` or `print_page.html`
- Export to standalone HTML (see [export to HTML](https://khanhduy1407.github.io/docums-print-site-plugin/how-to/export-HTML.html))
- Export to PDF using your browser using *File > Print > Save as PDF*  (see [export to PDF](https://khanhduy1407.github.io/docums-print-site-plugin/how-to/export-PDF.html))

## Documentation

Available at [khanhduy1407.github.io/docums-print-site-plugin](https://khanhduy1407.github.io/docums-print-site-plugin/).
anki-export 0.1.4
Export your Anki *.apkg to Python. Read Anki *.apkg in Python.
License: MIT
Requires Python: >=3.7
Keywords: anki

# anki-export

![Github Actions](https://github.com/patarapolw/anki-export/actions/workflows/test.yml/badge.svg)
[![PyPI version shields.io](https://img.shields.io/pypi/v/anki-export.svg)](https://pypi.python.org/pypi/anki-export/)
[![PyPI license](https://img.shields.io/pypi/l/anki-export.svg)](https://pypi.python.org/pypi/anki-export/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/anki-export.svg)](https://pypi.python.org/pypi/anki-export/)

Export your Anki \*.apkg to Python. Read Anki \*.apkg in Python.

## Example

```python
from anki_export import ApkgReader
import pyexcel_xlsxwx

with ApkgReader('test.apkg') as apkg:
    pyexcel_xlsxwx.save_data('test.xlsx', apkg.export(), config={'format': None})
```

See real running example at [`/__extras__/blank-install/to-xlsx.py`](/__extras__/blank-install).

## Installation

```commandline
$ pip install anki-export
```

## Why?

- \*.apkg is quite well structured, convincing me to use this format more.
- Allow you to use \*.apkg programmatically in Python.
- Might be less buggy than https://github.com/patarapolw/AnkiTools

## My other projects to create SRS flashcards outside Anki

- [srs-sqlite](https://github.com/patarapolw/srs-sqlite) - A simple SRS app using Markdown/HandsOnTable/SQLite
- [jupyter-flashcards](https://github.com/patarapolw/jupyter-flashcards) - Excel-powered. Editable in Excel. SRS-enabled.
- [gflashcards](https://github.com/patarapolw/gflashcards) - A simple app to make formatted flashcards from Google Sheets. SRS-not-yet-enabled.
- [HanziLevelUp](https://github.com/patarapolw/HanziLevelUp) - A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese. SRS-enabled.