mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 07:57:23 +08:00
123 lines
3.6 KiB
XML
123 lines
3.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY requests-download-http "https://github.com/psf/requests/releases/download/v&requests-version;/requests-&requests-version;.tar.gz">
|
|
<!ENTITY requests-download-ftp " ">
|
|
<!ENTITY requests-md5sum "796ea875cdae283529c03b9203d9c454">
|
|
<!ENTITY requests-size "107 KB">
|
|
<!ENTITY requests-buildsize "2.6 MB">
|
|
<!ENTITY requests-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect2 id="requests" xreflabel="requests-&requests-version;">
|
|
|
|
<title>Requests-&requests-version;</title>
|
|
|
|
<indexterm zone="requests">
|
|
<primary sortas="a-requests">requests</primary>
|
|
</indexterm>
|
|
|
|
<sect3 role="package">
|
|
<title>Introduction to Requests Module</title>
|
|
|
|
<para>
|
|
The <application>Requests</application> package is an elegant and
|
|
simple HTTP library for Python, built for human beings. It allows
|
|
sending HTTP/1.1 requests extremely easily.
|
|
</para>
|
|
|
|
&lfs112_checked;
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&requests-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&requests-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &requests-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &requests-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &requests-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &requests-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">Requests Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="certifi"/>,
|
|
<xref linkend="charset-normalizer"/>,
|
|
<xref linkend="idna"/>, and
|
|
<xref linkend="urllib3"/>
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
<sect3 role="installation">
|
|
<title>Installation of Requests</title>
|
|
|
|
<para> Build the module: </para>
|
|
|
|
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user requests</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
|
|
|
<sect3 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>None</seg>
|
|
<seg>
|
|
/usr/lib/python&python3-majorver;/site-packages/requests and
|
|
/usr/lib/python&python3-majorver;/site-packages/requests-&requests-version;.dist-info
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|