File: words.rst

package info (click to toggle)
domdf-python-tools 3.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,784 kB
  • sloc: python: 10,838; makefile: 7
file content (128 lines) | stat: -rw-r--r-- 3,052 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
=================================
:mod:`~domdf_python_tools.words`
=================================

.. automodule:: domdf_python_tools.words
	:no-members:

Constants
------------

.. automodulesumm:: domdf_python_tools.words
	:autosummary-members: CR,LF,TAB,ascii_digits,greek_uppercase,greek_lowercase

.. raw:: latex

	\begin{multicols}{2}

.. autovariable:: domdf_python_tools.words.CR
.. autovariable:: domdf_python_tools.words.LF
.. autovariable:: domdf_python_tools.words.TAB

.. autovariable:: domdf_python_tools.words.ascii_digits
	:no-value:

.. autovariable:: domdf_python_tools.words.greek_uppercase
	:no-value:

.. autovariable:: domdf_python_tools.words.greek_lowercase
	:no-value:

.. raw:: latex

	\end{multicols}


Fonts
------

.. autosummary-widths:: 13/32

.. automodulesumm:: domdf_python_tools.words
	:autosummary-members: make_font,Font,SERIF_BOLD_LETTERS,SERIF_ITALIC_LETTERS,SERIF_BOLD_ITALIC_LETTERS,SANS_SERIF_LETTERS,SANS_SERIF_BOLD_LETTERS,SANS_SERIF_ITALIC_LETTERS,SANS_SERIF_BOLD_ITALIC_LETTERS,SCRIPT_LETTERS,FRAKTUR_LETTERS,MONOSPACE_LETTERS,DOUBLESTRUCK_LETTERS

.. autofunction:: domdf_python_tools.words.make_font

.. autoclass:: domdf_python_tools.words.Font
	:special-members:

.. raw:: latex

	\begin{multicols}{2}

.. autovariable:: domdf_python_tools.words.SERIF_BOLD_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SERIF_ITALIC_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SERIF_BOLD_ITALIC_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SANS_SERIF_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SANS_SERIF_BOLD_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SANS_SERIF_ITALIC_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SANS_SERIF_BOLD_ITALIC_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.SCRIPT_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.FRAKTUR_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.MONOSPACE_LETTERS
	:no-value:
	:no-type:

.. autovariable:: domdf_python_tools.words.DOUBLESTRUCK_LETTERS
	:no-value:
	:no-type:

.. raw:: latex

	\end{multicols}


Functions
-------------

.. autosummary-widths:: 8/16

.. automodulesumm:: domdf_python_tools.words
	:autosummary-members: alpha_sort,get_words_list,get_random_word,as_text,word_join

.. autofunction:: domdf_python_tools.words.alpha_sort
.. autofunction:: domdf_python_tools.words.as_text
.. autofunction:: domdf_python_tools.words.get_words_list
.. autofunction:: domdf_python_tools.words.get_random_word
.. autofunction:: domdf_python_tools.words.word_join
.. latex:clearpage::
.. autofunction:: domdf_python_tools.words.truncate_string


Classes
-------------

.. autosummary-widths:: 8/16

.. automodulesumm:: domdf_python_tools.words
	:autosummary-members: Plural,PluralPhrase

.. autoclass:: domdf_python_tools.words.Plural
.. autonamedtuple:: domdf_python_tools.words.PluralPhrase