https://github.com/u8slvn/bionic-writer
Write Bionic Reading text with Python.
https://github.com/u8slvn/bionic-writer
bionic bionic-reading bionicreading highlighted python reading text
Last synced: 5 months ago
JSON representation
Write Bionic Reading text with Python.
- Host: GitHub
- URL: https://github.com/u8slvn/bionic-writer
- Owner: u8slvn
- License: mit
- Created: 2024-01-29T09:14:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T19:59:39.000Z (almost 2 years ago)
- Last Synced: 2025-09-07T07:56:03.556Z (5 months ago)
- Topics: bionic, bionic-reading, bionicreading, highlighted, python, reading, text
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Bionic Writer
[](https://pypi.org/project/bionic-writer/)
[](https://pypi.org/project/bionic-writer/)
[](https://github.com/u8slvn/bionic-writer/actions/workflows/ci.yml)
[](https://app.codecov.io/gh/u8slvn/bionic-writer)
[](https://pypi.org/project/bionic-writer/)
**Bio**nic **Wri**ter **i**s **a** **Pyt**hon **lib**rary **t**o **wr**ite **te**xt **wi**th **Bio**nic **Rea**ding **st**yle **f**or **a**ny **ki**nd **o**f **for**mat.
## About Bionic Reading method
From: [bionic-reading.com/](https://bionic-reading.com/br-method/)
> Bionic Reading® revises texts so that the most concise parts of words are highlighted. This guides the eye over the text and the brain remembers previously learned words more quickly. Save precious time. Gain advantages. Learn new things faster.
Does Bionic Reading really speed-up your reading speed? According to this [paper](https://blog.readwise.io/bionic-reading-results/), probably not. Whatsoever it's still a nice screen reading technique that seems to help many people to stay focused during their reading sessions.
## Usage
### Installation
```bash
pip install bionic-writer
```
### Quickstart examples
#### Write a Bionic Reading text in Markdown format:
```python
import bionic_writer
text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
bionic_md = bionic_writer.write(text=text, affix="**", postfix="**")
print(bionic_md)
```
Output:
```text
**Lo**rem **ip**sum **do**lor **s**it **am**et, **conse**ctetur **adipi**scing **el**it.
```
#### Write a Bionic Reading text in HTML format:
```python
import bionic_writer
text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
bionic_html = bionic_writer.write(text=text, affix="", postfix="")
print(bionic_html)
```
Output:
```text
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
```