Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jupytext/jupytext
/ functions
Functions
1,277 in github.com/jupytext/jupytext
⨍
Functions
1,277
◇
Types & classes
73
↳
Endpoints
7
Function
test_formats_semicolon_separated
Test semicolon-separated format strings
tests/functional/config/test_config.py:372
Function
test_formats_toml_list_of_strings
Test TOML list with string format specifications
tests/functional/config/test_config.py:395
Function
test_formats_with_suffix
(tmpdir)
tests/functional/cli/test_cli_config.py:41
Function
test_full_path_dotdot
()
tests/unit/test_paired_paths.py:45
Function
test_full_path_in_tree_from_non_root
()
tests/unit/test_paired_paths.py:81
Function
test_full_path_in_tree_from_root
()
tests/unit/test_paired_paths.py:69
Function
test_full_path_in_tree_from_root_no_subfolder
()
tests/unit/test_paired_paths.py:75
Function
test_get_format_implementation
()
tests/unit/test_formats.py:117
Function
test_git_timestamp
(tmpdir, cwd_tmpdir, tmp_repo)
tests/external/pre_commit/test_pre_commit_mode.py:161
Function
test_glob_recursive
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:1113
Function
test_global_auto_pairing_works_with_empty_notebook
(tmpdir, cm)
tests/integration/contents_manager/test_contentsmanager.py:835
Function
test_global_config_file
(tmpdir, cm)
tests/integration/contents_manager/test_cm_config.py:106
Function
test_global_pairing_allows_to_save_other_file_types
This is a another test for #157: local format can be used to deactivate the global pairing
tests/integration/contents_manager/test_contentsmanager.py:1079
Function
test_guess_format
(py_marimo)
tests/external/test_marimo.py:31
Function
test_guess_format_hydrogen
()
tests/unit/test_formats.py:62
Function
test_guess_format_light
(python_file)
tests/unit/test_formats.py:21
Function
test_guess_format_percent
(percent_file)
tests/unit/test_formats.py:26
Function
test_guess_format_simple_hydrogen_with_magic
( nb="""# %% %time print("hello world!") """, )
tests/unit/test_formats.py:48
Function
test_guess_format_simple_percent
( nb="""# %% print("hello world!") """, )
tests/unit/test_formats.py:31
Function
test_guess_format_simple_percent_with_magic
( nb="""# %% # %time print("hello world!") """, )
tests/unit/test_formats.py:39
Function
test_guess_format_sphinx
(sphinx_file)
tests/unit/test_formats.py:57
Function
test_hash_changes_if_paired_file_is_edited
(tmp_path, cm, python_notebook)
tests/integration/contents_manager/test_contentsmanager.py:1868
Function
test_header_in_html_comment
()
tests/unit/test_header.py:157
Function
test_header_to_html_comment
(no_jupytext_version_number)
tests/unit/test_header.py:174
Function
test_header_to_metadata_and_cell_blank_line
()
tests/unit/test_header.py:20
Function
test_header_to_metadata_and_cell_metadata
()
tests/unit/test_header.py:63
Function
test_header_to_metadata_and_cell_no_blank_line
()
tests/unit/test_header.py:42
Function
test_hide_code_tag
( no_jupytext_version_number, nb=new_notebook( metadata={"jupytext": {"main_language": "matlab
tests/functional/simple_notebooks/test_read_simple_matlab.py:7
Function
test_hide_code_tag_percent_format
( no_jupytext_version_number, nb=new_notebook( metadata={"jupytext": {"main_language": "matlab
tests/functional/simple_notebooks/test_read_simple_matlab.py:23
Function
test_hide_notebook_metadata
Test the hide_notebook_metadata option
tests/functional/simple_notebooks/test_read_simple_markdown.py:890
Function
test_hide_notebook_metadata
(tmpdir, no_jupytext_version_number)
tests/functional/cli/test_cli_config.py:112
Function
test_hydrogen_to_ipynb
(hydrogen_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:87
Function
test_identity_source_write_read
Test that writing the notebook with jupytext, and read again, is the same as removing outputs
tests/functional/simple_notebooks/test_ipynb_to_py.py:7
Function
test_identity_source_write_read
Test that writing the notebook with R, and read again, is the same as removing outputs
tests/functional/simple_notebooks/test_ipynb_to_R.py:9
Function
test_identity_source_write_read
Test that writing the notebook with rmd, and read again, is the same as removing outputs
tests/functional/simple_notebooks/test_ipynb_to_rmd.py:7
Function
test_identity_source_write_read
(py_file)
tests/functional/round_trip/test_read_all_py.py:5
Function
test_identity_write_read
Test that writing the notebook with ipynb, and read again, yields identity
tests/functional/round_trip/test_rmd_to_ipynb.py:5
Function
test_ignore_metadata
()
tests/functional/others/test_cell_metadata.py:93
Function
test_ignore_unmatched_ignores
(tmpdir, cwd_tmpdir)
tests/external/pre_commit/test_pre_commit_mode.py:36
Function
test_inactive_cell
( text="""```python active="md" # This becomes a raw cell in Jupyter ``` """, expected=new_notebook(ce
tests/functional/simple_notebooks/test_read_simple_markdown.py:593
Function
test_inactive_cell_using_noeval
( text="""This is text ```python .noeval # This is python code. # It should not become a code cell ``` ""
tests/functional/simple_notebooks/test_read_simple_markdown.py:619
Function
test_inactive_cell_using_tag
( text="""```python tags=["active-md"] # This becomes a raw cell in Jupyter ``` """, expected=new_note
tests/functional/simple_notebooks/test_read_simple_markdown.py:606
Function
test_incomplete_header
( rmd="""--- title: Incomplete header ```{python} 1+1 ``` """, )
tests/functional/simple_notebooks/test_read_incomplete_rmd.py:4
Function
test_incorrect_config_message
(tmpdir, cfg_file, cfg_text, cm)
tests/integration/contents_manager/test_cm_config.py:91
Function
test_incorrect_notebook_causes_early_exit
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:815
Function
test_incorrectly_encoded
(text="this is an incorrect expression d={{4 b=3")
tests/functional/others/test_cell_metadata.py:195
Function
test_incorrectly_encoded_json
(text='this is an incorrect expression {"d": "}')
tests/functional/others/test_cell_metadata.py:200
Function
test_indented_bash_command
Reproduces https://github.com/mwouts/jupytext/issues/437
tests/functional/simple_notebooks/test_read_simple_python.py:1093
Function
test_indented_code_is_not_split
()
tests/functional/simple_notebooks/test_read_simple_markdown.py:505
Function
test_indented_comment
( text="""def f(): return 1 # f returns 1 def g(): return 2 # h returns 3 def h(): re
tests/functional/simple_notebooks/test_read_simple_python.py:89
Function
test_indented_magic
()
tests/unit/test_escape_magics.py:267
Function
test_indented_magic_commands
(script, cell)
tests/functional/simple_notebooks/test_read_simple_python.py:1181
Function
test_indented_markers_are_ignored
( script="""# region global # region indented a = 1 b = 2 # endregion # endregion """, )
tests/functional/simple_notebooks/test_read_folding_markers.py:131
Function
test_invalid_config_in_cm
(tmpdir, cm, cwd_tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:1546
Function
test_ipynb_is_ok
(rmd_file, tmpdir, cm)
tests/functional/others/test_save_multiple.py:31
Function
test_ipynb_notebooks_can_be_trusted
(ipynb_py_file, tmpdir, no_jupytext_version_number, cm)
tests/functional/others/test_trust_notebook.py:52
Function
test_ipynb_notebooks_can_be_trusted_even_with_metadata_filter
(ipynb_py_file, tmpdir, no_jupytext_version_number, cm)
tests/functional/others/test_trust_notebook.py:92
Function
test_ipynb_to_R_spin
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:165
Function
test_ipynb_to_Rmd
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:61
Function
test_ipynb_to_hydrogen
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:40
Function
test_ipynb_to_light
(ipynb_to_light, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:44
Function
test_ipynb_to_marimo
(marimo_compatible_ipynb, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:49
Function
test_ipynb_to_md
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:57
Function
test_ipynb_to_myst
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:66
Function
test_ipynb_to_pandoc
(ipynb_to_pandoc, no_jupytext_version_number)
tests/external/round_trip/test_mirror_external.py:13
Function
test_ipynb_to_percent
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:36
Function
test_ipynb_to_percent_to_light
(ipynb_file)
tests/functional/round_trip/test_mirror.py:124
Function
test_ipynb_to_py_then_update_test
Reproduce https://github.com/mwouts/jupytext/issues/83
tests/functional/cli/test_cli.py:293
Function
test_ipynb_to_python_sphinx
(ipynb_to_sphinx, no_jupytext_version_number)
tests/external/round_trip/test_mirror_external.py:26
Function
test_ipynb_to_python_vim
(ipynb_py_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:141
Function
test_ipynb_to_python_vscode
(ipynb_py_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:149
Function
test_ipynb_to_quarto
( ipynb_to_quarto, no_jupytext_version_number, )
tests/external/round_trip/test_mirror_external.py:18
Function
test_ipynb_to_r_light
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:157
Function
test_ipynb_to_r_percent
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:161
Function
test_ipynb_to_r_spin
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:169
Function
test_ipynb_to_scheme_light
(ipynb_scheme_file, extension, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:174
Function
test_ipynb_to_scheme_percent
(ipynb_scheme_file, extension, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:179
Function
test_ipython_help_are_commented_297
( text="""# This is a markdown cell # that ends with a question: float? # The next cell is also a markdow
tests/functional/simple_notebooks/test_read_simple_python.py:507
Function
test_is_untracked
(tmpdir, cwd_tmpdir, tmp_repo)
tests/external/pre_commit/test_pre_commit_mode.py:11
Function
test_is_valid_metadata_key
(key)
tests/functional/others/test_cell_metadata.py:220
Function
test_isolated_cell_with_magic
( pynb="""# --- # title: cell with isolated jupyter magic # --- # A magic command included in a markdown
tests/functional/simple_notebooks/test_read_simple_python.py:469
Function
test_issue_1440
Test that jupytext finds the config file even in parent of cwd
tests/functional/config/test_config.py:42
Function
test_jupyter_book_options_to_rmarkdown
By default, Jupyter Book tags are mapped to R Markdown options, and vice versa #337
tests/functional/others/test_hide_remove_input_outputs_rmarkdown.py:16
Function
test_jupyter_cell_is_not_split
()
tests/functional/simple_notebooks/test_read_simple_markdown.py:470
Function
test_jupytext_can_read_nbformat_3
( sample_notebook_v3_json, )
tests/functional/others/test_nbformat_version.py:28
Function
test_jupytext_cli_bare
(tmpdir)
tests/functional/simple_notebooks/test_read_simple_nomarker.py:58
Function
test_jupytext_commands_in_the_documentation_work
(tmpdir)
tests/external/docs/test_using_cli.py:17
Function
test_jupytext_config_cli
(tmp_path)
tests/integration/jupytext_config/test_jupytext_config.py:4
Function
test_jupytext_formats
(tmpdir, content_toml, formats_short_form)
tests/functional/config/test_config.py:192
Function
test_jupytext_gives_a_meaningful_error_when_writing_nbformat_3
(sample_notebook_v3, fmt)
tests/functional/others/test_nbformat_version.py:40
Function
test_jupytext_gives_a_meaningful_error_when_writing_nbformat_4_99
(sample_notebook_v4_99, fmt)
tests/functional/others/test_nbformat_version.py:51
Function
test_jupytext_jupyter_fs_metamanager
Test the basic get/save functions of Jupytext with a fs manager https://github.com/mwouts/jupytext/issues/618
tests/external/jupyter_fs/test_jupyter_fs.py:42
Function
test_jupytext_markdown_similar_to_nbconvert
Test that the nbconvert export for a notebook matches Jupytext's one
tests/functional/round_trip/test_jupytext_nbconvert_round_trip.py:38
Function
test_jupytext_orders_root_metadata
( tmp_path, cm, md="""--- title: Quick test jupytext: formats: md:myst notebook_metadata_filte
tests/integration/contents_manager/test_contentsmanager.py:1942
Function
test_jupytext_py_is_not_a_configuration_file
(tmpdir)
tests/functional/config/test_config.py:80
Function
test_jupytext_same_as_knitr_spin
(r_spin_file, tmpdir)
tests/functional/simple_notebooks/test_knitr_spin.py:4
Function
test_jupytext_set_formats_file_gives_an_informative_error
The user may type jupytext --set-formats notebook.md meaning jupytext --sync notebook.md
tests/functional/cli/test_cli.py:1067
Function
test_jupytext_sync_preserves_cell_ids
(tmpdir, cwd_tmpdir, notebook_with_outputs)
tests/functional/cli/test_cli.py:1122
Function
test_jupytext_sync_raises_on_synchronous_edits
(tmp_path, python_notebook, monkeypatch)
tests/functional/cli/test_synchronous_changes.py:15
Function
test_jupytext_to_file_emits_a_warning
The user may type jupytext notebook.ipynb --to script.py meaning jupytext notebook.ipynb -o script.py
tests/functional/cli/test_cli.py:1048
← previous
next →
701–800 of 1,277, ranked by callers