edwh-editorjs 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- edwh_editorjs-1.0.0/.github/workflows/build_documentation.yml +36 -0
- edwh_editorjs-1.0.0/.github/workflows/publish_to_pypi.yml +40 -0
- edwh_editorjs-1.0.0/.github/workflows/pytest.yml +30 -0
- edwh_editorjs-1.0.0/.gitignore +17 -0
- edwh_editorjs-1.0.0/LICENSE +21 -0
- edwh_editorjs-1.0.0/PKG-INFO +92 -0
- edwh_editorjs-1.0.0/README.md +67 -0
- edwh_editorjs-1.0.0/htmlcov/.gitignore +2 -0
- edwh_editorjs-1.0.0/htmlcov/class_index.html +259 -0
- edwh_editorjs-1.0.0/htmlcov/favicon_32_cb_58284776.png +0 -0
- edwh_editorjs-1.0.0/htmlcov/function_index.html +395 -0
- edwh_editorjs-1.0.0/htmlcov/index.html +132 -0
- edwh_editorjs-1.0.0/htmlcov/keybd_closed_cb_ce680311.png +0 -0
- edwh_editorjs-1.0.0/htmlcov/status.json +1 -0
- edwh_editorjs-1.0.0/htmlcov/style_cb_8e611ae1.css +337 -0
- edwh_editorjs-1.0.0/htmlcov/z_a93c8aeb4b8fa1f9___init___py.html +125 -0
- edwh_editorjs-1.0.0/htmlcov/z_a93c8aeb4b8fa1f9_blocks_py.html +406 -0
- edwh_editorjs-1.0.0/htmlcov/z_a93c8aeb4b8fa1f9_exceptions_py.html +116 -0
- edwh_editorjs-1.0.0/htmlcov/z_a93c8aeb4b8fa1f9_parser_py.html +172 -0
- edwh_editorjs-1.0.0/pyeditorjs/__about__.py +1 -0
- edwh_editorjs-1.0.0/pyeditorjs/__init__.py +28 -0
- edwh_editorjs-1.0.0/pyeditorjs/blocks.py +309 -0
- edwh_editorjs-1.0.0/pyeditorjs/exceptions.py +19 -0
- edwh_editorjs-1.0.0/pyeditorjs/parser.py +75 -0
- edwh_editorjs-1.0.0/pyproject.toml +64 -0
- edwh_editorjs-1.0.0/requirements.txt +0 -0
- edwh_editorjs-1.0.0/scripts/build_documentation.sh +4 -0
- edwh_editorjs-1.0.0/scripts/compile_everything.sh +4 -0
- edwh_editorjs-1.0.0/scripts/compile_for_pypi.sh +4 -0
- edwh_editorjs-1.0.0/tests/test_parser.py +42 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Build documentation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
python-version: ['3.10']
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v2
|
|
17
|
+
|
|
18
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
19
|
+
uses: actions/setup-python@v2
|
|
20
|
+
with:
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: |
|
|
25
|
+
python -m pip install --upgrade pip
|
|
26
|
+
pip install pdoc
|
|
27
|
+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
28
|
+
- name: Build docs
|
|
29
|
+
run: |
|
|
30
|
+
chmod +x ./scripts/build_documentation.sh
|
|
31
|
+
bash ./scripts/build_documentation.sh
|
|
32
|
+
- name: Deploy
|
|
33
|
+
uses: JamesIves/github-pages-deploy-action@4.1.4
|
|
34
|
+
with:
|
|
35
|
+
branch: documentation
|
|
36
|
+
folder: ./documentation
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Upload Python Package to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
deploy:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
python-version: ['3.10']
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
|
|
17
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
18
|
+
uses: actions/setup-python@v2
|
|
19
|
+
with:
|
|
20
|
+
python-version: ${{ matrix.python-version }}
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip
|
|
25
|
+
python -m pip install pytest
|
|
26
|
+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
27
|
+
|
|
28
|
+
- name: Test with pyTest
|
|
29
|
+
run: |
|
|
30
|
+
python -m pytest -v
|
|
31
|
+
|
|
32
|
+
- name: Build package
|
|
33
|
+
run: |
|
|
34
|
+
bash ./scripts/compile_for_pypi.sh
|
|
35
|
+
|
|
36
|
+
- name: Publish package
|
|
37
|
+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
|
|
38
|
+
with:
|
|
39
|
+
user: __token__
|
|
40
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Test with pyTest
|
|
2
|
+
|
|
3
|
+
on: [workflow_dispatch, push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
deploy:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
strategy:
|
|
9
|
+
matrix:
|
|
10
|
+
python-version: ['3.10']
|
|
11
|
+
fail-fast: false
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v2
|
|
15
|
+
|
|
16
|
+
- name: Set up Python
|
|
17
|
+
uses: actions/setup-python@v2
|
|
18
|
+
with:
|
|
19
|
+
python-version: ${{ matrix.python-version }}
|
|
20
|
+
cache: 'pip'
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip
|
|
25
|
+
python -m pip install pytest
|
|
26
|
+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
27
|
+
|
|
28
|
+
- name: Test with pyTest
|
|
29
|
+
run: |
|
|
30
|
+
python -m pytest -v
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 SKevo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: edwh-editorjs
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: pyEditorJS
|
|
5
|
+
Project-URL: Homepage, https://github.com/educationwarehouse/edwh-EditorJS
|
|
6
|
+
Author-email: SKevo <skevo.cw@gmail.com>, Robin van der Noord <robin.vdn@educationwarehouse.nl>
|
|
7
|
+
License: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Keywords: bleach,clean,editor,editor.js,html,javascript,json,parser,wysiwyg
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: bleach
|
|
19
|
+
Provides-Extra: dev
|
|
20
|
+
Requires-Dist: edwh; extra == 'dev'
|
|
21
|
+
Requires-Dist: hatch; extra == 'dev'
|
|
22
|
+
Requires-Dist: su6[all]; extra == 'dev'
|
|
23
|
+
Requires-Dist: types-bleach; extra == 'dev'
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
# pyEditorJS
|
|
27
|
+
|
|
28
|
+
A minimal, fast, Python 3.6+ package for parsing [Editor.js](https://editorjs.io) content.
|
|
29
|
+
|
|
30
|
+
## Features
|
|
31
|
+
|
|
32
|
+
- Handles all out-of-the-box Editor.js elements;
|
|
33
|
+
- Optional sanitization via the `bleach` library;
|
|
34
|
+
- Checks whether the data is valid (e. g.: a header can't have more than 6 levels), and raises `EditorJsParseError` if data is malformed;
|
|
35
|
+
- Uses Editor.js's class names for styles, so the output will be consistent with WYSIWYG (see [Editor.js's example style](https://github.com/codex-team/editor.js/blob/8ae8823dcd6877d63241fcb94694a8a18744485d/example/assets/demo.css) and [styles documentation](https://editorjs.io/styles))
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install pyeditorjs
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Optional:** install [bleach](https://pypi.org/project/bleach) for clean HTML:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install bleach
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Usage
|
|
50
|
+
|
|
51
|
+
### Quickstart
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
from pyeditorjs import EditorJsParser
|
|
55
|
+
|
|
56
|
+
editor_js_data = ... # your Editor.js JSON data
|
|
57
|
+
parser = EditorJsParser(editor_js_data) # initialize the parser
|
|
58
|
+
|
|
59
|
+
html = parser.html(sanitize=True) # `sanitize=True` requires `bleach` to be installed
|
|
60
|
+
print(html) # your clean HTML
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Obtain texts only (for creating audio-only version, for example)
|
|
64
|
+
|
|
65
|
+
> **WARNING:** This does not sanitize the texts! Please, call `bleach.clean(...)` directly. This also doesn't obtain text from bold texts, markers, etc... - you should use [BeautifulSoup](https://pypi.org/project/beautifulsoup4/) for this.
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
#import bleach
|
|
69
|
+
from pyeditorjs import EditorJsParser
|
|
70
|
+
|
|
71
|
+
editor_js_data = ... # your Editor.js JSON data
|
|
72
|
+
parser = EditorJsParser(editor_js_data) # initialize the parser
|
|
73
|
+
|
|
74
|
+
all_texts = []
|
|
75
|
+
|
|
76
|
+
for block in parser:
|
|
77
|
+
text = getattr(block, 'text', None)
|
|
78
|
+
|
|
79
|
+
if text:
|
|
80
|
+
all_texts.append(text) # all_texts.append(bleach.clean(text))
|
|
81
|
+
|
|
82
|
+
print(all_texts)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Disclaimer
|
|
86
|
+
|
|
87
|
+
This is a community-provided project, and is not affiliated with the Editor.js team.
|
|
88
|
+
It was created in my spare time. I cannot make sure that it will receive consistent updates.
|
|
89
|
+
|
|
90
|
+
Because of this, PRs, bug reports and suggestions are welcome!
|
|
91
|
+
|
|
92
|
+
<a href="https://www.buymeacoffee.com/skevo"><img src="https://img.buymeacoffee.com/button-api/?text=Support me&emoji=🐣&slug=skevo&button_colour=ffa200&font_colour=000000&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" /></a>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# pyEditorJS
|
|
2
|
+
|
|
3
|
+
A minimal, fast, Python 3.6+ package for parsing [Editor.js](https://editorjs.io) content.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Handles all out-of-the-box Editor.js elements;
|
|
8
|
+
- Optional sanitization via the `bleach` library;
|
|
9
|
+
- Checks whether the data is valid (e. g.: a header can't have more than 6 levels), and raises `EditorJsParseError` if data is malformed;
|
|
10
|
+
- Uses Editor.js's class names for styles, so the output will be consistent with WYSIWYG (see [Editor.js's example style](https://github.com/codex-team/editor.js/blob/8ae8823dcd6877d63241fcb94694a8a18744485d/example/assets/demo.css) and [styles documentation](https://editorjs.io/styles))
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install pyeditorjs
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Optional:** install [bleach](https://pypi.org/project/bleach) for clean HTML:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install bleach
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
### Quickstart
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
from pyeditorjs import EditorJsParser
|
|
30
|
+
|
|
31
|
+
editor_js_data = ... # your Editor.js JSON data
|
|
32
|
+
parser = EditorJsParser(editor_js_data) # initialize the parser
|
|
33
|
+
|
|
34
|
+
html = parser.html(sanitize=True) # `sanitize=True` requires `bleach` to be installed
|
|
35
|
+
print(html) # your clean HTML
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Obtain texts only (for creating audio-only version, for example)
|
|
39
|
+
|
|
40
|
+
> **WARNING:** This does not sanitize the texts! Please, call `bleach.clean(...)` directly. This also doesn't obtain text from bold texts, markers, etc... - you should use [BeautifulSoup](https://pypi.org/project/beautifulsoup4/) for this.
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
#import bleach
|
|
44
|
+
from pyeditorjs import EditorJsParser
|
|
45
|
+
|
|
46
|
+
editor_js_data = ... # your Editor.js JSON data
|
|
47
|
+
parser = EditorJsParser(editor_js_data) # initialize the parser
|
|
48
|
+
|
|
49
|
+
all_texts = []
|
|
50
|
+
|
|
51
|
+
for block in parser:
|
|
52
|
+
text = getattr(block, 'text', None)
|
|
53
|
+
|
|
54
|
+
if text:
|
|
55
|
+
all_texts.append(text) # all_texts.append(bleach.clean(text))
|
|
56
|
+
|
|
57
|
+
print(all_texts)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Disclaimer
|
|
61
|
+
|
|
62
|
+
This is a community-provided project, and is not affiliated with the Editor.js team.
|
|
63
|
+
It was created in my spare time. I cannot make sure that it will receive consistent updates.
|
|
64
|
+
|
|
65
|
+
Because of this, PRs, bug reports and suggestions are welcome!
|
|
66
|
+
|
|
67
|
+
<a href="https://www.buymeacoffee.com/skevo"><img src="https://img.buymeacoffee.com/button-api/?text=Support me&emoji=🐣&slug=skevo&button_colour=ffa200&font_colour=000000&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" /></a>
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
5
|
+
<title>Coverage report</title>
|
|
6
|
+
<link rel="icon" sizes="32x32" href="favicon_32_cb_58284776.png">
|
|
7
|
+
<link rel="stylesheet" href="style_cb_8e611ae1.css" type="text/css">
|
|
8
|
+
<script src="coverage_html_cb_6fb7b396.js" defer></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body class="indexfile">
|
|
11
|
+
<header>
|
|
12
|
+
<div class="content">
|
|
13
|
+
<h1>Coverage report:
|
|
14
|
+
<span class="pc_cov">76%</span>
|
|
15
|
+
</h1>
|
|
16
|
+
<aside id="help_panel_wrapper">
|
|
17
|
+
<input id="help_panel_state" type="checkbox">
|
|
18
|
+
<label for="help_panel_state">
|
|
19
|
+
<img id="keyboard_icon" src="keybd_closed_cb_ce680311.png" alt="Show/hide keyboard shortcuts">
|
|
20
|
+
</label>
|
|
21
|
+
<div id="help_panel">
|
|
22
|
+
<p class="legend">Shortcuts on this page</p>
|
|
23
|
+
<div class="keyhelp">
|
|
24
|
+
<p>
|
|
25
|
+
<kbd>f</kbd>
|
|
26
|
+
<kbd>n</kbd>
|
|
27
|
+
<kbd>s</kbd>
|
|
28
|
+
<kbd>m</kbd>
|
|
29
|
+
<kbd>x</kbd>
|
|
30
|
+
<kbd>c</kbd>
|
|
31
|
+
change column sorting
|
|
32
|
+
</p>
|
|
33
|
+
<p>
|
|
34
|
+
<kbd>[</kbd>
|
|
35
|
+
<kbd>]</kbd>
|
|
36
|
+
prev/next file
|
|
37
|
+
</p>
|
|
38
|
+
<p>
|
|
39
|
+
<kbd>?</kbd> show/hide this help
|
|
40
|
+
</p>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</aside>
|
|
44
|
+
<form id="filter_container">
|
|
45
|
+
<input id="filter" type="text" value="" placeholder="filter...">
|
|
46
|
+
<div>
|
|
47
|
+
<input id="hide100" type="checkbox" >
|
|
48
|
+
<label for="hide100">hide covered</label>
|
|
49
|
+
</div>
|
|
50
|
+
</form>
|
|
51
|
+
<h2>
|
|
52
|
+
<a class="button" href="index.html">Files</a>
|
|
53
|
+
<a class="button" href="function_index.html">Functions</a>
|
|
54
|
+
<a class="button current">Classes</a>
|
|
55
|
+
</h2>
|
|
56
|
+
<p class="text">
|
|
57
|
+
<a class="nav" href="https://coverage.readthedocs.io/en/7.6.4">coverage.py v7.6.4</a>,
|
|
58
|
+
created at 2024-10-31 13:29 +0100
|
|
59
|
+
</p>
|
|
60
|
+
</div>
|
|
61
|
+
</header>
|
|
62
|
+
<main id="index">
|
|
63
|
+
<table class="index" data-sortable>
|
|
64
|
+
<thead>
|
|
65
|
+
<tr class="tablehead" title="Click to sort">
|
|
66
|
+
<th id="file" class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
|
|
67
|
+
<th id="region" class="name left" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">class<span class="arrows"></span></th>
|
|
68
|
+
<th id="statements" aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
|
|
69
|
+
<th id="missing" aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
|
|
70
|
+
<th id="excluded" aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
|
|
71
|
+
<th id="coverage" class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
|
|
72
|
+
</tr>
|
|
73
|
+
</thead>
|
|
74
|
+
<tbody>
|
|
75
|
+
<tr class="region">
|
|
76
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9___init___py.html">pyeditorjs/__init__.py</a></td>
|
|
77
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9___init___py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
|
|
78
|
+
<td>14</td>
|
|
79
|
+
<td>3</td>
|
|
80
|
+
<td>0</td>
|
|
81
|
+
<td class="right" data-ratio="11 14">79%</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr class="region">
|
|
84
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t42">pyeditorjs/blocks.py</a></td>
|
|
85
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t42"><data value='EditorJsBlock'>EditorJsBlock</data></a></td>
|
|
86
|
+
<td>4</td>
|
|
87
|
+
<td>3</td>
|
|
88
|
+
<td>0</td>
|
|
89
|
+
<td class="right" data-ratio="1 4">25%</td>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr class="region">
|
|
92
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t87">pyeditorjs/blocks.py</a></td>
|
|
93
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t87"><data value='HeaderBlock'>HeaderBlock</data></a></td>
|
|
94
|
+
<td>9</td>
|
|
95
|
+
<td>1</td>
|
|
96
|
+
<td>0</td>
|
|
97
|
+
<td class="right" data-ratio="8 9">89%</td>
|
|
98
|
+
</tr>
|
|
99
|
+
<tr class="region">
|
|
100
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t120">pyeditorjs/blocks.py</a></td>
|
|
101
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t120"><data value='ParagraphBlock'>ParagraphBlock</data></a></td>
|
|
102
|
+
<td>2</td>
|
|
103
|
+
<td>0</td>
|
|
104
|
+
<td>0</td>
|
|
105
|
+
<td class="right" data-ratio="2 2">100%</td>
|
|
106
|
+
</tr>
|
|
107
|
+
<tr class="region">
|
|
108
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t134">pyeditorjs/blocks.py</a></td>
|
|
109
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t134"><data value='ListBlock'>ListBlock</data></a></td>
|
|
110
|
+
<td>8</td>
|
|
111
|
+
<td>1</td>
|
|
112
|
+
<td>0</td>
|
|
113
|
+
<td class="right" data-ratio="7 8">88%</td>
|
|
114
|
+
</tr>
|
|
115
|
+
<tr class="region">
|
|
116
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t168">pyeditorjs/blocks.py</a></td>
|
|
117
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t168"><data value='DelimiterBlock'>DelimiterBlock</data></a></td>
|
|
118
|
+
<td>1</td>
|
|
119
|
+
<td>0</td>
|
|
120
|
+
<td>0</td>
|
|
121
|
+
<td class="right" data-ratio="1 1">100%</td>
|
|
122
|
+
</tr>
|
|
123
|
+
<tr class="region">
|
|
124
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t174">pyeditorjs/blocks.py</a></td>
|
|
125
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t174"><data value='ImageBlock'>ImageBlock</data></a></td>
|
|
126
|
+
<td>10</td>
|
|
127
|
+
<td>1</td>
|
|
128
|
+
<td>0</td>
|
|
129
|
+
<td class="right" data-ratio="9 10">90%</td>
|
|
130
|
+
</tr>
|
|
131
|
+
<tr class="region">
|
|
132
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t236">pyeditorjs/blocks.py</a></td>
|
|
133
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t236"><data value='QuoteBlock'>QuoteBlock</data></a></td>
|
|
134
|
+
<td>7</td>
|
|
135
|
+
<td>7</td>
|
|
136
|
+
<td>0</td>
|
|
137
|
+
<td class="right" data-ratio="0 7">0%</td>
|
|
138
|
+
</tr>
|
|
139
|
+
<tr class="region">
|
|
140
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t253">pyeditorjs/blocks.py</a></td>
|
|
141
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t253"><data value='TableBlock'>TableBlock</data></a></td>
|
|
142
|
+
<td>11</td>
|
|
143
|
+
<td>11</td>
|
|
144
|
+
<td>0</td>
|
|
145
|
+
<td class="right" data-ratio="0 11">0%</td>
|
|
146
|
+
</tr>
|
|
147
|
+
<tr class="region">
|
|
148
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t275">pyeditorjs/blocks.py</a></td>
|
|
149
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t275"><data value='CodeBlock'>CodeBlock</data></a></td>
|
|
150
|
+
<td>4</td>
|
|
151
|
+
<td>4</td>
|
|
152
|
+
<td>0</td>
|
|
153
|
+
<td class="right" data-ratio="0 4">0%</td>
|
|
154
|
+
</tr>
|
|
155
|
+
<tr class="region">
|
|
156
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t286">pyeditorjs/blocks.py</a></td>
|
|
157
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t286"><data value='WarningBlock'>WarningBlock</data></a></td>
|
|
158
|
+
<td>6</td>
|
|
159
|
+
<td>6</td>
|
|
160
|
+
<td>0</td>
|
|
161
|
+
<td class="right" data-ratio="0 6">0%</td>
|
|
162
|
+
</tr>
|
|
163
|
+
<tr class="region">
|
|
164
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t304">pyeditorjs/blocks.py</a></td>
|
|
165
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html#t304"><data value='RawBlock'>RawBlock</data></a></td>
|
|
166
|
+
<td>4</td>
|
|
167
|
+
<td>4</td>
|
|
168
|
+
<td>0</td>
|
|
169
|
+
<td class="right" data-ratio="0 4">0%</td>
|
|
170
|
+
</tr>
|
|
171
|
+
<tr class="region">
|
|
172
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html">pyeditorjs/blocks.py</a></td>
|
|
173
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_blocks_py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
|
|
174
|
+
<td>80</td>
|
|
175
|
+
<td>0</td>
|
|
176
|
+
<td>0</td>
|
|
177
|
+
<td class="right" data-ratio="80 80">100%</td>
|
|
178
|
+
</tr>
|
|
179
|
+
<tr class="region">
|
|
180
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html#t8">pyeditorjs/exceptions.py</a></td>
|
|
181
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html#t8"><data value='EditorJsException'>EditorJsException</data></a></td>
|
|
182
|
+
<td>0</td>
|
|
183
|
+
<td>0</td>
|
|
184
|
+
<td>0</td>
|
|
185
|
+
<td class="right" data-ratio="0 0">100%</td>
|
|
186
|
+
</tr>
|
|
187
|
+
<tr class="region">
|
|
188
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html#t14">pyeditorjs/exceptions.py</a></td>
|
|
189
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html#t14"><data value='EditorJsParseError'>EditorJsParseError</data></a></td>
|
|
190
|
+
<td>0</td>
|
|
191
|
+
<td>0</td>
|
|
192
|
+
<td>0</td>
|
|
193
|
+
<td class="right" data-ratio="0 0">100%</td>
|
|
194
|
+
</tr>
|
|
195
|
+
<tr class="region">
|
|
196
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html#t18">pyeditorjs/exceptions.py</a></td>
|
|
197
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html#t18"><data value='EditorJSUnsupportedBlock'>EditorJSUnsupportedBlock</data></a></td>
|
|
198
|
+
<td>0</td>
|
|
199
|
+
<td>0</td>
|
|
200
|
+
<td>0</td>
|
|
201
|
+
<td class="right" data-ratio="0 0">100%</td>
|
|
202
|
+
</tr>
|
|
203
|
+
<tr class="region">
|
|
204
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html">pyeditorjs/exceptions.py</a></td>
|
|
205
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_exceptions_py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
|
|
206
|
+
<td>4</td>
|
|
207
|
+
<td>0</td>
|
|
208
|
+
<td>0</td>
|
|
209
|
+
<td class="right" data-ratio="4 4">100%</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr class="region">
|
|
212
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_parser_py.html#t10">pyeditorjs/parser.py</a></td>
|
|
213
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_parser_py.html#t10"><data value='EditorJsParser'>EditorJsParser</data></a></td>
|
|
214
|
+
<td>19</td>
|
|
215
|
+
<td>6</td>
|
|
216
|
+
<td>0</td>
|
|
217
|
+
<td class="right" data-ratio="13 19">68%</td>
|
|
218
|
+
</tr>
|
|
219
|
+
<tr class="region">
|
|
220
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_parser_py.html">pyeditorjs/parser.py</a></td>
|
|
221
|
+
<td class="name left"><a href="z_a93c8aeb4b8fa1f9_parser_py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
|
|
222
|
+
<td>15</td>
|
|
223
|
+
<td>0</td>
|
|
224
|
+
<td>0</td>
|
|
225
|
+
<td class="right" data-ratio="15 15">100%</td>
|
|
226
|
+
</tr>
|
|
227
|
+
</tbody>
|
|
228
|
+
<tfoot>
|
|
229
|
+
<tr class="total">
|
|
230
|
+
<td class="name left">Total</td>
|
|
231
|
+
<td class="name left"> </td>
|
|
232
|
+
<td>198</td>
|
|
233
|
+
<td>47</td>
|
|
234
|
+
<td>0</td>
|
|
235
|
+
<td class="right" data-ratio="151 198">76%</td>
|
|
236
|
+
</tr>
|
|
237
|
+
</tfoot>
|
|
238
|
+
</table>
|
|
239
|
+
<p id="no_rows">
|
|
240
|
+
No items found using the specified filter.
|
|
241
|
+
</p>
|
|
242
|
+
</main>
|
|
243
|
+
<footer>
|
|
244
|
+
<div class="content">
|
|
245
|
+
<p>
|
|
246
|
+
<a class="nav" href="https://coverage.readthedocs.io/en/7.6.4">coverage.py v7.6.4</a>,
|
|
247
|
+
created at 2024-10-31 13:29 +0100
|
|
248
|
+
</p>
|
|
249
|
+
</div>
|
|
250
|
+
<aside class="hidden">
|
|
251
|
+
<a id="prevFileLink" class="nav" href=""></a>
|
|
252
|
+
<a id="nextFileLink" class="nav" href=""></a>
|
|
253
|
+
<button type="button" class="button_prev_file" data-shortcut="["></button>
|
|
254
|
+
<button type="button" class="button_next_file" data-shortcut="]"></button>
|
|
255
|
+
<button type="button" class="button_show_hide_help" data-shortcut="?"></button>
|
|
256
|
+
</aside>
|
|
257
|
+
</footer>
|
|
258
|
+
</body>
|
|
259
|
+
</html>
|
|
Binary file
|