[a3e69b9b] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY html5lib-download-http "&pymodules-dl;/h/html5lib/html5lib-&html5lib-version;.tar.gz">
|
---|
| 8 | <!ENTITY html5lib-download-ftp " ">
|
---|
| 9 | <!ENTITY html5lib-md5sum "&html5lib-md5sum;">
|
---|
| 10 | <!ENTITY html5lib-size "268 KB">
|
---|
| 11 | <!ENTITY html5lib-buildsize "3.9 MB">
|
---|
| 12 | <!ENTITY html5lib-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin html5lib -->
|
---|
| 16 | <sect2 id="html5lib" xreflabel="html5lib-&html5lib-version;">
|
---|
| 17 |
|
---|
| 18 | <title>html5lib-&html5lib-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="html5lib">
|
---|
| 21 | <primary sortas="a-html5lib">html5lib</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect3 role="package">
|
---|
| 25 | <title>Introduction to html5lib Module</title>
|
---|
| 26 |
|
---|
| 27 | <para>
|
---|
[dff3997d] | 28 | <application>html5lib</application> provides a pure-python library for
|
---|
| 29 | parsing HTML. It is designed to conform to the WHATWG HTML
|
---|
| 30 | specification.
|
---|
[a3e69b9b] | 31 | </para>
|
---|
| 32 |
|
---|
[09ddf35a] | 33 | &lfs122_checked;
|
---|
[a3e69b9b] | 34 |
|
---|
| 35 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&html5lib-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&html5lib-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &html5lib-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &html5lib-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &html5lib-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &html5lib-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">html5lib Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[dff3997d] | 73 | <xref linkend="six"/> and
|
---|
[a3e69b9b] | 74 | <xref linkend="webencodings"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | </sect3>
|
---|
| 78 |
|
---|
| 79 | <sect3 role="installation">
|
---|
| 80 | <title>Installation of html5lib</title>
|
---|
| 81 |
|
---|
| 82 | <para>
|
---|
| 83 | To build the <application>Python 3</application> module, run:
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | &build-wheel;
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | To install the module, issue the following command as the &root; user:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <screen role="root"><userinput>&install-wheel; html5lib</userinput></screen>
|
---|
| 93 |
|
---|
| 94 | </sect3>
|
---|
| 95 |
|
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 97 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 98 |
|
---|
| 99 | <sect3 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
| 108 | <seg>
|
---|
| 109 | None
|
---|
| 110 | </seg>
|
---|
| 111 | <seg>
|
---|
| 112 | None
|
---|
| 113 | </seg>
|
---|
| 114 | <seg>
|
---|
| 115 | /usr/lib/python&python3-majorver;/site-packages/html5lib and
|
---|
| 116 | /usr/lib/python&python3-majorver;/site-packages/html5lib-&html5lib-version;.dist-info
|
---|
| 117 | </seg>
|
---|
| 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
| 120 |
|
---|
| 121 | </sect3>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|