Skip to main content

Parser UTF8/HTML <-> pure HTML -> UTF8/Markdown

Project description

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-theme et myst-parser
  • Compris dans le fichier requirements.txt (voir la section Installation)

Liens :

Licence

GNU AGPL 3

Project details


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page