Description
Transformer de l'utf8 en HTML et de l'HTML en Markdown principalement. Utile pour plusieurs projets, donc création d'un repo séparé, qui sera ensuite appelé en tant que sous-module.
Installation
Module bs4 à installer :
$ python -m venv env_module
$ source env_module/bin/activate
$ pip3 install -r requirements.txt
Utilisation
Via pip
$ pip install dktoparserhtml
Comme submodule
$ cd /path/superprojet
$ mkdir -p scripts/external && cd scripts/external
$ git submodule add git@framagit.org:discord-catho/parserhtml.git
$ git submodule update --recursive --init
$ git submodule update --recursive --remote
Documentation
Version en ligne :
http://discord-catho.frama.io/parserhtml
Installation locale
- Il faut les librairies Python :
sphinx,sphinx-rtd-themeetmyst-parser - Compris dans le fichier requirements.txt (voir la section Installation)
Liens :
Licence
GNU AGPL 3
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dktoparserhtml-1.0.1.tar.gz
(6.8 kB
view details)
File details
Details for the file dktoparserhtml-1.0.1.tar.gz.
File metadata
- Download URL: dktoparserhtml-1.0.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e216dc93255ec044e22f6f18f7d9f008bc487ffff752e154faa73c89f0980f0
|
|
| MD5 |
08669100261a039272e6e68c14e3c51b
|
|
| BLAKE2b-256 |
a4d8d7c699e24bde1365b41b0058d8bdb4da9c08ed65974bd35b0e1b0760c0ac
|