Coverage for /usr/lib/python3/dist-packages/sympy/printing/__init__.py: 100%

24 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-14 15:55 +0200

1"""Printing subsystem""" 

2 

3from .pretty import pager_print, pretty, pretty_print, pprint, pprint_use_unicode, pprint_try_use_unicode 

4 

5from .latex import latex, print_latex, multiline_latex 

6 

7from .mathml import mathml, print_mathml 

8 

9from .python import python, print_python 

10 

11from .pycode import pycode 

12 

13from .codeprinter import print_ccode, print_fcode 

14 

15from .codeprinter import ccode, fcode, cxxcode # noqa:F811 

16 

17from .smtlib import smtlib_code 

18 

19from .glsl import glsl_code, print_glsl 

20 

21from .rcode import rcode, print_rcode 

22 

23from .jscode import jscode, print_jscode 

24 

25from .julia import julia_code 

26 

27from .mathematica import mathematica_code 

28 

29from .octave import octave_code 

30 

31from .rust import rust_code 

32 

33from .gtk import print_gtk 

34 

35from .preview import preview 

36 

37from .repr import srepr 

38 

39from .tree import print_tree 

40 

41from .str import StrPrinter, sstr, sstrrepr 

42 

43from .tableform import TableForm 

44 

45from .dot import dotprint 

46 

47from .maple import maple_code, print_maple_code 

48 

49__all__ = [ 

50 # sympy.printing.pretty 

51 'pager_print', 'pretty', 'pretty_print', 'pprint', 'pprint_use_unicode', 

52 'pprint_try_use_unicode', 

53 

54 # sympy.printing.latex 

55 'latex', 'print_latex', 'multiline_latex', 

56 

57 # sympy.printing.mathml 

58 'mathml', 'print_mathml', 

59 

60 # sympy.printing.python 

61 'python', 'print_python', 

62 

63 # sympy.printing.pycode 

64 'pycode', 

65 

66 # sympy.printing.codeprinter 

67 'ccode', 'print_ccode', 'cxxcode', 'fcode', 'print_fcode', 

68 

69 # sympy.printing.smtlib 

70 'smtlib_code', 

71 

72 # sympy.printing.glsl 

73 'glsl_code', 'print_glsl', 

74 

75 # sympy.printing.rcode 

76 'rcode', 'print_rcode', 

77 

78 # sympy.printing.jscode 

79 'jscode', 'print_jscode', 

80 

81 # sympy.printing.julia 

82 'julia_code', 

83 

84 # sympy.printing.mathematica 

85 'mathematica_code', 

86 

87 # sympy.printing.octave 

88 'octave_code', 

89 

90 # sympy.printing.rust 

91 'rust_code', 

92 

93 # sympy.printing.gtk 

94 'print_gtk', 

95 

96 # sympy.printing.preview 

97 'preview', 

98 

99 # sympy.printing.repr 

100 'srepr', 

101 

102 # sympy.printing.tree 

103 'print_tree', 

104 

105 # sympy.printing.str 

106 'StrPrinter', 'sstr', 'sstrrepr', 

107 

108 # sympy.printing.tableform 

109 'TableForm', 

110 

111 # sympy.printing.dot 

112 'dotprint', 

113 

114 # sympy.printing.maple 

115 'maple_code', 'print_maple_code', 

116]