passagemath-repl 10.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- passagemath_repl-10.5.1.data/scripts/sage-cachegrind +25 -0
- passagemath_repl-10.5.1.data/scripts/sage-callgrind +16 -0
- passagemath_repl-10.5.1.data/scripts/sage-cleaner +230 -0
- passagemath_repl-10.5.1.data/scripts/sage-coverage +327 -0
- passagemath_repl-10.5.1.data/scripts/sage-eval +14 -0
- passagemath_repl-10.5.1.data/scripts/sage-fixdoctests +710 -0
- passagemath_repl-10.5.1.data/scripts/sage-inline-fortran +12 -0
- passagemath_repl-10.5.1.data/scripts/sage-ipynb2rst +50 -0
- passagemath_repl-10.5.1.data/scripts/sage-ipython +16 -0
- passagemath_repl-10.5.1.data/scripts/sage-massif +25 -0
- passagemath_repl-10.5.1.data/scripts/sage-notebook +267 -0
- passagemath_repl-10.5.1.data/scripts/sage-omega +25 -0
- passagemath_repl-10.5.1.data/scripts/sage-preparse +302 -0
- passagemath_repl-10.5.1.data/scripts/sage-run +27 -0
- passagemath_repl-10.5.1.data/scripts/sage-run-cython +10 -0
- passagemath_repl-10.5.1.data/scripts/sage-runtests +9 -0
- passagemath_repl-10.5.1.data/scripts/sage-startuptime.py +163 -0
- passagemath_repl-10.5.1.data/scripts/sage-valgrind +34 -0
- passagemath_repl-10.5.1.dist-info/METADATA +77 -0
- passagemath_repl-10.5.1.dist-info/RECORD +162 -0
- passagemath_repl-10.5.1.dist-info/WHEEL +5 -0
- passagemath_repl-10.5.1.dist-info/top_level.txt +1 -0
- sage/all__sagemath_repl.py +119 -0
- sage/doctest/__init__.py +4 -0
- sage/doctest/__main__.py +236 -0
- sage/doctest/all.py +4 -0
- sage/doctest/check_tolerance.py +261 -0
- sage/doctest/control.py +1727 -0
- sage/doctest/external.py +534 -0
- sage/doctest/fixtures.py +383 -0
- sage/doctest/forker.py +2665 -0
- sage/doctest/marked_output.py +102 -0
- sage/doctest/parsing.py +1708 -0
- sage/doctest/parsing_test.py +79 -0
- sage/doctest/reporting.py +733 -0
- sage/doctest/rif_tol.py +124 -0
- sage/doctest/sources.py +1657 -0
- sage/doctest/test.py +584 -0
- sage/doctest/tests/1second.rst +4 -0
- sage/doctest/tests/99seconds.rst +4 -0
- sage/doctest/tests/abort.rst +5 -0
- sage/doctest/tests/atexit.rst +7 -0
- sage/doctest/tests/fail_and_die.rst +6 -0
- sage/doctest/tests/initial.rst +15 -0
- sage/doctest/tests/interrupt.rst +7 -0
- sage/doctest/tests/interrupt_diehard.rst +14 -0
- sage/doctest/tests/keyboardinterrupt.rst +11 -0
- sage/doctest/tests/longtime.rst +5 -0
- sage/doctest/tests/nodoctest +5 -0
- sage/doctest/tests/random_seed.rst +4 -0
- sage/doctest/tests/show_skipped.rst +18 -0
- sage/doctest/tests/sig_on.rst +9 -0
- sage/doctest/tests/simple_failure.rst +8 -0
- sage/doctest/tests/sleep_and_raise.rst +106 -0
- sage/doctest/tests/tolerance.rst +31 -0
- sage/doctest/util.py +750 -0
- sage/interfaces/cleaner.py +48 -0
- sage/interfaces/quit.py +163 -0
- sage/misc/all__sagemath_repl.py +51 -0
- sage/misc/banner.py +235 -0
- sage/misc/benchmark.py +221 -0
- sage/misc/classgraph.py +134 -0
- sage/misc/copying.py +22 -0
- sage/misc/cython.py +694 -0
- sage/misc/dev_tools.py +745 -0
- sage/misc/edit_module.py +304 -0
- sage/misc/explain_pickle.py +3079 -0
- sage/misc/gperftools.py +361 -0
- sage/misc/inline_fortran.py +212 -0
- sage/misc/messaging.py +86 -0
- sage/misc/pager.py +21 -0
- sage/misc/profiler.py +179 -0
- sage/misc/python.py +70 -0
- sage/misc/remote_file.py +53 -0
- sage/misc/sage_eval.py +249 -0
- sage/misc/sage_input.py +3621 -0
- sage/misc/sagedoc.py +1742 -0
- sage/misc/sh.py +38 -0
- sage/misc/trace.py +90 -0
- sage/repl/__init__.py +16 -0
- sage/repl/all.py +15 -0
- sage/repl/attach.py +625 -0
- sage/repl/configuration.py +186 -0
- sage/repl/display/__init__.py +1 -0
- sage/repl/display/fancy_repr.py +354 -0
- sage/repl/display/formatter.py +318 -0
- sage/repl/display/jsmol_iframe.py +290 -0
- sage/repl/display/pretty_print.py +153 -0
- sage/repl/display/util.py +163 -0
- sage/repl/image.py +302 -0
- sage/repl/inputhook.py +91 -0
- sage/repl/interface_magic.py +298 -0
- sage/repl/interpreter.py +854 -0
- sage/repl/ipython_extension.py +593 -0
- sage/repl/ipython_kernel/__init__.py +1 -0
- sage/repl/ipython_kernel/__main__.py +4 -0
- sage/repl/ipython_kernel/all_jupyter.py +10 -0
- sage/repl/ipython_kernel/install.py +301 -0
- sage/repl/ipython_kernel/interact.py +278 -0
- sage/repl/ipython_kernel/kernel.py +217 -0
- sage/repl/ipython_kernel/widgets.py +466 -0
- sage/repl/ipython_kernel/widgets_sagenb.py +587 -0
- sage/repl/ipython_tests.py +163 -0
- sage/repl/load.py +326 -0
- sage/repl/preparse.py +2218 -0
- sage/repl/prompts.py +90 -0
- sage/repl/rich_output/__init__.py +4 -0
- sage/repl/rich_output/backend_base.py +648 -0
- sage/repl/rich_output/backend_doctest.py +316 -0
- sage/repl/rich_output/backend_emacs.py +151 -0
- sage/repl/rich_output/backend_ipython.py +596 -0
- sage/repl/rich_output/buffer.py +311 -0
- sage/repl/rich_output/display_manager.py +829 -0
- sage/repl/rich_output/example.avi +0 -0
- sage/repl/rich_output/example.canvas3d +1 -0
- sage/repl/rich_output/example.dvi +0 -0
- sage/repl/rich_output/example.flv +0 -0
- sage/repl/rich_output/example.gif +0 -0
- sage/repl/rich_output/example.jpg +0 -0
- sage/repl/rich_output/example.mkv +0 -0
- sage/repl/rich_output/example.mov +0 -0
- sage/repl/rich_output/example.mp4 +0 -0
- sage/repl/rich_output/example.ogv +0 -0
- sage/repl/rich_output/example.pdf +0 -0
- sage/repl/rich_output/example.png +0 -0
- sage/repl/rich_output/example.svg +54 -0
- sage/repl/rich_output/example.webm +0 -0
- sage/repl/rich_output/example.wmv +0 -0
- sage/repl/rich_output/example_jmol.spt.zip +0 -0
- sage/repl/rich_output/example_wavefront_scene.mtl +7 -0
- sage/repl/rich_output/example_wavefront_scene.obj +17 -0
- sage/repl/rich_output/output_basic.py +391 -0
- sage/repl/rich_output/output_browser.py +103 -0
- sage/repl/rich_output/output_catalog.py +54 -0
- sage/repl/rich_output/output_graphics.py +320 -0
- sage/repl/rich_output/output_graphics3d.py +345 -0
- sage/repl/rich_output/output_video.py +231 -0
- sage/repl/rich_output/preferences.py +432 -0
- sage/repl/rich_output/pretty_print.py +339 -0
- sage/repl/rich_output/test_backend.py +201 -0
- sage/repl/user_globals.py +214 -0
- sage/tests/all.py +0 -0
- sage/tests/all__sagemath_repl.py +3 -0
- sage/tests/article_heuberger_krenn_kropf_fsm-in-sage.py +630 -0
- sage/tests/arxiv_0812_2725.py +351 -0
- sage/tests/benchmark.py +1925 -0
- sage/tests/book_schilling_zabrocki_kschur_primer.py +795 -0
- sage/tests/book_stein_ent.py +651 -0
- sage/tests/book_stein_modform.py +558 -0
- sage/tests/cmdline.py +796 -0
- sage/tests/combinatorial_hopf_algebras.py +52 -0
- sage/tests/finite_poset.py +623 -0
- sage/tests/functools_partial_src.py +27 -0
- sage/tests/gosper-sum.py +218 -0
- sage/tests/lazy_imports.py +28 -0
- sage/tests/modular_group_cohomology.py +80 -0
- sage/tests/numpy.py +21 -0
- sage/tests/parigp.py +76 -0
- sage/tests/startup.py +27 -0
- sage/tests/symbolic-series.py +76 -0
- sage/tests/sympy.py +16 -0
- sage/tests/test_deprecation.py +31 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
#!python
|
2
|
+
|
3
|
+
import os, sys
|
4
|
+
from subprocess import call
|
5
|
+
|
6
|
+
if len(sys.argv) < 2:
|
7
|
+
print("You must give a file argument")
|
8
|
+
sys.exit(1)
|
9
|
+
|
10
|
+
fn = sys.argv[1]
|
11
|
+
opts = sys.argv[2:]
|
12
|
+
|
13
|
+
if fn.startswith('-'):
|
14
|
+
print("sage-run received unknown option: {}".format(fn))
|
15
|
+
print("usage: sage [options]")
|
16
|
+
print("Try 'sage -h' for more information.")
|
17
|
+
sys.exit(1)
|
18
|
+
|
19
|
+
|
20
|
+
if fn.endswith('.sage'):
|
21
|
+
if call(['sage-preparse', fn]) != 0:
|
22
|
+
sys.exit(1)
|
23
|
+
os.execvp('sage-python', ['sage-python', fn + '.py'] + opts)
|
24
|
+
elif fn.endswith('.pyx') or fn.endswith('.spyx'):
|
25
|
+
os.execvp('sage-run-cython', ['sage-run-cython', fn] + opts)
|
26
|
+
else:
|
27
|
+
os.execvp('sage-python', ['sage-python', fn] + opts)
|
@@ -0,0 +1,163 @@
|
|
1
|
+
#!python
|
2
|
+
|
3
|
+
########################################################################
|
4
|
+
# Originally based on a script by Andrew Dalke:
|
5
|
+
# http://projects.scipy.org/pipermail/numpy-discussion/2008-July/035415.html
|
6
|
+
#
|
7
|
+
# 2012: Total rewrite by Volker Braun
|
8
|
+
########################################################################
|
9
|
+
|
10
|
+
|
11
|
+
########################################################################
|
12
|
+
# Copyright (C) 2012 Volker Braun <vbraun.name@gmail.com>
|
13
|
+
#
|
14
|
+
# Distributed under the terms of the GNU General Public License (GPL)
|
15
|
+
#
|
16
|
+
# https://www.gnu.org/licenses/
|
17
|
+
########################################################################
|
18
|
+
import sys
|
19
|
+
import os
|
20
|
+
import time
|
21
|
+
import gc
|
22
|
+
import warnings
|
23
|
+
|
24
|
+
# Ignore collections.abc warnings, there are a lot of them but they are
|
25
|
+
# harmless. These warnings are also disabled in src/sage/all.py.
|
26
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
27
|
+
message='.*collections[.]abc.*')
|
28
|
+
|
29
|
+
cmdline_args = sys.argv[2:]
|
30
|
+
have_cmdline_args = bool(cmdline_args)
|
31
|
+
|
32
|
+
direct_children_time = 0
|
33
|
+
import_counter = 0
|
34
|
+
parent = None
|
35
|
+
index_to_parent = dict()
|
36
|
+
all_modules = dict()
|
37
|
+
|
38
|
+
DEFAULT_LEVEL = 0
|
39
|
+
|
40
|
+
|
41
|
+
def new_import(name, globals={}, locals={}, fromlist=[], level=DEFAULT_LEVEL):
|
42
|
+
"""
|
43
|
+
The new import function
|
44
|
+
|
45
|
+
Note that ``name`` is not unique, it can be `sage.foo.bar` or `bar`.
|
46
|
+
"""
|
47
|
+
global all_modules, import_counter, parent, direct_children_time
|
48
|
+
old_direct_children_time = direct_children_time
|
49
|
+
direct_children_time = 0
|
50
|
+
old_parent = parent
|
51
|
+
parent = this_import_counter = import_counter
|
52
|
+
import_counter += 1
|
53
|
+
t1 = time.time()
|
54
|
+
module = old_import(name, globals, locals, fromlist, level)
|
55
|
+
t2 = time.time()
|
56
|
+
parent = old_parent
|
57
|
+
elapsed_time = t2 - t1
|
58
|
+
module_time = elapsed_time - direct_children_time
|
59
|
+
direct_children_time = old_direct_children_time + elapsed_time
|
60
|
+
index_to_parent[this_import_counter] = module
|
61
|
+
data = all_modules.get(module, None)
|
62
|
+
if data is not None:
|
63
|
+
data['parents'].append(parent)
|
64
|
+
data['import_names'].add(name)
|
65
|
+
data['cumulative_time'] += elapsed_time
|
66
|
+
data['time'] += module_time
|
67
|
+
return module
|
68
|
+
data = {'cumulative_time': elapsed_time,
|
69
|
+
'time': module_time,
|
70
|
+
'import_names': set([name]),
|
71
|
+
'parents': [parent]}
|
72
|
+
all_modules[module] = data
|
73
|
+
return module
|
74
|
+
|
75
|
+
|
76
|
+
old_import = __builtins__.__import__
|
77
|
+
__builtins__.__import__ = new_import
|
78
|
+
gc.disable()
|
79
|
+
from sage.all import *
|
80
|
+
gc.enable()
|
81
|
+
__builtins__.__import__ = old_import
|
82
|
+
|
83
|
+
for data in all_modules.values():
|
84
|
+
data['parents'] = set(index_to_parent.get(i, None)
|
85
|
+
for i in data['parents'])
|
86
|
+
|
87
|
+
|
88
|
+
module_by_speed = sorted(((data['time'], module, data)
|
89
|
+
for module, data in all_modules.items()),
|
90
|
+
key=lambda x: x[0])
|
91
|
+
|
92
|
+
|
93
|
+
def print_separator():
|
94
|
+
print('=' * 72)
|
95
|
+
|
96
|
+
|
97
|
+
def print_headline(line):
|
98
|
+
print('=={0:=<68}=='.format(' ' + line + ' '))
|
99
|
+
|
100
|
+
|
101
|
+
width = 10
|
102
|
+
fmt_header = '{0:>' + str(width) + '} {1:>' + str(width) + '} {2:>' + str(width) + '} {3}'
|
103
|
+
fmt_number = '{0:>' + str(width) + '.3f} {1:>' + str(width) + '.3f} {2:>' + str(width) + '} {3}'
|
104
|
+
|
105
|
+
|
106
|
+
def print_table(module_list, limit):
|
107
|
+
global fmt_header, fmt_number
|
108
|
+
print(fmt_header.format('exclude/ms', 'include/ms', '#parents', 'module name'))
|
109
|
+
for t, module, data in module_list[-limit:]:
|
110
|
+
print(fmt_number.format(1000 * t, 1000 * data['cumulative_time'],
|
111
|
+
len(data['parents']), module.__name__))
|
112
|
+
|
113
|
+
|
114
|
+
def guess_module_name(src):
|
115
|
+
module = []
|
116
|
+
src, ext = os.path.splitext(src)
|
117
|
+
while src and src != '/':
|
118
|
+
head, tail = os.path.split(os.path.abspath(src))
|
119
|
+
if (tail == 'src' or any(os.path.exists(os.path.join(head, tail, f))
|
120
|
+
for f in ('setup.py', 'pyproject.toml'))):
|
121
|
+
return '.'.join(module)
|
122
|
+
module.insert(0, tail)
|
123
|
+
src = head
|
124
|
+
return None
|
125
|
+
|
126
|
+
|
127
|
+
if not have_cmdline_args:
|
128
|
+
print('== Slowest module imports (excluding / including children) ==')
|
129
|
+
print_table(module_by_speed, 50)
|
130
|
+
print('Total time (sum over exclusive time): {:.3f}ms'.format(1000 * sum(data[0] for data in module_by_speed)))
|
131
|
+
print('Use sage -startuptime <module_name|file_name>... to get more details about specific modules.')
|
132
|
+
else:
|
133
|
+
for module_arg in cmdline_args:
|
134
|
+
matching_modules = [m for m in all_modules if m.__name__ == module_arg]
|
135
|
+
if not matching_modules:
|
136
|
+
if '/' in module_arg or any(module_arg.endswith(ext) for ext in ('.py', '.pyx')) or os.path.isdir(module_arg):
|
137
|
+
file_name = module_arg
|
138
|
+
module_arg = guess_module_name(file_name)
|
139
|
+
if not module_arg:
|
140
|
+
print('Warning: "' + file_name + '" does not appear to be a Python module source file or package directory.')
|
141
|
+
continue
|
142
|
+
else:
|
143
|
+
matching_modules = [m for m in all_modules if m.__name__.startswith(module_arg)]
|
144
|
+
else:
|
145
|
+
matching_modules = [m for m in all_modules if m.__name__.endswith(module_arg)]
|
146
|
+
if not matching_modules:
|
147
|
+
print('Warning: No modules loaded at startup correspond to {}'.format(module_arg))
|
148
|
+
for module_name in matching_modules:
|
149
|
+
parents = all_modules[module_name]['parents']
|
150
|
+
print()
|
151
|
+
print_separator()
|
152
|
+
print_headline('Slowest modules importing {0}'.format(module_name.__name__))
|
153
|
+
print_table([m for m in module_by_speed if m[1] in parents], 10)
|
154
|
+
print()
|
155
|
+
print_headline('Slowest modules imported by {0}'.format(module_name.__name__))
|
156
|
+
print_table([m for m in module_by_speed if module_name in m[2]['parents']], 10)
|
157
|
+
print()
|
158
|
+
data = all_modules[module_name]
|
159
|
+
print_headline('module ' + module_name.__name__)
|
160
|
+
print('Time to import: {0:.3f}ms'.format(1000 * data['time']))
|
161
|
+
print('Cumulative time: {0:.3f}ms'.format(1000 * data['cumulative_time']))
|
162
|
+
print('Names: {0}'.format(', '.join(data['import_names'])))
|
163
|
+
print('File: {0}'.format(module_name.__file__))
|
@@ -0,0 +1,34 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
if [ -z $SAGE_EXTCODE ]; then
|
4
|
+
SAGE_EXTCODE=`${0/-valgrind} -c "from sage.env import SAGE_EXTCODE; print(SAGE_EXTCODE)"`
|
5
|
+
fi
|
6
|
+
|
7
|
+
SUPP=""
|
8
|
+
# Our python spkgs and also Debian install this file as python3.supp
|
9
|
+
PYTHON_SUPP_FILENAME="python3.supp"
|
10
|
+
for dir in "$SAGE_LOCAL/lib/valgrind" "/usr/local/lib/valgrind" "/usr/lib64/valgrind" "/usr/lib/valgrind" ; do
|
11
|
+
if [ -f "$dir"/"$PYTHON_SUPP_FILENAME" ]; then
|
12
|
+
SUPP=" --suppressions=$dir/$PYTHON_SUPP_FILENAME"
|
13
|
+
break
|
14
|
+
fi
|
15
|
+
done
|
16
|
+
if [ -z "$SUPP" ] ; then
|
17
|
+
echo "Python suppressions not found (not installed?), skipping"
|
18
|
+
fi
|
19
|
+
|
20
|
+
SUPP+=" --suppressions=$SAGE_EXTCODE/valgrind/pyalloc.supp"
|
21
|
+
SUPP+=" --suppressions=$SAGE_EXTCODE/valgrind/sage.supp"
|
22
|
+
SUPP+=" --suppressions=$SAGE_EXTCODE/valgrind/sage-additional.supp"
|
23
|
+
SUPP+=" --suppressions=$SAGE_EXTCODE/valgrind/valgrind-python.supp"
|
24
|
+
|
25
|
+
MEMCHECK_FLAGS="--leak-resolution=high --leak-check=full --num-callers=25 $SUPP"
|
26
|
+
|
27
|
+
if [ "$SAGE_MEMCHECK_FLAGS" ]; then
|
28
|
+
echo "Overwriting memcheck flags with: $SAGE_MEMCHECK_FLAGS"
|
29
|
+
MEMCHECK_FLAGS=$SAGE_MEMCHECK_FLAGS
|
30
|
+
else
|
31
|
+
echo "Using default flags: $MEMCHECK_FLAGS"
|
32
|
+
fi
|
33
|
+
|
34
|
+
valgrind --tool=memcheck $MEMCHECK_FLAGS sage-ipython "$@" -i
|
@@ -0,0 +1,77 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: passagemath-repl
|
3
|
+
Version: 10.5.1
|
4
|
+
Summary: passagemath: IPython kernel, Sage preparser, doctester
|
5
|
+
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
|
+
Maintainer: Matthias Köppe, passagemath contributors
|
7
|
+
License: GNU General Public License (GPL) v2 or later
|
8
|
+
Project-URL: release notes, https://github.com/passagemath/passagemath/releases
|
9
|
+
Project-URL: repo (upstream), https://github.com/sagemath/sage
|
10
|
+
Project-URL: repo, https://github.com/passagemath/passagemath
|
11
|
+
Project-URL: documentation, https://doc.sagemath.org
|
12
|
+
Project-URL: homepage (upstream), https://www.sagemath.org
|
13
|
+
Project-URL: discourse, https://passagemath.discourse.group
|
14
|
+
Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
|
15
|
+
Project-URL: tracker, https://github.com/passagemath/passagemath/issues
|
16
|
+
Classifier: Development Status :: 6 - Mature
|
17
|
+
Classifier: Intended Audience :: Education
|
18
|
+
Classifier: Intended Audience :: Science/Research
|
19
|
+
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
20
|
+
Classifier: Operating System :: POSIX
|
21
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
22
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
23
|
+
Classifier: Programming Language :: Python :: 3.9
|
24
|
+
Classifier: Programming Language :: Python :: 3.10
|
25
|
+
Classifier: Programming Language :: Python :: 3.11
|
26
|
+
Classifier: Programming Language :: Python :: 3.12
|
27
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
28
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
29
|
+
Requires-Python: <3.13,>=3.9
|
30
|
+
Description-Content-Type: text/x-rst
|
31
|
+
Requires-Dist: passagemath-objects ~=10.5.1.0
|
32
|
+
Requires-Dist: passagemath-environment ~=10.5.1.0
|
33
|
+
Requires-Dist: ipykernel >=5.2.1
|
34
|
+
Requires-Dist: ipython >=7.13.0
|
35
|
+
Requires-Dist: ipywidgets >=7.5.1
|
36
|
+
Requires-Dist: jupyter-client
|
37
|
+
Provides-Extra: sphinx
|
38
|
+
Requires-Dist: sphinx <9,>=5.2 ; extra == 'sphinx'
|
39
|
+
|
40
|
+
===================================================================================
|
41
|
+
passagemath: IPython kernel, Sage preparser, doctester
|
42
|
+
===================================================================================
|
43
|
+
|
44
|
+
About SageMath
|
45
|
+
--------------
|
46
|
+
|
47
|
+
"Creating a Viable Open Source Alternative to
|
48
|
+
Magma, Maple, Mathematica, and MATLAB"
|
49
|
+
|
50
|
+
Copyright (C) 2005-2024 The Sage Development Team
|
51
|
+
|
52
|
+
https://www.sagemath.org
|
53
|
+
|
54
|
+
SageMath fully supports all major Linux distributions, recent versions of
|
55
|
+
macOS, and Windows (Windows Subsystem for Linux).
|
56
|
+
|
57
|
+
See https://doc.sagemath.org/html/en/installation/index.html
|
58
|
+
for general installation instructions.
|
59
|
+
|
60
|
+
|
61
|
+
About this pip-installable distribution package
|
62
|
+
-----------------------------------------------
|
63
|
+
|
64
|
+
The pip-installable source distribution `sagemath-repl` is a
|
65
|
+
distribution of a small part of the Sage Library.
|
66
|
+
|
67
|
+
It provides a small, fundamental subset of the modules of the Sage library
|
68
|
+
("sagelib", `sagemath-standard`), providing the IPython kernel, Sage preparser,
|
69
|
+
and doctester.
|
70
|
+
|
71
|
+
|
72
|
+
What is included
|
73
|
+
----------------
|
74
|
+
|
75
|
+
* `Doctesting Framework <https://doc.sagemath.org/html/en/reference/doctest/index.html>`_
|
76
|
+
|
77
|
+
* `The Sage REPL <https://doc.sagemath.org/html/en/reference/repl/sage/repl/index.html>`_
|
@@ -0,0 +1,162 @@
|
|
1
|
+
passagemath_repl-10.5.1.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
|
2
|
+
passagemath_repl-10.5.1.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
|
3
|
+
passagemath_repl-10.5.1.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
|
4
|
+
passagemath_repl-10.5.1.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
|
5
|
+
passagemath_repl-10.5.1.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
|
6
|
+
passagemath_repl-10.5.1.data/scripts/sage-fixdoctests,sha256=cTWoFr9rAdOF-xeW6ytNeX3EzhKcs1mTN4UilP4kiGg,36877
|
7
|
+
passagemath_repl-10.5.1.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
|
8
|
+
passagemath_repl-10.5.1.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
|
9
|
+
passagemath_repl-10.5.1.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
|
10
|
+
passagemath_repl-10.5.1.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
|
11
|
+
passagemath_repl-10.5.1.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
|
12
|
+
passagemath_repl-10.5.1.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
|
13
|
+
passagemath_repl-10.5.1.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
|
14
|
+
passagemath_repl-10.5.1.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
|
15
|
+
passagemath_repl-10.5.1.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
|
16
|
+
passagemath_repl-10.5.1.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
|
17
|
+
passagemath_repl-10.5.1.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
|
18
|
+
passagemath_repl-10.5.1.data/scripts/sage-valgrind,sha256=fZxy00oXU4PpHf_wc2uYKb7lzqSBY4VkhUxiuvXHKhA,1201
|
19
|
+
sage/all__sagemath_repl.py,sha256=z6lERTYuw3I4LQ7-hnEYbY1i-hMJj2uAm2ujOmWitSo,5713
|
20
|
+
sage/doctest/__init__.py,sha256=JJMNkq7Rh3gCshtynqXDTLJgUKweNFlUhpnbvTLRMwg,166
|
21
|
+
sage/doctest/__main__.py,sha256=wGVNiaPbhQwzoAs3Y1xhYBlB18pBieEDhi71ggF8NkQ,13647
|
22
|
+
sage/doctest/all.py,sha256=SRWEXRjzsrFyY1rrErA7--1DrvjUQR0Th30P6vubnZ0,157
|
23
|
+
sage/doctest/check_tolerance.py,sha256=YnYr981uSUZWfuv5OrXdytXsZx6PtJnQ7Mg8-Lj7pB4,8945
|
24
|
+
sage/doctest/control.py,sha256=za_dqZM2OzzACDIm2ctr9roKW-s6JFM_4HDoVJM-7qw,67861
|
25
|
+
sage/doctest/external.py,sha256=p1cmRXQdwLa4PZwn3VJzd6j-MpW_oJf4PDgVIuBgwBs,15577
|
26
|
+
sage/doctest/fixtures.py,sha256=UDSykekKanmnD737VXFv7r5QzcZmqzfwn1Noc_fKcnE,12784
|
27
|
+
sage/doctest/forker.py,sha256=QhRJE8zV_KV0o8-4SX0tAzP49uZkYtsLY1mAkRDopI0,110831
|
28
|
+
sage/doctest/marked_output.py,sha256=EJThXbkhYvYR5r1uuZyfPjeYHiLpHUgqTm1QZ5JTDgw,3034
|
29
|
+
sage/doctest/parsing.py,sha256=GJRQRKX1cwr8fM5Gu2WxbxU3q8avsIskbH-7I2okjss,72167
|
30
|
+
sage/doctest/parsing_test.py,sha256=7v3Y6kgLr7x5UF3CkdyNbRyhH4VRX275QPdCqG-jMxg,2652
|
31
|
+
sage/doctest/reporting.py,sha256=5a4NVhYXp3x4ykmYBwVVz07eLdkbCkZ8KOM3pEN2-Vw,33381
|
32
|
+
sage/doctest/rif_tol.py,sha256=m8XljRCPyaj_Kpng-sNxsRSo0BJR3QY3CArhjEZ9c5s,4973
|
33
|
+
sage/doctest/sources.py,sha256=T7GHWVrIG-qypXGnHr_-F9KJSvU_n-09LSzDqkJgyyE,63592
|
34
|
+
sage/doctest/test.py,sha256=XU8RASl7HPLM_YoPcyQ9uIwG9oUTUyjl7N7xH74vzdo,22616
|
35
|
+
sage/doctest/util.py,sha256=A4D_kpzjkdohuqYvVpodqztKHm0YkolkiBMFjRrivqY,23950
|
36
|
+
sage/doctest/tests/1second.rst,sha256=CHBQjhfvPPyBQmTslo-G7kC8Jr6i5DujXTT19AewsIk,74
|
37
|
+
sage/doctest/tests/99seconds.rst,sha256=1FUWC-u5vVHqYd2VUUe_GELikmMvUEDZDt-kAU8u4TA,75
|
38
|
+
sage/doctest/tests/abort.rst,sha256=lqKD_TZvcnO38zmXrp76HyLlVZNKd72rbaGGGhPgywQ,164
|
39
|
+
sage/doctest/tests/atexit.rst,sha256=jRRcy7lhpNl01Ho9jnba-o9eSkPj2S3BsLDQW2SD81c,253
|
40
|
+
sage/doctest/tests/fail_and_die.rst,sha256=6bkn2-1HAIYGIH2NbfVYEqspSU7-f2lcwsw3ZFhN_Qs,221
|
41
|
+
sage/doctest/tests/initial.rst,sha256=KND6KnKczk0MA6VDKrN44LQxBkd1t4nUuyaEqYsvVJk,330
|
42
|
+
sage/doctest/tests/interrupt.rst,sha256=Zm5HOSnUIXazy_hhg_GGjdJyGH5aGGtPPlpSEBQNxpw,188
|
43
|
+
sage/doctest/tests/interrupt_diehard.rst,sha256=TxJaZDeMmhOMpUp4Onb3Ob8F8gpYbur-pVlx_2DuYFU,517
|
44
|
+
sage/doctest/tests/keyboardinterrupt.rst,sha256=IXujYmhhFFMIiOexF87sJYShRYq5mo6JpB74kiBCGOs,288
|
45
|
+
sage/doctest/tests/longtime.rst,sha256=uBgq2pJ5X9odTkHnNwmcMDa-9_gM5Lkp3nJmY8fhCDk,164
|
46
|
+
sage/doctest/tests/nodoctest,sha256=LZAVgOYnZ2tXtYF_ykTL8tJpHuaG8fW4318_mxDIAD0,178
|
47
|
+
sage/doctest/tests/random_seed.rst,sha256=-hOvJiupKsn-4WDttOxmqGisexrGOw0dnJVtWQisfdo,77
|
48
|
+
sage/doctest/tests/show_skipped.rst,sha256=eOcMxgy-AtZsfU2faGNCi6J5pMPV7O7bL48HgCZVaPQ,390
|
49
|
+
sage/doctest/tests/sig_on.rst,sha256=X-23CRNz0OKPyYLz7hIiPpIuhO-2ej4hEOOfR6Qheb0,186
|
50
|
+
sage/doctest/tests/simple_failure.rst,sha256=063m5EMsTntr40npoAP4OYddiq9cPIA0WrcvjmBsI2Y,110
|
51
|
+
sage/doctest/tests/sleep_and_raise.rst,sha256=QXRNJ5-kGU86KGNMVQZiJvxbMZxqf7dWzhjtjrPtZEY,900
|
52
|
+
sage/doctest/tests/tolerance.rst,sha256=D5MeN4ZUkkTdQMEpYEtElPdQ-8p7DG-4LzOEnSsmapg,747
|
53
|
+
sage/interfaces/cleaner.py,sha256=sd8_F8xGC7OMSoWcCPL3VAOPOuXZAOZu0ys1FExKYjQ,1560
|
54
|
+
sage/interfaces/quit.py,sha256=SUtK6OR1-7klO_PgyW-kCQgDETSZ8cgY4T-Tq40P33Q,5329
|
55
|
+
sage/misc/all__sagemath_repl.py,sha256=Qxsf_bNAVB4CScgVoD0Lb9_RFwdK8BI3S0aqjFBz88c,1791
|
56
|
+
sage/misc/banner.py,sha256=69sC578x0-t8a_l14w08xMLPBp0wcd8RsdTrcJq7ERQ,7883
|
57
|
+
sage/misc/benchmark.py,sha256=4hW6hTGWfPb_E_U8V19Y_CPRN9_mUMsefrIb1rkzhfQ,6162
|
58
|
+
sage/misc/classgraph.py,sha256=e9xZbH4cZhkY8uuNL-PrS1tyFXm8JcnhyE8uTDYOCoE,5155
|
59
|
+
sage/misc/copying.py,sha256=jyY_AyAAFHAYGkj6Ca-kRd-PcW4qg18kDIUp1dVPk0M,423
|
60
|
+
sage/misc/cython.py,sha256=cwOYy0szkMMS1CMZGpnA2tqU_SJDBoEBMlFyRWMhNik,24463
|
61
|
+
sage/misc/dev_tools.py,sha256=7Op4JFUXiYjUHN1lxO7blEVDr3vwYzDujO70XjwNDUE,28380
|
62
|
+
sage/misc/edit_module.py,sha256=A3EctK2BgolhFtsCXtiShKzr_c0r3eGmb9HYnKPyOto,10528
|
63
|
+
sage/misc/explain_pickle.py,sha256=KLuoOx_7xEeawgnLvheim4qmgMhPPOL0CcRxbP7CpWM,107704
|
64
|
+
sage/misc/gperftools.py,sha256=ZXGxmNSnp9EdBOVwcTPgiJrmH3EbW4bgp7vOWLNgZNA,10909
|
65
|
+
sage/misc/inline_fortran.py,sha256=pc9hZwLfuASGRYY2soHfoi6yXuAPV7RBQpaosv2b_zo,6921
|
66
|
+
sage/misc/messaging.py,sha256=NdHinsgrUq3Kd8QC-c8oIHqt3_hPQ2hEd20rih91qgY,3203
|
67
|
+
sage/misc/pager.py,sha256=bTxQlO2MuJ54ZulqzkcpDW5Yoseile5M9q7RoklrLU0,664
|
68
|
+
sage/misc/profiler.py,sha256=r9M0GKmxEzWpZVuemY1ch03fd_zZz8kKpcEDXD8W-0k,5753
|
69
|
+
sage/misc/python.py,sha256=qUdAqlft8VD4oG8U0iWN-r8RXGpGwD70K_00r4REXlo,1840
|
70
|
+
sage/misc/remote_file.py,sha256=p3t4NT4_c0xUI8pLqWaw4RE0NX_O3a5K0VL3-W8wZqo,1545
|
71
|
+
sage/misc/sage_eval.py,sha256=hvBRBay5CoInQM6NDNOaTV1_AYTgj2O_VGIst1uLuQ8,7780
|
72
|
+
sage/misc/sage_input.py,sha256=MWivkHNX5SnWBvE5UM-baPK2kOhRip8rHgs7OyEE-Rg,121020
|
73
|
+
sage/misc/sagedoc.py,sha256=2TGdwR9tOc4Y0Vx2PpcfnKWs6KVCyDxhsauO9yKRiqI,67656
|
74
|
+
sage/misc/sh.py,sha256=4aogzam8JR0jtvWOM5CXycjPjWqUNs7Pc9l0fNwmwuw,1446
|
75
|
+
sage/misc/trace.py,sha256=xEwmVVALZ7aCciIRpspoY4IJuE1T9502P5KL2VH0yl0,2978
|
76
|
+
sage/repl/__init__.py,sha256=n6Dp28k-5BZmi9cePkg8G6S9qFWUGPBiFVRSiwsPLqk,663
|
77
|
+
sage/repl/all.py,sha256=nh532qefRODsltlLeN-zFkX8UHc6g09pFh5gdIvMORI,508
|
78
|
+
sage/repl/attach.py,sha256=v76YYujqim0c2AMY0DUTZoF3DwmMknuGLu-ydf8x9dI,19651
|
79
|
+
sage/repl/configuration.py,sha256=ZGYDybWO4yGg66_qcEXbLdX74K1dDlOcEd2b2CSI_C4,6040
|
80
|
+
sage/repl/image.py,sha256=yrzjDnCdtbS5ZVnszqEgqctrL1s7nnFVtrs_TsuMciQ,9343
|
81
|
+
sage/repl/inputhook.py,sha256=o3Z6kWs_37yOBMZzoJNj48ajAc3KkMW3M8gydruEFrY,2506
|
82
|
+
sage/repl/interface_magic.py,sha256=WFAC_HHNmenOfCF8IXq3FOnNGX799BiEJdkg7p346f4,9412
|
83
|
+
sage/repl/interpreter.py,sha256=OFJebSxAqBhBfbv0ita62M__tWo7yrTbQGHlDj6_fkg,30495
|
84
|
+
sage/repl/ipython_extension.py,sha256=vTL3cdO4Z07NNEoDwWaUpTWN-13wV26Z9_18EthsRKc,20350
|
85
|
+
sage/repl/ipython_tests.py,sha256=6sXyZJnKMcXeS7wvBZ8X6Lx6juBy27RDxLbmsrEVY20,4807
|
86
|
+
sage/repl/load.py,sha256=MiwhCTA8RpDbF65-oRrbw8xO003SqDnVKzGQePFwQuE,11414
|
87
|
+
sage/repl/preparse.py,sha256=fkMBb1voFvGD1iagtQk2nareICdHZpkJmAqOYEI_yOo,77110
|
88
|
+
sage/repl/prompts.py,sha256=wyd7z3sdOaOevvnqfwrQBiCaj6hLiWYJ3De6eePbQEA,2253
|
89
|
+
sage/repl/user_globals.py,sha256=FQA7tNioBoyHNw8SQCbA_teqMVtPRTYlql44KeYA18w,5930
|
90
|
+
sage/repl/display/__init__.py,sha256=6mNw0BEw6mZsoOi004elrLvD4m4RffLmgY921IwsNXk,43
|
91
|
+
sage/repl/display/fancy_repr.py,sha256=A1e8yAWo4ikfNEEQ2zCs8fLyrpN-xCOOpN6enV1Hgvg,10577
|
92
|
+
sage/repl/display/formatter.py,sha256=LR7PY589xx5Ra_8DJ2mo4RBnXKq5a6g84cu-FlIYtiI,12712
|
93
|
+
sage/repl/display/jsmol_iframe.py,sha256=qj8o_OhkokCk2MSU9AMV6jheYrSdMp1D7AvDCohoOw8,8989
|
94
|
+
sage/repl/display/pretty_print.py,sha256=ZPR-UbfS9ZifG5tybWI4GSAYGxeDin8MLc6XENNpu9Q,4861
|
95
|
+
sage/repl/display/util.py,sha256=fL0GUr7NcB_AbWUFAgrADcyq212eEqJi0toEdJaVyFk,6005
|
96
|
+
sage/repl/ipython_kernel/__init__.py,sha256=6mNw0BEw6mZsoOi004elrLvD4m4RffLmgY921IwsNXk,43
|
97
|
+
sage/repl/ipython_kernel/__main__.py,sha256=lS2SaEWCtM5I5LykXB0FBQA-5XIVkolXMpRSTSnMP8w,195
|
98
|
+
sage/repl/ipython_kernel/all_jupyter.py,sha256=hpNw0ZQK89PkavLZD0UWqgPcA4AneXEIc5VOztOxLkA,364
|
99
|
+
sage/repl/ipython_kernel/install.py,sha256=Em9WxtSjX1iLcyXTQ6oXlR1zFfWAvKZYMBduTchTr-Q,9543
|
100
|
+
sage/repl/ipython_kernel/interact.py,sha256=I5mckNe8bwOVhGexvNutXR3KwlY0WhwHPBzOked692A,11578
|
101
|
+
sage/repl/ipython_kernel/kernel.py,sha256=uFQUDxGPtcLcP0YjNvFvLHNM-IIqPTpjG0sX4kF_pYs,7117
|
102
|
+
sage/repl/ipython_kernel/widgets.py,sha256=EoUxblH1LHMi4YZaknH7y0ohymntuoB7_ytEkIAh5vk,14860
|
103
|
+
sage/repl/ipython_kernel/widgets_sagenb.py,sha256=wJTtH1v4jG15ORslYxx6tW-lfJRK9q44AlG-Iq3u-KY,20153
|
104
|
+
sage/repl/rich_output/__init__.py,sha256=yHVVV_o6hHdQ5UscMtypHyqv_kl6uGC8SpkAsugLBCQ,132
|
105
|
+
sage/repl/rich_output/backend_base.py,sha256=HvMaVFC0MfqKAnabvvotaH027xbsVp-NFz_KDYiqjZI,22159
|
106
|
+
sage/repl/rich_output/backend_doctest.py,sha256=FXuIleAOmXt5NUviAu7KFuVgXt9HppVDR5cB9JuDNDM,13164
|
107
|
+
sage/repl/rich_output/backend_emacs.py,sha256=lFlPjVe7XPju9yVl92YVNGoKMQS-37GqSBbZkBbpAFk,5919
|
108
|
+
sage/repl/rich_output/backend_ipython.py,sha256=Wbj1lneOBGKLwzumd388fSQLiGx9MIdcG76EJTbMe5s,22054
|
109
|
+
sage/repl/rich_output/buffer.py,sha256=Lh2P_VBNQI8HIqwlyTmJ5uTsjg1sOWPeQ1tHdEnLns8,9928
|
110
|
+
sage/repl/rich_output/display_manager.py,sha256=Lj2DNW-aP96D7w-0tmwDT83v_wPJOlEi2DMt4peP8Uo,29462
|
111
|
+
sage/repl/rich_output/example.avi,sha256=my4VexWs4c2gFV9mpO-BjvCMj1I241FjHkpk3-hQ8BY,7976
|
112
|
+
sage/repl/rich_output/example.canvas3d,sha256=mT094XaOVY5oJ5iu4RyOXfcaKWbo2IktOyA5FJ09aMo,829
|
113
|
+
sage/repl/rich_output/example.dvi,sha256=DdcTpMhkpPXSPiRJ_EexkihWPLgrykecbRUxFnJgb8k,212
|
114
|
+
sage/repl/rich_output/example.flv,sha256=UCdw9nHgKUemB9U39h3DJdoa2UUZ6N7dJ9dFI-JSsfw,2710
|
115
|
+
sage/repl/rich_output/example.gif,sha256=bGCk6MUkfwat1CFypNEksKJ_fx81V5kDr7AIhJVoG3A,408
|
116
|
+
sage/repl/rich_output/example.jpg,sha256=o0nr4Zv-1dPAgj7xSRBLi-J1Mjc3Uzkufyo7eqqVcXs,978
|
117
|
+
sage/repl/rich_output/example.mkv,sha256=Kw8g_pRax1pOE4PlXb-RSAScuHyYIbXxi8H3xhtLJTE,2390
|
118
|
+
sage/repl/rich_output/example.mov,sha256=RbESUngrc4zZoYVkvAePmg8yi3JaQrZGnNq79fYgvOE,2493
|
119
|
+
sage/repl/rich_output/example.mp4,sha256=CKF1jE_1LCkvEv1GNV9QJb76rm8EUT9tuQEmxTk--RM,2526
|
120
|
+
sage/repl/rich_output/example.ogv,sha256=h9NyeFAk2BWkJ7kshhYrsoaBe2Oj1SRiwk5_92PzP-0,5612
|
121
|
+
sage/repl/rich_output/example.pdf,sha256=G4iMx4Id1ASN2G0uDl1WrJch5jQzblyWU_DrUWOoETo,4285
|
122
|
+
sage/repl/rich_output/example.png,sha256=sUcEwolkXEZhNglmZJgzq83V-wGns8qn_D2GAcqKBiM,608
|
123
|
+
sage/repl/rich_output/example.svg,sha256=tFdQIuGzAkzui-W80ds5f7b1lC5V_8L1Jl0i9lavfW8,1422
|
124
|
+
sage/repl/rich_output/example.webm,sha256=Lw0oBVTn4PSEaXgDn9t1kC5_q0exyTElkwktGnObm1M,2019
|
125
|
+
sage/repl/rich_output/example.wmv,sha256=Qvum3SBUUtWDzbv4XO1cAtVQTkGPGhriUhbkBbxnCLA,3937
|
126
|
+
sage/repl/rich_output/example_jmol.spt.zip,sha256=XPf_Yd0ryezWJZaGFcuIHhQhcq23rbykWxKIsDIfLSs,654
|
127
|
+
sage/repl/rich_output/example_wavefront_scene.mtl,sha256=YhkzrsfToVT7bPT3wKMrV66gEbwKoGsxufIE140NJeg,80
|
128
|
+
sage/repl/rich_output/example_wavefront_scene.obj,sha256=b8pXoBrRMXAuvpKH3vXiVOf2OfYAlRSB_pKeovEN4e8,227
|
129
|
+
sage/repl/rich_output/output_basic.py,sha256=OCJLvcRGqP5JtOvjppvFtCuhKRvID6CkBMvyHUyJR4A,12754
|
130
|
+
sage/repl/rich_output/output_browser.py,sha256=uskXYeOEpJW-gRjUVqkt10uhGOj_L-1XBJPfO9eINKs,3325
|
131
|
+
sage/repl/rich_output/output_catalog.py,sha256=yqQ1sBsIFYBISP6tEIIQUCDvB7pVMfGzrVi2Fw1Xfhg,1298
|
132
|
+
sage/repl/rich_output/output_graphics.py,sha256=dFU3lWWpT4rCn-7n4CUezCfhcDMv-0XA2ocFpJXND6o,9883
|
133
|
+
sage/repl/rich_output/output_graphics3d.py,sha256=UtKxX-9MooS2GK4E730ag2uBjrNbdp38XaIyfdvacj0,11844
|
134
|
+
sage/repl/rich_output/output_video.py,sha256=4-yQKBCr785qnb2Hdp2E8Ds39WbhNI5moHTlnu_s2Lw,6485
|
135
|
+
sage/repl/rich_output/preferences.py,sha256=AQNOC0RrkcVXsvMAfyAw1IJJgbG6Xd2YjAUt_LPzcJU,12896
|
136
|
+
sage/repl/rich_output/pretty_print.py,sha256=RQYNkwwMBRZGaXgw1Bff1VdxSHVui5y-azaqWBC9IdQ,11054
|
137
|
+
sage/repl/rich_output/test_backend.py,sha256=jqzlRjh5lYBmUkrRoaSbYLMQ0HYzJA1kQ0TdmdsBNTM,6606
|
138
|
+
sage/tests/all.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
139
|
+
sage/tests/all__sagemath_repl.py,sha256=U0L7QUQRA5DQQ1cqv8tjHB1fr4uXj_q6q_H6e44PTh0,51
|
140
|
+
sage/tests/article_heuberger_krenn_kropf_fsm-in-sage.py,sha256=bam9TtDj7Wic1Fs5XL3TOX0G4svjBqF7jmAa4vnWZsQ,19928
|
141
|
+
sage/tests/arxiv_0812_2725.py,sha256=Ts2xNNLCb5wl05xxMfB5h4YhVFuLEr6CWl-D4LQj-yM,9959
|
142
|
+
sage/tests/benchmark.py,sha256=XY3VTPMklhoM2m-8dxs3sypbeoo-gLFS9ZbWD7UBbYU,55488
|
143
|
+
sage/tests/book_schilling_zabrocki_kschur_primer.py,sha256=mIr3XlcQKQXxjmagRuvBdpRG98PsDmx6ZCsGQfVdsq8,27118
|
144
|
+
sage/tests/book_stein_ent.py,sha256=3k1T56sB-csaLzJEsEyVJ9YaMBKtgc0W1_z7cuwiz-Y,19767
|
145
|
+
sage/tests/book_stein_modform.py,sha256=tETTfZj787LI_ept4plgPGDPmZ8KJvWFI2OBa13K4WE,21236
|
146
|
+
sage/tests/cmdline.py,sha256=2JiDN3yvOjlHOYtcGHXBZa4y_qc3KGlR3vPTzShVxN8,26316
|
147
|
+
sage/tests/combinatorial_hopf_algebras.py,sha256=FTzMq8JyyKLAU3vFacMZZAer7PxALQpg3SFdEjBdo_s,1849
|
148
|
+
sage/tests/finite_poset.py,sha256=3lC1zEHE8_9uxsE0CPnZcgYsf8cFqfObYw7oAYfgFWI,26467
|
149
|
+
sage/tests/functools_partial_src.py,sha256=1AJUja_PgA88SuhEsB-kedq3EEbr8Ry3AaAwUV7OpoU,598
|
150
|
+
sage/tests/gosper-sum.py,sha256=d960lWkznskbv-stz4qBzIrY4wrstDzpnlBONde2Brs,10053
|
151
|
+
sage/tests/lazy_imports.py,sha256=BVyEp2w0j52sHHDS8JZi0_uNUwuE0t9pKJMA9015jEM,1069
|
152
|
+
sage/tests/modular_group_cohomology.py,sha256=jeVYPdKlKoPIwYAFHn2TuRljQ2Ajc_oZI0qVBG4KP1E,2408
|
153
|
+
sage/tests/numpy.py,sha256=N6sQAKAS0-AL3WEq5CdPFi_UAuqO4lL-n3ORFL2ppBA,445
|
154
|
+
sage/tests/parigp.py,sha256=RaoBuT8kRh9GK7EDQHikejOTbCt-2DlakxrLdxgQyGA,3781
|
155
|
+
sage/tests/startup.py,sha256=G8Co8afXEC1FO9pyFlryBzLXXwY40_BcWrimaPadw3w,1185
|
156
|
+
sage/tests/symbolic-series.py,sha256=5WlGSwW4eq-Ydev0jYtLDtuk1KCIJ7QCNE0IhZpc37Q,2991
|
157
|
+
sage/tests/sympy.py,sha256=SGzxN4faL0Y3lokTYV_n_IYjf65pc1foBfLbxDhPDgk,431
|
158
|
+
sage/tests/test_deprecation.py,sha256=Y2uvLozCshTPhQgfAxT_pAkkgX5Q16yJwQ0CleKHDJw,917
|
159
|
+
passagemath_repl-10.5.1.dist-info/METADATA,sha256=R8yOwh55sF6VPR96Qkh0WXOUIovo1q29qipwvCPcD7k,3145
|
160
|
+
passagemath_repl-10.5.1.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
161
|
+
passagemath_repl-10.5.1.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
|
162
|
+
passagemath_repl-10.5.1.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
sage
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-repl
|
2
|
+
|
3
|
+
# Set up warning filters before importing Sage stuff
|
4
|
+
|
5
|
+
import sys
|
6
|
+
import warnings
|
7
|
+
|
8
|
+
# This is a Python debug build (--with-pydebug)
|
9
|
+
__with_pydebug = hasattr(sys, 'gettotalrefcount')
|
10
|
+
if __with_pydebug:
|
11
|
+
# a debug build does not install the default warning filters. Sadly, this breaks doctests so we
|
12
|
+
# have to re-add them:
|
13
|
+
warnings.filterwarnings('ignore', category=PendingDeprecationWarning)
|
14
|
+
warnings.filterwarnings('ignore', category=ImportWarning)
|
15
|
+
warnings.filterwarnings('ignore', category=ResourceWarning)
|
16
|
+
else:
|
17
|
+
deprecationWarning = ('ignore', None, DeprecationWarning, None, 0)
|
18
|
+
if deprecationWarning in warnings.filters:
|
19
|
+
warnings.filters.remove(deprecationWarning)
|
20
|
+
|
21
|
+
# Ignore all deprecations from IPython etc.
|
22
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
23
|
+
module='(IPython|ipykernel|jupyter_client|jupyter_core|nbformat|notebook|ipywidgets|storemagic|jedi)')
|
24
|
+
|
25
|
+
# scipy 1.18 introduced deprecation warnings on a number of things they are moving to
|
26
|
+
# numpy, e.g. DeprecationWarning: scipy.array is deprecated
|
27
|
+
# and will be removed in SciPy 2.0.0, use numpy.array instead
|
28
|
+
# This affects networkx 2.2 up and including 2.4 (cf. :issue:29766)
|
29
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
30
|
+
module='(scipy|networkx)')
|
31
|
+
|
32
|
+
# However, be sure to keep OUR deprecation warnings
|
33
|
+
warnings.filterwarnings('default', category=DeprecationWarning,
|
34
|
+
message=r'[\s\S]*See https?://trac\.sagemath\.org/[0-9]* for details.')
|
35
|
+
|
36
|
+
# Ignore Python 3.9 deprecation warnings
|
37
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
38
|
+
module='ast')
|
39
|
+
|
40
|
+
# Ignore packaging 20.5 deprecation warnings
|
41
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
42
|
+
module='(.*[.]_vendor[.])?packaging')
|
43
|
+
|
44
|
+
# Ignore a few warnings triggered by pythran 0.12.1
|
45
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
46
|
+
message='\n\n `numpy.distutils` is deprecated since NumPy 1.23.0',
|
47
|
+
module='pythran.dist')
|
48
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
49
|
+
message='pkg_resources is deprecated as an API|'
|
50
|
+
'Deprecated call to `pkg_resources.declare_namespace(.*)`',
|
51
|
+
module='pkg_resources|setuptools.sandbox')
|
52
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
53
|
+
message='msvccompiler is deprecated and slated to be removed',
|
54
|
+
module='distutils.msvccompiler')
|
55
|
+
|
56
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
57
|
+
message='The distutils(.sysconfig module| package) is deprecated',
|
58
|
+
module='Cython|distutils|numpy|sage.env|sage.features')
|
59
|
+
|
60
|
+
# triggered by cython 0.29.32
|
61
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
62
|
+
message="'cgi' is deprecated and slated for removal in Python 3.13",
|
63
|
+
module='Cython')
|
64
|
+
|
65
|
+
# triggered by pyparsing 2.4.7
|
66
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
67
|
+
message="module 'sre_constants' is deprecated",
|
68
|
+
module='pyparsing')
|
69
|
+
|
70
|
+
# importlib.resources.path and ...read_binary are deprecated in python 3.11,
|
71
|
+
# but the replacement importlib.resources.files needs python 3.9
|
72
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
73
|
+
message=r'(path|read_binary) is deprecated\. Use files\(\) instead\.',
|
74
|
+
module='sage.repl.rich_output.output_(graphics|graphics3d|video)')
|
75
|
+
|
76
|
+
# triggered by sphinx
|
77
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
78
|
+
message="'imghdr' is deprecated and slated for removal in Python 3.13",
|
79
|
+
module='sphinx.util.images')
|
80
|
+
|
81
|
+
# triggered by docutils 0.19 on Python 3.11
|
82
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
83
|
+
message=r"Use setlocale\(\), getencoding\(\) and getlocale\(\) instead",
|
84
|
+
module='docutils.io')
|
85
|
+
|
86
|
+
# triggered by dateutil 2.8.2 and sphinx 7.0.1 on Python 3.12
|
87
|
+
# see: https://github.com/dateutil/dateutil/pull/1285
|
88
|
+
# see: https://github.com/sphinx-doc/sphinx/pull/11468
|
89
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
90
|
+
message=r"datetime.datetime.utcfromtimestamp\(\) is deprecated",
|
91
|
+
module='dateutil.tz.tz|sphinx.(builders.gettext|util.i18n)')
|
92
|
+
|
93
|
+
# triggered on Python 3.12
|
94
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
95
|
+
message=r"This process.* is multi-threaded, "
|
96
|
+
r"use of .*\(\) may lead to deadlocks in the child.")
|
97
|
+
|
98
|
+
# pickling of itertools is deprecated in Python 3.12
|
99
|
+
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
100
|
+
message=r"Pickle, copy, and deepcopy support will be "
|
101
|
+
r"removed from itertools in Python 3.14.")
|
102
|
+
|
103
|
+
# triggered in Python 3.9 on Redhat-based distributions
|
104
|
+
# https://github.com/sagemath/sage/issues/37863
|
105
|
+
# https://github.com/networkx/networkx/issues/7101
|
106
|
+
warnings.filterwarnings('ignore', category=RuntimeWarning,
|
107
|
+
message="networkx backend defined more than once: nx-loopback")
|
108
|
+
|
109
|
+
from sage.all__sagemath_objects import *
|
110
|
+
from sage.all__sagemath_environment import *
|
111
|
+
|
112
|
+
from sage.doctest.all import *
|
113
|
+
from sage.repl.all import *
|
114
|
+
from sage.misc.all__sagemath_repl import *
|
115
|
+
|
116
|
+
# For doctesting. These are overwritten later
|
117
|
+
|
118
|
+
Integer = int
|
119
|
+
RealNumber = float
|
sage/doctest/__init__.py
ADDED