403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.142.151.216
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/imunify360/venv/lib/python3.11/site-packages/docutils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/imunify360/venv/lib/python3.11/site-packages/docutils/__pycache__/examples.cpython-311.pyc
�

��hy��B�dZddlmZmZ			d
d�Z			dd�Z		dd	�ZdS)
a1
This module contains practical examples of Docutils client code.

Importing this module from client code is not recommended; its contents are
subject to change in future Docutils releases.  Instead, it is recommended
that you copy and paste the parts you need into your own code, modifying as
necessary.
�)�core�ioN�unicodeT�c�D�|||d�}tj|||d|���}|S)a
    Given an input string, returns a dictionary of HTML document parts.

    Dictionary keys are the names of parts, and values are Unicode strings;
    encoding is up to the client.

    Parameters:

    - `input_string`: A multi-line text string; required.
    - `source_path`: Path to the source file or object.  Optional, but useful
      for diagnostic output (system messages).
    - `destination_path`: Path to the file or object which will receive the
      output; optional.  Used for determining relative paths (stylesheets,
      source links, etc.).
    - `input_encoding`: The encoding of `input_string`.  If it is an encoded
      8-bit string, provide the correct encoding.  If it is a Unicode string,
      use "unicode", the default.
    - `doctitle`: Disable the promotion of a lone top-level section title to
      document title (and subsequent section title to document subtitle
      promotion); enabled by default.
    - `initial_header_level`: The initial level for header elements (e.g. 1
      for "<h1>").
    )�input_encoding�doctitle_xform�initial_header_level�html)�source�source_path�destination_path�writer_name�settings_overrides)r�
publish_parts)�input_stringr
rr�doctitler
�	overrides�partss        �q/builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/docutils/examples.py�
html_partsrsF��4$2�#+�)=�?�?�I�
����)��y�
:�
:�
:�E��L�c�v�t||||||���}|d}|dkr|�|��}|S)aE
    Given an input string, returns an HTML fragment as a string.

    The return value is the contents of the <body> element.

    Parameters (see `html_parts()` for the remainder):

    - `output_encoding`: The desired encoding of the output.  If a Unicode
      string is desired, use the default value of "unicode" .
    )rr
rrrr
�	html_bodyr)r�encode)	rr
rr�output_encodingrr
r�fragments	         rrr5sU��
�!�{�)�%��1�	
3�
3�
3�E�
�[�!�H��)�#�#��?�?�?�3�3���Orc��|r|���}ni}||d<tjdidtj�d|�d|�dtj�dd�d|�d	d�d
d�dd�d
d�dd�dd�dd�dd�d|�dd�dd��\}}|jj|fS)zx
    Return the document tree and publisher, for exploring Docutils internals.

    Parameters: see `html_parts()`.
    r�source_classrr
�destination_class�destinationNr�reader�reader_name�
standalone�parser�parser_name�restructuredtext�writerr�null�settings�
settings_specr�config_section�enable_exit_status�)�copyr�publish_programmaticallyr�StringInput�
NullOutputr(�document)rr
rrrr�output�pubs        r�	internalsr6Ms)����&�+�+�-�-�	�	��	�"0�I����/�	6�	6�	6��^�^�	6�,8�L�	6��K�	6��-�-�	6�6:�T�	6�*�)�		6�
�t�	6�
".��	6��t�
	6�"4�!3�
	6��t�	6�"(��	6���	6�&*�T�	6�?H�i�	6��t�	6�15��	6�K�F�C��:���#�#r)NNrTr)NNrrTr)NNrN)�__doc__�docutilsrrrrr6r.rr�<module>r9s���
����������AE�26�$%�!�!�!�!�H@D�8A�23�����0@D�;?�$�$�$�$�$�$r

Youez - 2016 - github.com/yon3zu
LinuXploit