MCPcopy Create free account

hub / github.com/jupytext/jupytext / functions

Functions1,277 in github.com/jupytext/jupytext

↓ 4 callersMethodget_config
Return the Jupytext configuration for the given path
src/jupytext/async_contentsmanager.py:591
↓ 4 callersMethodget_config
Return the Jupytext configuration for the given path
src/jupytext/sync_contentsmanager.py:662
↓ 4 callersFunctionis_json_metadata
Is this a JSON metadata?
src/jupytext/cell_metadata.py:407
↓ 4 callersFunctionis_pandoc_available
Is Pandoc>=2.7.2 available?
src/jupytext/pandoc.py:37
↓ 4 callersFunctionis_valid_metadata_key
Can this text be a proper key?
src/jupytext/cell_metadata.py:328
↓ 4 callersMethodmarkdown_to_text
Escape the given source, for a markdown cell
src/jupytext/cell_to_text.py:143
↓ 4 callersFunctionmetadata_and_cell_to_header
Return the text header corresponding to a notebook, and remove the first cell of the notebook if it contained the header
src/jupytext/header.py:105
↓ 4 callersFunctionnext_instruction_is_function_or_class
Is the first non-empty, non-commented line of the cell either a function or a class?
src/jupytext/pep8.py:6
↓ 4 callersFunctionpandoc_version
Pandoc's version number
src/jupytext/pandoc.py:65
↓ 4 callersFunctionsame_language
Are those the same language?
src/jupytext/languages.py:150
↓ 4 callersFunctionstream
()
tests/functional/others/test_read_write_functions.py:50
↓ 4 callersMethodtrust_notebook
Trust the current notebook
src/jupytext/sync_contentsmanager.py:519
↓ 4 callersMethodupdate_fmt_with_notebook_options
Update format options with the values in the notebook metadata, and record those options in the notebook metadata
src/jupytext/jupytext.py:63
↓ 3 callersMethod__init__
(self, name, help)
src/jupytext_config/jupytext_config.py:21
↓ 3 callersMethod_drop_formats_if_they_dont_match_path
(self, path, fmt, formats)
src/jupytext/async_contentsmanager.py:632
↓ 3 callersMethod_drop_formats_if_they_dont_match_path
(self, path, fmt, formats)
src/jupytext/sync_contentsmanager.py:703
↓ 3 callersFunctionbase_path_and_adjusted_fmt
Return the base path and possibly adjusted Jupytext format that matches the current path
src/jupytext/paired_paths.py:194
↓ 3 callersFunctioncell_has_code
Is there any code in this cell?
src/jupytext/pep8.py:64
↓ 3 callersFunctioncheck_auto_ext
Replace the auto extension with the actual file extension, and raise a ValueError if it cannot be determined
src/jupytext/formats.py:783
↓ 3 callersFunctioncheck_file_version
Raise if file version in source file would override outputs
src/jupytext/formats.py:420
↓ 3 callersFunctioncount_lines_to_next_cell
How many blank lines between end of cell marker and next cell?
src/jupytext/cell_reader.py:87
↓ 3 callersFunctiondefault_root_level_metadata_filter
Return defaults for settings that promote or demote root level metadata.
src/jupytext/header.py:280
↓ 3 callersFunctiondoxygen_to_markdown
Doxygen to Markdown equations
src/jupytext/doxygen.py:14
↓ 3 callersMethoddrop_paired_notebook
Remove the current notebook from the list of paired notebooks
src/jupytext/async_contentsmanager.py:77
↓ 3 callersMethoddrop_paired_notebook
Remove the current notebook from the list of paired notebooks
src/jupytext/sync_contentsmanager.py:88
↓ 3 callersFunctiondrop_text_representation_metadata
When the notebook is saved to an ipynb file, we drop the text_representation metadata
src/jupytext/jupytext.py:492
↓ 3 callersFunctionescape_code_start
Escape code start with '#
src/jupytext/magics.py:164
↓ 3 callersFunctionfile_in_git_index
(path)
src/jupytext/cli.py:1089
↓ 3 callersFunctionfind_global_jupytext_configuration_file
Return the global Jupytext configuration file, if any
src/jupytext/config.py:310
↓ 3 callersFunctiongetKernelIconBase64String
* Get kernel icon SVG string
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:32
↓ 3 callersFunctiongetSelectedFormats
* Get a list of all selected formats
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:56
↓ 3 callersMethodget_parent_dir
The parent directory
src/jupytext/async_contentsmanager.py:523
↓ 3 callersMethodget_parent_dir
The parent directory
src/jupytext/sync_contentsmanager.py:588
↓ 3 callersFunctionget_prefix
(prefix_root: str, prefix_dir: str, prefix_file_name: str)
src/jupytext/paired_paths.py:78
↓ 3 callersMethodget_viewers
(self)
src/jupytext_config/labconfig.py:41
↓ 3 callersFunctioninsert_or_test_version_number
Should the format name and version number be inserted in text representations (not in tests!)
src/jupytext/header.py:38
↓ 3 callersFunctionis_escaped_code_start
Is the current line a possibly commented code start marker?
src/jupytext/magics.py:159
↓ 3 callersFunctionis_quarto_available
Is Quarto available?
src/jupytext/quarto.py:45
↓ 3 callersFunctionkernelspec_from_language
Return the python kernel that matches the current env, or the first kernel that matches the given language
src/jupytext/kernels.py:29
↓ 3 callersFunctionlatest_inputs_and_outputs
Given a notebook path, its format and paired formats, and a function that returns the timestamp for each (or None if the file does not exist), ret
src/jupytext/pairs.py:15
↓ 3 callersFunctionload_jupytext_config
Return the jupytext configuration file in the same folder, or in a parent folder, of the current file, if any
src/jupytext/config.py:427
↓ 3 callersFunctionmarimo
(*args: str)
src/jupytext/marimo.py:144
↓ 3 callersFunctionmarimo_version
Marimo's version number
src/jupytext/marimo.py:40
↓ 3 callersFunctionmarkdown_to_doxygen
Markdown to Doxygen equations
src/jupytext/doxygen.py:7
↓ 3 callersFunctionmetadata_filter_as_string
Convert a filter, represented as a dictionary with 'additional' and 'excluded' entries, to a string
src/jupytext/metadata_filter.py:64
↓ 3 callersFunctionpandoc
Execute pandoc with the given arguments
src/jupytext/pandoc.py:17
↓ 3 callersFunctionparagraph_is_fully_commented
Is the paragraph fully commented?
src/jupytext/cell_reader.py:65
↓ 3 callersFunctionparse_jupytext_args
Command line parser for jupytext
src/jupytext/cli.py:86
↓ 3 callersFunctionpreferred_format
Return the preferred format for the given extension
src/jupytext/config.py:259
↓ 3 callersFunctionquarto
Execute quarto with the given arguments
src/jupytext/quarto.py:23
↓ 3 callersFunctionraise_if_marimo_is_not_available
Raise with an informative error message if Marimo is not available
src/jupytext/marimo.py:25
↓ 3 callersFunctionraise_if_pandoc_is_not_available
Raise with an informative error message if pandoc is not available
src/jupytext/pandoc.py:46
↓ 3 callersFunctionraise_if_quarto_is_not_available
Raise with an informative error message if quarto is not available
src/jupytext/quarto.py:54
↓ 3 callersFunctionrmd_options_to_metadata
Parse rmd options and return a metadata dictionary
src/jupytext/cell_metadata.py:235
↓ 3 callersFunctionround_trip_cell_metadata
(cell_metadata)
tests/functional/simple_notebooks/test_read_simple_rmd.py:125
↓ 3 callersMethodsave
Save the file model and return the model with no content.
src/jupytext/async_contentsmanager.py:119
↓ 3 callersMethodset_default_viewers
(self, doctypes=None)
src/jupytext_config/labconfig.py:52
↓ 3 callersFunctiontry_eval_metadata
Evaluate the metadata to a python object, if possible
src/jupytext/cell_metadata.py:275
↓ 3 callersFunctionupdate_jupytext_formats_metadata
Update the jupytext_format metadata in the Jupyter notebook
src/jupytext/formats.py:503
↓ 3 callersMethodupdate_paired_notebooks
Update the list of paired notebooks to include/update the current pair
src/jupytext/async_contentsmanager.py:88
↓ 3 callersFunctionwrite_pair
Call the function 'write_one_file' on each of the paired path/formats
src/jupytext/sync_pairs.py:40
↓ 2 callersFunction_multilines
(obj)
src/jupytext/compare.py:21
↓ 2 callersFunction_normalize
Strip the marimo __generated_with version line so tests don't break on upgrades.
tests/unit/test_landing_page_notebook.py:27
↓ 2 callersMethodall_nb_extensions
All extensions that should be classified as notebooks
src/jupytext/async_contentsmanager.py:73
↓ 2 callersMethodall_nb_extensions
All extensions that should be classified as notebooks
src/jupytext/sync_contentsmanager.py:81
↓ 2 callersFunctionbase64ToSvgStr
* Make a SVG string from base64 image
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:48
↓ 2 callersFunctioncell_just_has_safe_outputs
(cell)
tests/functional/others/test_trust_notebook.py:36
↓ 2 callersMethodcell_to_text
Return the text representation for the cell
src/jupytext/cell_to_text.py:125
↓ 2 callersMethodcheck_all_timestamps
(self)
src/jupytext/cli.py:1176
↓ 2 callersMethodcheck_file_is_newest
Check that the given file is the most recent among all files whose timestamp was recorded by this TimestampChecker. Return its timestamp.
src/jupytext/cli.py:1180
↓ 2 callersMethodcount_special_chars
Update parenthesis counters
src/jupytext/cell_metadata.py:166
↓ 2 callersFunctioncreate_mirror_file_if_missing
(mirror_file, notebook, fmt)
src/jupytext/compare.py:335
↓ 2 callersFunctioncreate_prefix_dir
Create directory if fmt has a prefix
src/jupytext/jupytext.py:555
↓ 2 callersMethodcreate_prefix_dir
Create the prefix dir, if missing
src/jupytext/async_contentsmanager.py:110
↓ 2 callersMethodcreate_prefix_dir
Create the prefix dir, if missing
src/jupytext/sync_contentsmanager.py:121
↓ 2 callersFunctionexec_command
Execute the desired command, and pipe the given input into it
src/jupytext/cli.py:1257
↓ 2 callersMethodextract_content
(self, lines)
src/jupytext/cell_reader.py:270
↓ 2 callersFunctionfiltered_cell
Cell type, metadata and source from given cell
src/jupytext/compare.py:50
↓ 2 callersFunctionfiltered_notebook_metadata
Notebook metadata, filtered for metadata added by Jupytext itself
src/jupytext/compare.py:66
↓ 2 callersFunctionfmt_if_not_ipynb
(nb)
src/jupytext/cli.py:433
↓ 2 callersFunctiongetNotebookFileExtension
* Get file extension of current notebook widget
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:38
↓ 2 callersFunctionget_parser
Return the markdown-it parser to use.
src/jupytext/myst.py:56
↓ 2 callersFunctionget_prefix_root_prefix_dir_prefix_file_name
(prefix: str)
src/jupytext/paired_paths.py:69
↓ 2 callersMethodhtml_comment
Protect a Markdown or Raw cell with HTML comments
src/jupytext/cell_to_text.py:204
↓ 2 callersMethodin_global_expression
Currently inside an expression
src/jupytext/cell_metadata.py:156
↓ 2 callersFunctionincorrectly_encoded_metadata
Encode a text that Jupytext cannot parse as a cell metadata
src/jupytext/cell_metadata.py:319
↓ 2 callersFunctioninsert_jupytext_info_and_filter_metadata
Update the notebook metadata to include Jupytext information, and filter the notebook metadata according to the default or user filter
src/jupytext/header.py:82
↓ 2 callersFunctionis_jupyter_language
Is this a jupyter language?
src/jupytext/cell_metadata.py:333
↓ 2 callersFunctionis_marimo_available
Is Marimo available?
src/jupytext/marimo.py:16
↓ 2 callersFunctionjupytext_single_file
Apply the jupytext command, with given arguments, to a single file
src/jupytext/cli.py:513
↓ 2 callersFunctionlast_two_lines_blank
Are the two last lines blank, and not the third last one?
src/jupytext/cell_reader.py:100
↓ 2 callersFunctionlazy_write
Write the notebook only if it has changed
src/jupytext/cli.py:814
↓ 2 callersFunctionlist_notebooks
All notebooks in the directory notebooks/path, or in the package itself
tests/conftest.py:177
↓ 2 callersMethodload_config_file
Load the configuration file
src/jupytext/async_contentsmanager.py:561
↓ 2 callersMethodload_config_file
Load the configuration file
src/jupytext/sync_contentsmanager.py:628
↓ 2 callersFunctionmake_notebook
()
tests/unit/test_landing_page_notebook.py:50
↓ 2 callersFunctionmarimo_py_to_notebook
Convert a Marimo script to a Jupyter notebook, using Marimo
src/jupytext/marimo.py:48
↓ 2 callersFunctionmetadata_to_double_percent_options
Metadata to double percent lines
src/jupytext/cell_metadata.py:307
↓ 2 callersFunctionneed_explicit_marker
Does this code needs an explicit cell marker?
src/jupytext/magics.py:91
↓ 2 callersFunctionnext_code_is_indented
Is the next unescaped line indented?
src/jupytext/cell_reader.py:78
← previousnext →101–200 of 1,277, ranked by callers