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
↓ 4 callers
Method
get_config
Return the Jupytext configuration for the given path
src/jupytext/async_contentsmanager.py:591
↓ 4 callers
Method
get_config
Return the Jupytext configuration for the given path
src/jupytext/sync_contentsmanager.py:662
↓ 4 callers
Function
is_json_metadata
Is this a JSON metadata?
src/jupytext/cell_metadata.py:407
↓ 4 callers
Function
is_pandoc_available
Is Pandoc>=2.7.2 available?
src/jupytext/pandoc.py:37
↓ 4 callers
Function
is_valid_metadata_key
Can this text be a proper key?
src/jupytext/cell_metadata.py:328
↓ 4 callers
Method
markdown_to_text
Escape the given source, for a markdown cell
src/jupytext/cell_to_text.py:143
↓ 4 callers
Function
metadata_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 callers
Function
next_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 callers
Function
pandoc_version
Pandoc's version number
src/jupytext/pandoc.py:65
↓ 4 callers
Function
same_language
Are those the same language?
src/jupytext/languages.py:150
↓ 4 callers
Function
stream
()
tests/functional/others/test_read_write_functions.py:50
↓ 4 callers
Method
trust_notebook
Trust the current notebook
src/jupytext/sync_contentsmanager.py:519
↓ 4 callers
Method
update_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 callers
Method
__init__
(self, name, help)
src/jupytext_config/jupytext_config.py:21
↓ 3 callers
Method
_drop_formats_if_they_dont_match_path
(self, path, fmt, formats)
src/jupytext/async_contentsmanager.py:632
↓ 3 callers
Method
_drop_formats_if_they_dont_match_path
(self, path, fmt, formats)
src/jupytext/sync_contentsmanager.py:703
↓ 3 callers
Function
base_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 callers
Function
cell_has_code
Is there any code in this cell?
src/jupytext/pep8.py:64
↓ 3 callers
Function
check_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 callers
Function
check_file_version
Raise if file version in source file would override outputs
src/jupytext/formats.py:420
↓ 3 callers
Function
count_lines_to_next_cell
How many blank lines between end of cell marker and next cell?
src/jupytext/cell_reader.py:87
↓ 3 callers
Function
default_root_level_metadata_filter
Return defaults for settings that promote or demote root level metadata.
src/jupytext/header.py:280
↓ 3 callers
Function
doxygen_to_markdown
Doxygen to Markdown equations
src/jupytext/doxygen.py:14
↓ 3 callers
Method
drop_paired_notebook
Remove the current notebook from the list of paired notebooks
src/jupytext/async_contentsmanager.py:77
↓ 3 callers
Method
drop_paired_notebook
Remove the current notebook from the list of paired notebooks
src/jupytext/sync_contentsmanager.py:88
↓ 3 callers
Function
drop_text_representation_metadata
When the notebook is saved to an ipynb file, we drop the text_representation metadata
src/jupytext/jupytext.py:492
↓ 3 callers
Function
escape_code_start
Escape code start with '#
src/jupytext/magics.py:164
↓ 3 callers
Function
file_in_git_index
(path)
src/jupytext/cli.py:1089
↓ 3 callers
Function
find_global_jupytext_configuration_file
Return the global Jupytext configuration file, if any
src/jupytext/config.py:310
↓ 3 callers
Function
getKernelIconBase64String
* Get kernel icon SVG string
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:32
↓ 3 callers
Function
getSelectedFormats
* Get a list of all selected formats
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:56
↓ 3 callers
Method
get_parent_dir
The parent directory
src/jupytext/async_contentsmanager.py:523
↓ 3 callers
Method
get_parent_dir
The parent directory
src/jupytext/sync_contentsmanager.py:588
↓ 3 callers
Function
get_prefix
(prefix_root: str, prefix_dir: str, prefix_file_name: str)
src/jupytext/paired_paths.py:78
↓ 3 callers
Method
get_viewers
(self)
src/jupytext_config/labconfig.py:41
↓ 3 callers
Function
insert_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 callers
Function
is_escaped_code_start
Is the current line a possibly commented code start marker?
src/jupytext/magics.py:159
↓ 3 callers
Function
is_quarto_available
Is Quarto available?
src/jupytext/quarto.py:45
↓ 3 callers
Function
kernelspec_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 callers
Function
latest_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 callers
Function
load_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 callers
Function
marimo
(*args: str)
src/jupytext/marimo.py:144
↓ 3 callers
Function
marimo_version
Marimo's version number
src/jupytext/marimo.py:40
↓ 3 callers
Function
markdown_to_doxygen
Markdown to Doxygen equations
src/jupytext/doxygen.py:7
↓ 3 callers
Function
metadata_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 callers
Function
pandoc
Execute pandoc with the given arguments
src/jupytext/pandoc.py:17
↓ 3 callers
Function
paragraph_is_fully_commented
Is the paragraph fully commented?
src/jupytext/cell_reader.py:65
↓ 3 callers
Function
parse_jupytext_args
Command line parser for jupytext
src/jupytext/cli.py:86
↓ 3 callers
Function
preferred_format
Return the preferred format for the given extension
src/jupytext/config.py:259
↓ 3 callers
Function
quarto
Execute quarto with the given arguments
src/jupytext/quarto.py:23
↓ 3 callers
Function
raise_if_marimo_is_not_available
Raise with an informative error message if Marimo is not available
src/jupytext/marimo.py:25
↓ 3 callers
Function
raise_if_pandoc_is_not_available
Raise with an informative error message if pandoc is not available
src/jupytext/pandoc.py:46
↓ 3 callers
Function
raise_if_quarto_is_not_available
Raise with an informative error message if quarto is not available
src/jupytext/quarto.py:54
↓ 3 callers
Function
rmd_options_to_metadata
Parse rmd options and return a metadata dictionary
src/jupytext/cell_metadata.py:235
↓ 3 callers
Function
round_trip_cell_metadata
(cell_metadata)
tests/functional/simple_notebooks/test_read_simple_rmd.py:125
↓ 3 callers
Method
save
Save the file model and return the model with no content.
src/jupytext/async_contentsmanager.py:119
↓ 3 callers
Method
set_default_viewers
(self, doctypes=None)
src/jupytext_config/labconfig.py:52
↓ 3 callers
Function
try_eval_metadata
Evaluate the metadata to a python object, if possible
src/jupytext/cell_metadata.py:275
↓ 3 callers
Function
update_jupytext_formats_metadata
Update the jupytext_format metadata in the Jupyter notebook
src/jupytext/formats.py:503
↓ 3 callers
Method
update_paired_notebooks
Update the list of paired notebooks to include/update the current pair
src/jupytext/async_contentsmanager.py:88
↓ 3 callers
Function
write_pair
Call the function 'write_one_file' on each of the paired path/formats
src/jupytext/sync_pairs.py:40
↓ 2 callers
Function
_multilines
(obj)
src/jupytext/compare.py:21
↓ 2 callers
Function
_normalize
Strip the marimo __generated_with version line so tests don't break on upgrades.
tests/unit/test_landing_page_notebook.py:27
↓ 2 callers
Method
all_nb_extensions
All extensions that should be classified as notebooks
src/jupytext/async_contentsmanager.py:73
↓ 2 callers
Method
all_nb_extensions
All extensions that should be classified as notebooks
src/jupytext/sync_contentsmanager.py:81
↓ 2 callers
Function
base64ToSvgStr
* Make a SVG string from base64 image
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:48
↓ 2 callers
Function
cell_just_has_safe_outputs
(cell)
tests/functional/others/test_trust_notebook.py:36
↓ 2 callers
Method
cell_to_text
Return the text representation for the cell
src/jupytext/cell_to_text.py:125
↓ 2 callers
Method
check_all_timestamps
(self)
src/jupytext/cli.py:1176
↓ 2 callers
Method
check_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 callers
Method
count_special_chars
Update parenthesis counters
src/jupytext/cell_metadata.py:166
↓ 2 callers
Function
create_mirror_file_if_missing
(mirror_file, notebook, fmt)
src/jupytext/compare.py:335
↓ 2 callers
Function
create_prefix_dir
Create directory if fmt has a prefix
src/jupytext/jupytext.py:555
↓ 2 callers
Method
create_prefix_dir
Create the prefix dir, if missing
src/jupytext/async_contentsmanager.py:110
↓ 2 callers
Method
create_prefix_dir
Create the prefix dir, if missing
src/jupytext/sync_contentsmanager.py:121
↓ 2 callers
Function
exec_command
Execute the desired command, and pipe the given input into it
src/jupytext/cli.py:1257
↓ 2 callers
Method
extract_content
(self, lines)
src/jupytext/cell_reader.py:270
↓ 2 callers
Function
filtered_cell
Cell type, metadata and source from given cell
src/jupytext/compare.py:50
↓ 2 callers
Function
filtered_notebook_metadata
Notebook metadata, filtered for metadata added by Jupytext itself
src/jupytext/compare.py:66
↓ 2 callers
Function
fmt_if_not_ipynb
(nb)
src/jupytext/cli.py:433
↓ 2 callers
Function
getNotebookFileExtension
* Get file extension of current notebook widget
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:38
↓ 2 callers
Function
get_parser
Return the markdown-it parser to use.
src/jupytext/myst.py:56
↓ 2 callers
Function
get_prefix_root_prefix_dir_prefix_file_name
(prefix: str)
src/jupytext/paired_paths.py:69
↓ 2 callers
Method
html_comment
Protect a Markdown or Raw cell with HTML comments
src/jupytext/cell_to_text.py:204
↓ 2 callers
Method
in_global_expression
Currently inside an expression
src/jupytext/cell_metadata.py:156
↓ 2 callers
Function
incorrectly_encoded_metadata
Encode a text that Jupytext cannot parse as a cell metadata
src/jupytext/cell_metadata.py:319
↓ 2 callers
Function
insert_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 callers
Function
is_jupyter_language
Is this a jupyter language?
src/jupytext/cell_metadata.py:333
↓ 2 callers
Function
is_marimo_available
Is Marimo available?
src/jupytext/marimo.py:16
↓ 2 callers
Function
jupytext_single_file
Apply the jupytext command, with given arguments, to a single file
src/jupytext/cli.py:513
↓ 2 callers
Function
last_two_lines_blank
Are the two last lines blank, and not the third last one?
src/jupytext/cell_reader.py:100
↓ 2 callers
Function
lazy_write
Write the notebook only if it has changed
src/jupytext/cli.py:814
↓ 2 callers
Function
list_notebooks
All notebooks in the directory notebooks/path, or in the package itself
tests/conftest.py:177
↓ 2 callers
Method
load_config_file
Load the configuration file
src/jupytext/async_contentsmanager.py:561
↓ 2 callers
Method
load_config_file
Load the configuration file
src/jupytext/sync_contentsmanager.py:628
↓ 2 callers
Function
make_notebook
()
tests/unit/test_landing_page_notebook.py:50
↓ 2 callers
Function
marimo_py_to_notebook
Convert a Marimo script to a Jupyter notebook, using Marimo
src/jupytext/marimo.py:48
↓ 2 callers
Function
metadata_to_double_percent_options
Metadata to double percent lines
src/jupytext/cell_metadata.py:307
↓ 2 callers
Function
need_explicit_marker
Does this code needs an explicit cell marker?
src/jupytext/magics.py:91
↓ 2 callers
Function
next_code_is_indented
Is the next unescaped line indented?
src/jupytext/cell_reader.py:78
← previous
next →
101–200 of 1,277, ranked by callers