rp 0.1.1347__tar.gz → 0.1.1348__tar.gz
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.
- {rp-0.1.1347 → rp-0.1.1348}/PKG-INFO +1 -1
- {rp-0.1.1347 → rp-0.1.1348}/rp/documentation.py +100 -57
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/stamp_tensor.py +119 -48
- {rp-0.1.1347 → rp-0.1.1348}/rp/ryan_vimrc.py +2 -2
- rp-0.1.1348/rp/version.py +1 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp.egg-info/PKG-INFO +1 -1
- rp-0.1.1348/version.py +1 -0
- rp-0.1.1347/rp/version.py +0 -1
- rp-0.1.1347/version.py +0 -1
- {rp-0.1.1347 → rp-0.1.1348}/.gitignore +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/QuickPython.iml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/QuickPython.time +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/encodings.xml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/inspectionProfiles/Project_Default.xml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/misc.xml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/modules.xml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/vcs.xml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.idea/workspace.xml +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.publish.sh.un~ +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.setup.py.un~ +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/.update_module_paths.py.un~ +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/LICENSE.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/README +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/Scrap +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/aoisdasd +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/increment_version.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/oijio +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/publish.sh +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/pyqtconsoletest.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/__main__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/Pyperclip.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/debug_comment.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/draw_code_minimap.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/graveyard.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/_compatibility.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/cache.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/file_io.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/grammar.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/normalizer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/pgen2/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/pgen2/generator.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/pgen2/grammar_parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/diff.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/errors.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar26.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar27.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar310.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar311.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar312.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar33.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar34.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar35.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar36.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar37.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar38.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/grammar39.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/pep8.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/prefix.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/token.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/tokenize.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/python/tree.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/tree.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/parso/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/peepdis/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/peepdis/core.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/peepdis/datastructures.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/peepdis/legacy.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/peepdis/preferences.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/powerpoint_converter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/profile_vim_plugins.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/bindings/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/bindings/flann_ctypes.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/exceptions.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/index.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/io/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/io/binary_dataset.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/io/dat_dataset.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/io/dataset.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/io/hdf5_dataset.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/io/npy_dataset.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/util/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyflann/util/weave_tools.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/__version__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/app.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/cli.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/cli_utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/config.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/config_error.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/config_parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/config_transformer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/validators/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/config/validators/options.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/logging.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/autocomplete/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/autocomplete/autocomplete_listener.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/common/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/common/jsonpath/JSONPathLexer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/common/jsonpath/JSONPathListener.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/common/jsonpath/JSONPathParser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/common/jsonpath/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/io/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/io/datasource.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/model/model.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/service/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/service/client.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/service/dispatcher.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/common/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/common/popup.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/common/selectable_text.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/autocomplete_popup/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/autocomplete_popup/autocomplete_popup.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/autocomplete_popup/autocomplete_popup_keymapper.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/help_bar/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/help_bar/help_bar.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/help_page/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/help_page/detailed_help_page.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/json_browser/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/json_browser/json_browser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/json_browser/json_browser_keymapper.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/query_bar/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/query_bar/query_bar.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/components/query_bar/query_bar_keymapper.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/array/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/array/array_end_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/array/array_end_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/array/array_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/array/array_start_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/array/array_unexpanded_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/json_composite_end_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/json_composite_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/json_listbox.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/json_listwalker.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/json_simple_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/json_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/node_factory.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/object/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/object/object_end_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/object/object_end_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/object/object_node.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/object/object_start_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/object/object_unexpanded_widget.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/boolean.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/generic.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/integer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/null.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/numeric.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/primitive/string.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/json_lib/selector/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/keymapper/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/keymapper/abstract_component_keymapper.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/keymapper/keymapper.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/keymapper/keymapper_config.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/keymapper/keymapper_config_parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/theme/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/theme/theme.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/theme/theme_config.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/theme/theme_config_parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/view_config.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/view_frame.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pyfx/view/view_manager.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pynput_recorder.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pypi_inspection.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/pytorch_module_explorer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/refactor/string_format/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/refactor/string_format/format_to_fstring_converter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/refactor/string_format/fstring_converter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/refactor/string_format/test_format_to_fstring_converter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/refactor/string_format/test_fstring_converter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/rp_black_macchiato.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/stdin_python_highlighter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/__main__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/canvas.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/colors.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/console.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/funcs.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/nbinput.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/shapes.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/graphics/graphics/sprite.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/letters.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tetris/tetrisShapes.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/__main__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/argparser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/meta.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/methods/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/methods/ansi.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/methods/ansi_methods.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/methods/ascii.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/methods/method.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/methods/sixel.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/timg/renderer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/torch_hooks.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/torch_tools.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tracetraptest.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/tweenline.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/libs/webeval_dataset.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/list_of_modules.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/application.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/auto_suggest.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/buffer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/buffer_mapping.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/cache.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/clipboard/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/clipboard/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/clipboard/in_memory.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/clipboard/pyperclip.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/completion.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/completers/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/completers/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/completers/filesystem.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/completers/system.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/regular_languages/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/regular_languages/compiler.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/regular_languages/completion.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/regular_languages/lexer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/regular_languages/regex_parser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/regular_languages/validation.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/telnet/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/telnet/application.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/telnet/log.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/telnet/protocol.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/telnet/server.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/validators/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/contrib/validators/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/document.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/enums.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/asyncio_base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/asyncio_posix.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/asyncio_win32.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/callbacks.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/inputhook.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/posix.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/posix_utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/select.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/eventloop/win32.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/filters/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/filters/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/filters/cli.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/filters/types.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/filters/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/history.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/input.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/interface.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/basic.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/completion.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/emacs.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/named_commands.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/scroll.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/bindings/vi.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/defaults.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/digraphs.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/input_processor.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/manager.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/registry.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/key_binding/vi_state.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/keys.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/containers.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/controls.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/dimension.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/lexers.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/margins.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/menus.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/mouse_handlers.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/processors.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/prompt.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/screen.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/toolbars.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/untitled.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/layout/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/mouse_events.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/output.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/reactive.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/renderer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/search_state.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/selection.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/shortcuts.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/styles/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/styles/base.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/styles/defaults.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/styles/from_dict.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/styles/from_pygments.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/styles/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/terminal/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/terminal/conemu_output.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/terminal/vt100_input.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/terminal/vt100_output.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/terminal/win32_input.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/terminal/win32_output.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/token.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/validation.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/prompt_toolkit/win32_types.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/r.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/__main__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/async_jedi_highlighter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/bash_completer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/completer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/completer_old.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/completion_ranker.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/completion_schema.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/completion_types.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/eventloop.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/filters.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/history_browser.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/ipython.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/jedi_highlighter.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/jedi_lexer.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/jedi_utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/key_bindings.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/layout.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/patch_linecache.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/path_completer_utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/prompt_style.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/python_input.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/r_iterm_comm.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/repl.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/__init__.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/commands.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/completers.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/completion_hints.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/grammar.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/key_bindings.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/layout.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/style.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/rp_ptpdb/toolbars.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/style.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/testable_keybindings.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/utils.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/rp_ptpython/validator.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp/web_evaluator.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp.egg-info/SOURCES.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp.egg-info/dependency_links.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp.egg-info/entry_points.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp.egg-info/requires.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/rp.egg-info/top_level.txt +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/setup.cfg +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/setup.py +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/untitled.c +0 -0
- {rp-0.1.1347 → rp-0.1.1348}/update_module_paths.py +0 -0
|
@@ -90,13 +90,24 @@ KEYBOARD SHORTCUTS:
|
|
|
90
90
|
⌥ [ insert [ at current position and ] at the end of the line without moving the cursor to the end of the line
|
|
91
91
|
⌥ ) insert ) at the end of the line without moving the cursor to the end of the line
|
|
92
92
|
⌥ ] insert ] at the end of the line without moving the cursor to the end of the line
|
|
93
|
+
⌥ { insert { at current position and } at the end of the line without moving the cursor to the end of the line
|
|
94
|
+
⌥ } insert } at the end of the line without moving the cursor to the end of the line
|
|
93
95
|
⌃ t loads previous buffer in history regardless of where cursor is (stands for top). Faster than spamming the up arrow key
|
|
94
96
|
⌃ b loads next buffer in history regardless of where cursor is (stands for bottom). Faster than spamming the down arrow key
|
|
97
|
+
⌃ z undo last action
|
|
98
|
+
⌃ y redo last undone action
|
|
95
99
|
⌥ ⌃ e Edit code with AI
|
|
100
|
+
F1 enable/disable mouse mode
|
|
101
|
+
F4 toggle between Vi and Emacs mode
|
|
102
|
+
F5 save F2 menu settings (when sidebar is visible)
|
|
103
|
+
F6 enable/disable paste mode
|
|
104
|
+
F7 enable/disable line wraps
|
|
105
|
+
F8 enable/disable microcompletions
|
|
96
106
|
LESS IMPORTANT AND MAYBE REMOVED IN FUTURE:
|
|
97
107
|
//While these keyboard shortcuts are kind of silly, I do find myself using them quite often
|
|
98
108
|
⌃ h inserts 'HISTORY'
|
|
99
109
|
⌃ p inserts 'PREV' (then 'NEXT', if pressed again)
|
|
110
|
+
⌃ u inserts 'UNDO'
|
|
100
111
|
⌥ m inserts 'MORE' (then 'MMORE', if pressed again)
|
|
101
112
|
⌥ s inserts 'self'
|
|
102
113
|
⌥ ⌃ v edit current text in vim (equivalent to the \vi microcompletion)
|
|
@@ -110,6 +121,7 @@ MICROCOMPLETIONS:
|
|
|
110
121
|
\wr write file (used like ‹`file.py\wr›. Saves the current buffer to 'file.py'. Not as safe as save file, because it will not create a backup file when overwriting.)
|
|
111
122
|
\lo load file (used like ‹`file.py\lo›. Loads 'file.py' into the current buffer)
|
|
112
123
|
\re replace (used like ‹`old`new\re›. It's a search-and-replace)
|
|
124
|
+
\rre replace varname (like \re but specifically for replacing variable names with proper scoping)
|
|
113
125
|
\py python (used like ‹`repr\py›, ‹`str.upper\py›, or ‹`print_fix\py› etc. Replaces current buffer's text with function(currenttext))
|
|
114
126
|
\go goto (used like ‹`10\go›. Bring the cursor to that line number.)
|
|
115
127
|
\dtl delete to line (used like ‹`5\dtl›. Like d5G in vim.)
|
|
@@ -121,6 +133,8 @@ MICROCOMPLETIONS:
|
|
|
121
133
|
\db debugger (toggles the existence of 'debug()' on the top of your prompt without moving your cursor)
|
|
122
134
|
\pu pudb (other debugger) (similar to \db, pudb is an alternative debugger, and this command also toggles a line on the top of the buffer. Whether you use this or \db is a matter of prefernece.)
|
|
123
135
|
\vi vim (opens up the current buffer in vim. Edit your code, then save the temp file and close vim. Your cursor's position will be shared between vim and rp.)
|
|
136
|
+
\mi micro (opens up the current buffer in micro editor. Similar to \vi but uses the micro editor.)
|
|
137
|
+
\na nano (opens up the current buffer in nano editor. Similar to \vi but uses the nano editor.)
|
|
124
138
|
\ed editor (opens up the current buffer in some text editor; might be nano, might be vim. Depends on what you have. This command is an alternative to \vi)
|
|
125
139
|
\ac align char (inserts ‹→›, aka the alignment character. Used before \al. See https://asciinema.org/a/KjFS2lT0shRyv4r82RtFENzlo)
|
|
126
140
|
\al align (aligns all alignment characters to the same column. Used after inserting \ac in multiple different places.)
|
|
@@ -147,13 +161,29 @@ MICROCOMPLETIONS:
|
|
|
147
161
|
\da delete all (deletes all text in the current buffer)
|
|
148
162
|
\sw strip whitespace (strips all trailing whitespace in the buffer)
|
|
149
163
|
\sc strip comments (removes all #comments in the buffer)
|
|
164
|
+
\sbl strip blank lines (removes all blank/empty lines from the buffer)
|
|
165
|
+
\stp strip (strips leading/trailing whitespace from entire buffer text)
|
|
166
|
+
\spl splitlines (converts buffer to Python list format with one line per element)
|
|
167
|
+
\lj line join (joins Python list format back to lines)
|
|
168
|
+
\rcl reverse columns (reverses each line character-by-character)
|
|
150
169
|
\d0l delete empty lines (removes empty lines in the buffer. d0l means there can be 0 consecutive empty lines)
|
|
170
|
+
\d1l delete empty lines (1) (allows max 1 consecutive empty line)
|
|
171
|
+
\d2l delete empty lines (2) (allows max 2 consecutive empty lines)
|
|
172
|
+
\d3l delete empty lines (3) (allows max 3 consecutive empty lines)
|
|
173
|
+
\d4l delete empty lines (4) (allows max 4 consecutive empty lines)
|
|
174
|
+
\d5l delete empty lines (5) (allows max 5 consecutive empty lines)
|
|
175
|
+
\d6l delete empty lines (6) (allows max 6 consecutive empty lines)
|
|
176
|
+
\d7l delete empty lines (7) (allows max 7 consecutive empty lines)
|
|
177
|
+
\d8l delete empty lines (8) (allows max 8 consecutive empty lines)
|
|
178
|
+
\d9l delete empty lines (9) (allows max 9 consecutive empty lines)
|
|
151
179
|
\rl reverse lines (reversed the order of all lines of text in the buffer)
|
|
152
180
|
\sl sort lines (sorts all lines in the buffer in alphabetical order)
|
|
153
181
|
\ya yapf autoformatter (autoformats your current code buffer using google's yapf library)
|
|
154
182
|
\bla black autoformatter (autoformats your current code buffer using the 'black' library: pypi.org/project/black )
|
|
155
183
|
\sim sort imports (sorts and organizes all imports in the current buffer, using the 'isort' library)
|
|
184
|
+
\cim clean imports (removes unused imports using the 'unimport' library)
|
|
156
185
|
\rms remove star (turns all 'from x import *' into explicit 'from x import y,z,...' etc)
|
|
186
|
+
\rmfs remove f-strings (converts f-strings to .format() calls)
|
|
157
187
|
\fn function name (writes the name of the current function)
|
|
158
188
|
\gg go to top (like gg in vim. bring cursor to the top of the buffer)
|
|
159
189
|
\GG go to bottom (like G in vim. bring cursor to the bottom of the buffer)
|
|
@@ -166,6 +196,7 @@ MICROCOMPLETIONS:
|
|
|
166
196
|
\fo for-loopify (envelops the whole buffer into a for loop. Useful for when you have a command but just want to run it over without DITTO, which pollutes HISTORY)
|
|
167
197
|
\wh while-loopify (envelops the whole buffer into a 'while True' loop. Useful for when you have a command but just want to loop it indefinitely)
|
|
168
198
|
\de functionify (envelops the whole buffer into a function body)
|
|
199
|
+
\inm if name main (inserts 'if __name__ == "__main__":' block)
|
|
169
200
|
\lss LS SEL (lets you select a file or folder and inserts the absolute path as a string)
|
|
170
201
|
\lsr (Relative) LS SEL (lets you select a file or folder and inserts the relative path as a string)
|
|
171
202
|
\rpr repr (is equivalent to `repr\py It will turn your buffer into a string literal)
|
|
@@ -181,6 +212,19 @@ MICROCOMPLETIONS:
|
|
|
181
212
|
\min minify (Minifies your code - making it as small as possible. Uses https://github.com/dflook/python-minifier)
|
|
182
213
|
\sdo strip docstrings (Removes all docstrings from your code)
|
|
183
214
|
\irp inline rp stuff (Works iteratively. Will inline anything in your code from rp, assuming it was coming from the implicit 'from rp import *'. Use it repeatedly, until you've gone deep enough.)
|
|
215
|
+
\qrp qualify rp (Makes rp imports explicit by qualifying them with the rp module prefix)
|
|
216
|
+
\ev extract variable (Extracts selected code into a separate variable assignment)
|
|
217
|
+
\und unindent (Decreases indentation of all lines in buffer)
|
|
218
|
+
\ind indent (Increases indentation of all lines in buffer)
|
|
219
|
+
\wi working index (Inserts buffer working index comment)
|
|
220
|
+
\dipa diff paste (Shows diff between buffer and pasted content)
|
|
221
|
+
\ditp diff tmux paste (Shows diff between buffer and tmux clipboard)
|
|
222
|
+
\divp diff vim paste (Shows diff between buffer and vim clipboard)
|
|
223
|
+
\diwp diff web paste (Shows diff between buffer and web URL content)
|
|
224
|
+
\dian diff ans (Shows diff between buffer and last answer value)
|
|
225
|
+
\dilp diff local paste (Shows diff between buffer and local file)
|
|
226
|
+
\diph diff pt history (Shows diff from prompt_toolkit history)
|
|
227
|
+
\qph query pt history (Queries prompt_toolkit history)
|
|
184
228
|
|
|
185
229
|
FOR LOOPS:
|
|
186
230
|
COMPREHENSION:
|
|
@@ -669,7 +713,7 @@ MICROCOMPLETIONS:
|
|
|
669
713
|
‹def f(88kwargs):› –––> ‹def f(**kwargs):¦›
|
|
670
714
|
‹def f(8args,88kwargs):› –––> ‹def f(*args,**kwargs):¦›
|
|
671
715
|
‹def f(8args,8kwargs):› –––> ‹def f(*args,**kwargs):¦› //TODO: Because we know that we can only have one *args in a function definition, the next * must be for kwargs, letting us save one keystroke
|
|
672
|
-
|
|
716
|
+
// (likewise, TODO: ‹def f(*args,*kwargs):› –––> ‹def f(*args,**kwargs):›)
|
|
673
717
|
FUNCTION CALLS:
|
|
674
718
|
‹print(8args)› –––> ‹print(*args)¦› //For function calls
|
|
675
719
|
‹print(88kwargs)› –––> ‹print(**kwargs)¦›
|
|
@@ -710,62 +754,61 @@ MICROCOMPLETIONS:
|
|
|
710
754
|
PSEUDO TERMINAL COMMANDS:
|
|
711
755
|
SUMMARY:
|
|
712
756
|
ALL COMMANDS:
|
|
713
|
-
<Input Modifier> <Namespace History> <
|
|
714
|
-
MOD ON UNDO
|
|
715
|
-
MOD OFF UNDO ON
|
|
716
|
-
MOD SET UNDO OFF
|
|
717
|
-
SMOD SET UNDO CLEAR
|
|
718
|
-
UNDO ALL
|
|
719
|
-
<Stack Traces>
|
|
720
|
-
MORE <Prompt Toolkit>
|
|
721
|
-
MMORE PT ON
|
|
722
|
-
DMORE PT OFF
|
|
723
|
-
AMORE PT
|
|
724
|
-
GMORE
|
|
725
|
-
HMORE <RP Settings>
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
PREV
|
|
761
|
-
PREV
|
|
762
|
-
PREV
|
|
763
|
-
PREV
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
RYAN XONSHRC
|
|
757
|
+
<Input Modifier> <Namespace History> <Documentation> <Others> <File System>
|
|
758
|
+
MOD ON UNDO HELP RETURN (RET) RM
|
|
759
|
+
MOD OFF UNDO ON HHELP SUSPEND (SUS) RN
|
|
760
|
+
MOD SET UNDO OFF SHORTCUTS CLEAR MV
|
|
761
|
+
SMOD SET UNDO CLEAR WARN LS
|
|
762
|
+
UNDO ALL <Startup Files> GPU LST
|
|
763
|
+
<Stack Traces> RPRC TOP LSD
|
|
764
|
+
MORE <Prompt Toolkit> VIMRC TAB LSN
|
|
765
|
+
MMORE PT ON TMUXRC TABA CD
|
|
766
|
+
DMORE PT OFF XONSHRC VDA CDP
|
|
767
|
+
AMORE PT RYAN RPRC MONITOR CDA
|
|
768
|
+
GMORE RYAN VIMRC UPDATE CDB
|
|
769
|
+
HMORE <RP Settings> RYAN TMUXRC ANS PRINT ON (APON) CDU
|
|
770
|
+
RMORE PT SAVE RYAN XONSHRC ANS PRINT OFF (APOF) CDH
|
|
771
|
+
VIMORE PT RESET RYAN RANGERRC ANS PRINT FAST (APFA) CDH FAST
|
|
772
|
+
PIPMORE SET TITLE SHELL (SH) CDH GIT
|
|
773
|
+
IMPMORE SET STYLE <Inspection> LEVEL CDM
|
|
774
|
+
PREVMORE ? DITTO CDZ
|
|
775
|
+
NEXTMORE <Shell Commands> ?? EDIT CDQ
|
|
776
|
+
! ??? ?r VARS CAT
|
|
777
|
+
<Command History> !! ?. RANT NCAT
|
|
778
|
+
HISTORY (HIST) SRUNA ?v FORK CCAT
|
|
779
|
+
GHISTORY (GHIST) SSRUNA ?s ?lj WANS ACAT
|
|
780
|
+
AHISTORY (AHIST) ?t ?j WANS+ CATA
|
|
781
|
+
CHISTORY (CHIST) <Python> ?h (?/) ARG NCATA
|
|
782
|
+
DHISTORY (DHIST) PY ?e VIM CCATA
|
|
783
|
+
VHISTORY (VHIST) PYM ?p VIMH ACATA
|
|
784
|
+
ALLHISTORY (ALLHIST) APY ?c ?+c ?c+ ?cp VIMA PWD
|
|
785
|
+
APYM ?i AVIMA CPWD
|
|
786
|
+
<Clipboards> PU ?vd GC OFF APWD
|
|
787
|
+
COPY PIP GC ON TAKE
|
|
788
|
+
PASTE RUN GC MKDIR
|
|
789
|
+
EPASTE RUNA OPEN
|
|
790
|
+
WCOPY <Unimportant> OPENH
|
|
791
|
+
WPASTE <Simple Timer> NUM COM OPENA
|
|
792
|
+
TCOPY TICTOC PROF DEEP DISK
|
|
793
|
+
TPASTE TICTOC ON CDH CLEAN DISKH
|
|
794
|
+
LCOPY TICTOC OFF ALS TREE
|
|
795
|
+
LPASTE ALSD TREE ALL
|
|
796
|
+
VCOPY <Profiler> ALSF TREE DIR
|
|
797
|
+
VPASTE PROF TREE ALL DIR
|
|
798
|
+
FCOPY PROF ON FD
|
|
799
|
+
FPASTE PROF OFF AFD (FDA)
|
|
800
|
+
MLPASTE PROF FLAME FDT
|
|
801
|
+
PROF FLAME OPEN FDTA
|
|
802
|
+
<'ans' History> PROF FLAME COPY FD SEL (FDS)
|
|
803
|
+
NEXT PROF FLAME PASTE LS SEL (LSS)
|
|
804
|
+
PREV LS REL (LSR)
|
|
805
|
+
PREV ON <Toggle Colors> LS FZF (LSZ)
|
|
806
|
+
PREV OFF FANSI ON LS QUE (LSQ)
|
|
807
|
+
PREV CLEAR FANSI OFF RANGER (RNG)
|
|
808
|
+
PREV ALL
|
|
809
|
+
<Module Reloading>
|
|
810
|
+
RELOAD ON
|
|
811
|
+
RELOAD OFF
|
|
769
812
|
|
|
770
813
|
// NOTE: When a command here is listed like:
|
|
771
814
|
// SOME COMMAND (SMCMD)
|
|
@@ -19,6 +19,14 @@ def _parse_origin(origin):
|
|
|
19
19
|
return [1.0, 1.0]
|
|
20
20
|
elif origin == 'center':
|
|
21
21
|
return [0.5, 0.5]
|
|
22
|
+
elif origin == 'top':
|
|
23
|
+
return [0.0, 0.5]
|
|
24
|
+
elif origin == 'bottom':
|
|
25
|
+
return [1.0, 0.5]
|
|
26
|
+
elif origin == 'left':
|
|
27
|
+
return [0.5, 0.0]
|
|
28
|
+
elif origin == 'right':
|
|
29
|
+
return [0.5, 1.0]
|
|
22
30
|
else:
|
|
23
31
|
raise ValueError("Unknown named origin: {0}".format(origin))
|
|
24
32
|
else:
|
|
@@ -113,31 +121,95 @@ def _stamp_bilinear(canvas, sprite, adjusted_offset, mode):
|
|
|
113
121
|
|
|
114
122
|
return result
|
|
115
123
|
|
|
116
|
-
def
|
|
117
|
-
"""
|
|
124
|
+
def _calculate_adjusted_offset(offset, sprite_shape, canvas_shape, sprite_origin=None, canvas_origin=None):
|
|
125
|
+
"""
|
|
126
|
+
Calculate adjusted offset for stamping, accounting for origins.
|
|
127
|
+
|
|
128
|
+
This is the DRY function that both stamp_tensor and crop_tensor use.
|
|
129
|
+
|
|
130
|
+
Args:
|
|
131
|
+
offset: Base offset (can be shorter than ndim, will be padded)
|
|
132
|
+
sprite_shape: Shape of sprite/source tensor
|
|
133
|
+
canvas_shape: Shape of canvas/destination tensor
|
|
134
|
+
sprite_origin: Origin within sprite (string or proportions, can be shorter than ndim)
|
|
135
|
+
canvas_origin: Origin within canvas (string or proportions, can be shorter than ndim)
|
|
136
|
+
|
|
137
|
+
Returns:
|
|
138
|
+
list: Adjusted offset for each dimension
|
|
139
|
+
"""
|
|
140
|
+
ndim = len(sprite_shape)
|
|
141
|
+
|
|
142
|
+
# Pad offset with 0s to match ndim
|
|
143
|
+
if offset is None:
|
|
144
|
+
offset = [0] * ndim
|
|
145
|
+
else:
|
|
146
|
+
if len(offset) > ndim:
|
|
147
|
+
raise ValueError("Offset length {0} cannot exceed dimensions {1}".format(len(offset), ndim))
|
|
148
|
+
offset = list(offset) + [0] * (ndim - len(offset))
|
|
149
|
+
|
|
150
|
+
# Parse and pad sprite_origin
|
|
151
|
+
if sprite_origin is not None:
|
|
152
|
+
sprite_origin = _parse_origin(sprite_origin)
|
|
153
|
+
if len(sprite_origin) > ndim:
|
|
154
|
+
raise ValueError("sprite_origin length {0} cannot exceed dimensions {1}".format(len(sprite_origin), ndim))
|
|
155
|
+
sprite_origin = list(sprite_origin) + [0.0] * (ndim - len(sprite_origin))
|
|
156
|
+
|
|
157
|
+
# Parse and pad canvas_origin
|
|
158
|
+
if canvas_origin is not None:
|
|
159
|
+
canvas_origin = _parse_origin(canvas_origin)
|
|
160
|
+
if len(canvas_origin) > ndim:
|
|
161
|
+
raise ValueError("canvas_origin length {0} cannot exceed dimensions {1}".format(len(canvas_origin), ndim))
|
|
162
|
+
canvas_origin = list(canvas_origin) + [0.0] * (ndim - len(canvas_origin))
|
|
163
|
+
|
|
164
|
+
# Calculate offsets from origins
|
|
165
|
+
sprite_offset = _get_proportional_offset(sprite_shape, sprite_origin)
|
|
166
|
+
canvas_offset = _get_proportional_offset(canvas_shape, canvas_origin)
|
|
167
|
+
|
|
168
|
+
# Combine into adjusted offset
|
|
169
|
+
adjusted_offset = [offset[i] + sprite_offset[i] - canvas_offset[i] for i in range(ndim)]
|
|
170
|
+
|
|
171
|
+
return adjusted_offset
|
|
172
|
+
|
|
173
|
+
def _calculate_stamp_bounds(canvas_shape, sprite_shape, adjusted_offset):
|
|
174
|
+
"""
|
|
175
|
+
Calculate slice bounds for stamping sprite onto canvas.
|
|
176
|
+
|
|
177
|
+
Returns:
|
|
178
|
+
tuple: (canvas_slices, sprite_slices) or None if no overlap
|
|
179
|
+
"""
|
|
118
180
|
int_offset = [int(x) for x in adjusted_offset]
|
|
119
181
|
|
|
120
182
|
canvas_slices = []
|
|
121
183
|
sprite_slices = []
|
|
122
|
-
|
|
123
|
-
for dim in range(
|
|
184
|
+
|
|
185
|
+
for dim in range(len(canvas_shape)):
|
|
124
186
|
start_canvas = max(0, int_offset[dim])
|
|
125
|
-
end_canvas = min(
|
|
126
|
-
|
|
187
|
+
end_canvas = min(canvas_shape[dim], int_offset[dim] + sprite_shape[dim])
|
|
188
|
+
|
|
127
189
|
start_sprite = max(0, -int_offset[dim])
|
|
128
190
|
end_sprite = start_sprite + (end_canvas - start_canvas)
|
|
129
191
|
|
|
130
192
|
if start_canvas >= end_canvas or start_sprite >= end_sprite:
|
|
131
|
-
return
|
|
193
|
+
return None
|
|
132
194
|
|
|
133
195
|
canvas_slices.append(slice(start_canvas, end_canvas))
|
|
134
196
|
sprite_slices.append(slice(start_sprite, end_sprite))
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
197
|
+
|
|
198
|
+
return tuple(canvas_slices), tuple(sprite_slices)
|
|
199
|
+
|
|
200
|
+
def _stamp_nearest(canvas, sprite, adjusted_offset, mode):
|
|
201
|
+
"""Apply nearest neighbor stamping directly to canvas regions."""
|
|
202
|
+
bounds = _calculate_stamp_bounds(canvas.shape, sprite.shape, adjusted_offset)
|
|
203
|
+
|
|
204
|
+
if bounds is None:
|
|
205
|
+
return canvas
|
|
206
|
+
|
|
207
|
+
canvas_slices, sprite_slices = bounds
|
|
208
|
+
canvas_region = canvas[canvas_slices]
|
|
209
|
+
sprite_region = sprite[sprite_slices]
|
|
210
|
+
|
|
139
211
|
# Apply mode directly to the overlapping regions
|
|
140
|
-
canvas[
|
|
212
|
+
canvas[canvas_slices] = mode(canvas_region, sprite_region)
|
|
141
213
|
|
|
142
214
|
return canvas
|
|
143
215
|
|
|
@@ -254,27 +326,8 @@ def stamp_tensor(canvas, sprite, offset=None, *, mutate=False, mode='add', sprit
|
|
|
254
326
|
if not canvas.ndim == sprite.ndim:
|
|
255
327
|
raise ValueError("Canvas and sprite must have same number of dimensions but canvas.shape=={0} and sprite.shape=={1}".format(canvas.shape, sprite.shape))
|
|
256
328
|
|
|
257
|
-
#
|
|
258
|
-
|
|
259
|
-
offset = [0] * canvas.ndim
|
|
260
|
-
else:
|
|
261
|
-
# Pad offset with 0s to match ndim
|
|
262
|
-
if len(offset) > canvas.ndim:
|
|
263
|
-
raise ValueError("Offset length {0} cannot exceed canvas dimensions {1}".format(len(offset), canvas.ndim))
|
|
264
|
-
offset = list(offset) + [0] * (canvas.ndim - len(offset))
|
|
265
|
-
|
|
266
|
-
# Parse and pad origins with 0s to match ndim
|
|
267
|
-
if sprite_origin is not None:
|
|
268
|
-
sprite_origin = _parse_origin(sprite_origin)
|
|
269
|
-
if len(sprite_origin) > canvas.ndim:
|
|
270
|
-
raise ValueError("sprite_origin length {0} cannot exceed canvas dimensions {1}".format(len(sprite_origin), canvas.ndim))
|
|
271
|
-
sprite_origin = list(sprite_origin) + [0.0] * (canvas.ndim - len(sprite_origin))
|
|
272
|
-
|
|
273
|
-
if canvas_origin is not None:
|
|
274
|
-
canvas_origin = _parse_origin(canvas_origin)
|
|
275
|
-
if len(canvas_origin) > canvas.ndim:
|
|
276
|
-
raise ValueError("canvas_origin length {0} cannot exceed canvas dimensions {1}".format(len(canvas_origin), canvas.ndim))
|
|
277
|
-
canvas_origin = list(canvas_origin) + [0.0] * (canvas.ndim - len(canvas_origin))
|
|
329
|
+
# Calculate adjusted offset using DRY function
|
|
330
|
+
adjusted_offset = _calculate_adjusted_offset(offset, sprite.shape, canvas.shape, sprite_origin, canvas_origin)
|
|
278
331
|
|
|
279
332
|
# Parse wrap parameter
|
|
280
333
|
if isinstance(wrap, bool):
|
|
@@ -287,10 +340,6 @@ def stamp_tensor(canvas, sprite, offset=None, *, mutate=False, mode='add', sprit
|
|
|
287
340
|
if not mutate:
|
|
288
341
|
canvas = canvas + 0
|
|
289
342
|
|
|
290
|
-
sprite_offset = _get_proportional_offset(sprite.shape, sprite_origin)
|
|
291
|
-
canvas_offset = _get_proportional_offset(canvas.shape, canvas_origin)
|
|
292
|
-
adjusted_offset = [offset[i] + sprite_offset[i] - canvas_offset[i] for i in range(len(offset))]
|
|
293
|
-
|
|
294
343
|
# Convert 'add', 'replace' etc to lambda function once
|
|
295
344
|
if mode in stamp_modes:
|
|
296
345
|
mode = stamp_modes[mode]
|
|
@@ -670,7 +719,19 @@ def demo_stamp_tensor():
|
|
|
670
719
|
)
|
|
671
720
|
)
|
|
672
721
|
|
|
673
|
-
def crop_tensor(
|
|
722
|
+
def crop_tensor(
|
|
723
|
+
tensor,
|
|
724
|
+
crop_shape,
|
|
725
|
+
origin=None,
|
|
726
|
+
*,
|
|
727
|
+
crop_offset=None,
|
|
728
|
+
tensor_offset=None,
|
|
729
|
+
tensor_origin=None,
|
|
730
|
+
crop_origin=None,
|
|
731
|
+
interp="nearest",
|
|
732
|
+
wrap=False,
|
|
733
|
+
copy=True
|
|
734
|
+
):
|
|
674
735
|
"""
|
|
675
736
|
Crop a tensor to the specified shape using stamp_tensor's flexible origin system.
|
|
676
737
|
|
|
@@ -684,6 +745,7 @@ def crop_tensor(tensor, crop_shape, origin=None, *, crop_offset=None, tensor_off
|
|
|
684
745
|
crop_origin: Origin point in the crop output ('top left', 'center', [0.5, 0.5], etc.)
|
|
685
746
|
interp: Interpolation method ('nearest' or 'bilinear')
|
|
686
747
|
wrap: Enable wrapping behavior (True/False or list of bools per dimension)
|
|
748
|
+
copy: If False, return a view when possible. If True, always return a copy.
|
|
687
749
|
|
|
688
750
|
Returns:
|
|
689
751
|
Cropped tensor of shape crop_shape
|
|
@@ -725,23 +787,32 @@ def crop_tensor(tensor, crop_shape, origin=None, *, crop_offset=None, tensor_off
|
|
|
725
787
|
crop_origin = origin
|
|
726
788
|
|
|
727
789
|
if len(crop_shape) < tensor.ndim:
|
|
728
|
-
#In future version of stamp_tensor with broadcasting, this might not be needed
|
|
729
790
|
crop_shape = tuple(crop_shape) + tuple(tensor.shape[len(crop_shape):])
|
|
730
|
-
|
|
731
|
-
#
|
|
732
|
-
output = rp.r._zeros_like(tensor, shape=crop_shape)
|
|
733
|
-
|
|
734
|
-
# The key insight: we stamp the source tensor onto the crop-sized output
|
|
791
|
+
|
|
792
|
+
# Calculate combined offset from crop_offset and tensor_offset
|
|
735
793
|
if crop_offset is None: crop_offset = []
|
|
736
794
|
if tensor_offset is None: tensor_offset = []
|
|
737
795
|
|
|
738
|
-
# Pad both to same length as tensor.ndim before subtracting
|
|
739
796
|
offset_len = max(map(len, [crop_offset, tensor_offset]))
|
|
740
|
-
crop_offset
|
|
797
|
+
crop_offset = list(crop_offset) + [0] * (offset_len - len(crop_offset))
|
|
741
798
|
tensor_offset = list(tensor_offset) + [0] * (offset_len - len(tensor_offset))
|
|
742
|
-
|
|
799
|
+
|
|
743
800
|
final_offset = [t - c for t, c in zip(tensor_offset, crop_offset)]
|
|
744
|
-
|
|
801
|
+
|
|
802
|
+
# Calculate adjusted offset to check for optimization
|
|
803
|
+
adjusted_offset = _calculate_adjusted_offset(final_offset, tensor.shape, crop_shape, tensor_origin, crop_origin)
|
|
804
|
+
|
|
805
|
+
# Fast path: return view for simple crops with copy=False
|
|
806
|
+
if not copy and interp == 'nearest' and not wrap and all(x == int(x) for x in adjusted_offset):
|
|
807
|
+
bounds = _calculate_stamp_bounds(crop_shape, tensor.shape, adjusted_offset)
|
|
808
|
+
if bounds:
|
|
809
|
+
canvas_slices, sprite_slices = bounds
|
|
810
|
+
if all(s.start == 0 and s.stop == crop_shape[i] for i, s in enumerate(canvas_slices)):
|
|
811
|
+
return tensor[sprite_slices] # Return view - no allocation!
|
|
812
|
+
|
|
813
|
+
# General case - use stamp_tensor
|
|
814
|
+
output = rp.r._zeros_like(tensor, shape=crop_shape)
|
|
815
|
+
|
|
745
816
|
return stamp_tensor(
|
|
746
817
|
output,
|
|
747
818
|
tensor,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1348
|
rp-0.1.1348/version.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1348
|
rp-0.1.1347/rp/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1347
|
rp-0.1.1347/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1347
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|