File: toplevel.rst

package info (click to toggle)
python-term-image 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: python: 8,300; makefile: 75
file content (62 lines) | stat: -rw-r--r-- 1,405 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Top-Level Definitions
=====================

.. module:: term_image

Constants
---------

.. autodata:: DEFAULT_QUERY_TIMEOUT


Enumerations
------------

.. autoclass:: AutoCellRatio

   .. autoattribute:: is_supported

      Auto cell ratio support status. Can be
      
      - ``None`` -> support status not yet determined
      - ``True`` -> supported
      - ``False`` -> not supported
      
      Can be explicitly set when using auto cell ratio but want to avoid the support
      check in a situation where the support status is foreknown. Can help to avoid
      being wrongly detected as unsupported on a :ref:`queried <terminal-queries>`
      terminal that doesn't respond on time.
      
      For instance, when using multiprocessing, if the support status has been
      determined in the main process, this value can simply be passed on to and set
      within the child processes.

   .. autoattribute:: FIXED
      :annotation:

   .. autoattribute:: DYNAMIC
      :annotation:

   See :py:func:`set_cell_ratio`.


Functions
---------

.. automodulesumm:: term_image
   :autosummary-sections: Functions
   :autosummary-no-titles:

.. autofunction:: disable_queries

.. autofunction:: disable_win_size_swap

.. autofunction:: enable_queries

.. autofunction:: enable_win_size_swap

.. autofunction:: get_cell_ratio

.. autofunction:: set_cell_ratio

.. autofunction:: set_query_timeout