MCPcopy Create free account

hub / github.com/jupytext/jupytext / functions

Functions1,277 in github.com/jupytext/jupytext

↓ 2 callersFunctionnormalize_formats
Normalize the formats option into a list of string-encoded paired formats
src/jupytext/config.py:379
↓ 2 callersFunctionnotebook_metadata
()
tests/unit/test_compare.py:18
↓ 2 callersFunctionnotebook_to_marimo_py
Convert a notebook to its Marimo script
src/jupytext/marimo.py:116
↓ 2 callersMethodoptions_to_metadata
Return language (str) and metadata (dict) from the option line
src/jupytext/cell_reader.py:188
↓ 2 callersMethodoptions_to_metadata
(self, options)
src/jupytext/cell_reader.py:360
↓ 2 callersFunctionparse_rmd_options
Given a R markdown option line, returns a list of pairs name,value :param line: :return:
src/jupytext/cell_metadata.py:192
↓ 2 callersFunctionperformance_plot
(perf, title)
demo/Benchmarking Jupytext.py:69
↓ 2 callersFunctionpopulateNotebook
* Helper function to populate notebook cells and run them
jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/tests/jupytext-notebook.spec.ts:60
↓ 2 callersFunctionraise_if_myst_is_not_available
()
src/jupytext/myst.py:39
↓ 2 callersFunctionread_fenced_cell
Parse (and validate) the full directive text.
src/jupytext/myst.py:181
↓ 2 callersFunctionread_metadata
Return the header metadata
src/jupytext/formats.py:272
↓ 2 callersFunctionrelax_json_loads
Parse a JSON string or similar
src/jupytext/cell_metadata.py:388
↓ 2 callersFunctionreplace_issue_number_with_links
(text)
tests/functional/docs/test_changelog.py:9
↓ 2 callersFunctionrestore_filtered_metadata
Update the filtered metadata with the part of the unfiltered one that matches the filter
src/jupytext/metadata_filter.py:245
↓ 2 callersFunctionsame_content
Is the content of two cells the same, up to reformatting by black
src/jupytext/combine.py:26
↓ 2 callersFunctionsample_perf
(nb, n=30)
demo/Benchmarking Jupytext.py:43
↓ 2 callersFunctionsecond_level
Return a dictionary with the nested keys, e.g. returns {'I':['a', 'b']} when keys=['I.a', 'I.b']
src/jupytext/metadata_filter.py:185
↓ 2 callersFunctionseparator
Return the local path separator (always / in the contents manager)
src/jupytext/paired_paths.py:62
↓ 2 callersFunctionset_format_options
Apply the desired format options to the format description fmt
src/jupytext/cli.py:1047
↓ 2 callersFunctionset_kernelspec_from_language
Set the kernel specification based on the 'main_language' metadata
src/jupytext/kernels.py:17
↓ 2 callersFunctionskip_if_format_missing
Check whether MyST or Pandoc are available and skip if not
tests/functional/cli/test_cli.py:914
↓ 2 callersFunctionsplit_and_strip
(opt)
tests/functional/others/test_cell_metadata.py:81
↓ 2 callersMethodstart_of_new_markdown_cell
Does this line starts a new markdown cell? Then, return the cell marker
src/jupytext/cell_reader.py:838
↓ 2 callersMethodunset_default_viewers
(self, doctypes=None)
src/jupytext_config/labconfig.py:64
↓ 2 callersFunctionupdateWidgetExtensions
()
jupyterlab/packages/jupyterlab-jupytext-extension/src/factory.ts:75
↓ 2 callersMethoduse_triple_quotes
Should this markdown cell use triple quote?
src/jupytext/cell_to_text.py:113
↓ 1 callersMethod_get_with_require_hash_argument
Takes a path for an entity and returns its model
src/jupytext/async_contentsmanager.py:194
↓ 1 callersMethod_get_with_require_hash_argument
Takes a path for an entity and returns its model
src/jupytext/sync_contentsmanager.py:218
↓ 1 callersFunction_py_logical_values
(rbool)
src/jupytext/cell_metadata.py:73
↓ 1 callersFunction_read
Read a notebook; mark cells trusted when the signature is valid.
src/jupytext/cli.py:544
↓ 1 callersFunction_writes
Serialize a notebook; sign the result when every cell is trusted.
src/jupytext/cli.py:551
↓ 1 callersFunctionadd
(num1: number, num2: number)
tests/data/notebooks/outputs/ipynb_to_script/itypescript.ts:15
↓ 1 callersFunctionadd
(num1, num2)
tests/data/notebooks/outputs/ipynb_to_script/ijavascript.js:17
↓ 1 callersFunctionadd
(num1: number, num2: number)
tests/data/notebooks/outputs/ipynb_to_percent/itypescript.ts:17
↓ 1 callersFunctionadd
(num1, num2)
tests/data/notebooks/outputs/ipynb_to_percent/ijavascript.js:21
↓ 1 callersFunctionadd
(num1: number, num2: number)
tests/data/notebooks/outputs/ipynb_to_hydrogen/itypescript.ts:17
↓ 1 callersFunctionadd
(num1, num2)
tests/data/notebooks/outputs/ipynb_to_hydrogen/ijavascript.js:21
↓ 1 callersFunctionarrowAdd
(num1: number, num2: number)
tests/data/notebooks/outputs/ipynb_to_script/itypescript.ts:20
↓ 1 callersFunctionarrowAdd
(num1, num2)
tests/data/notebooks/outputs/ipynb_to_script/ijavascript.js:23
↓ 1 callersFunctionarrowAdd
(num1: number, num2: number)
tests/data/notebooks/outputs/ipynb_to_percent/itypescript.ts:23
↓ 1 callersFunctionarrowAdd
(num1, num2)
tests/data/notebooks/outputs/ipynb_to_percent/ijavascript.js:29
↓ 1 callersFunctionarrowAdd
(num1: number, num2: number)
tests/data/notebooks/outputs/ipynb_to_hydrogen/itypescript.ts:23
↓ 1 callersFunctionarrowAdd
(num1, num2)
tests/data/notebooks/outputs/ipynb_to_hydrogen/ijavascript.js:29
↓ 1 callersFunctioncell_language
Return cell language and language options, if any
src/jupytext/languages.py:194
↓ 1 callersFunctioncell_source
Return the source of the current cell, as an array of lines
src/jupytext/cell_to_text.py:22
↓ 1 callersFunctionchange_dir
Context manager to temporarily change directory.
tests/functional/config/test_config.py:16
↓ 1 callersFunctioncode_cells_have_changed
The source for the code cells has not changed
src/jupytext/cli.py:1381
↓ 1 callersMethodcode_to_text
Return the text representation of this cell as a code cell
src/jupytext/cell_to_text.py:184
↓ 1 callersMethodcode_to_text
Return the text representation of a code cell
src/jupytext/cell_to_text.py:237
↓ 1 callersMethodconvert_links
Convert relative links in README.md to absolute links.
tools/absolute_links_in_readme.py:22
↓ 1 callersFunctioncreateFactory
( kernelFileTypeNames: string[], toolbarRegistry: IToolbarWidgetRegistry, settingRegistry: ISettingRegis
jupyterlab/packages/jupyterlab-jupytext-extension/src/factory.ts:28
↓ 1 callersFunctioncreateNewTextNotebook
( cwd: string, kernelId: string, kernelName: string, format: string, commands: CommandRegistry, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:221
↓ 1 callersFunctionencoding_and_executable
Return encoding and executable lines for a notebook, if applicable
src/jupytext/header.py:59
↓ 1 callersFunctionendofcell_marker
Issues #31 #38: does the cell contain a blank line? In that case we add an end-of-cell marker
src/jupytext/cell_to_text.py:283
↓ 1 callersFunctionexecuteMetadataCommand
( notebookTracker: INotebookTracker, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:332
↓ 1 callersFunctionexecutePairCommand
( command: string, format: string, notebookTracker: INotebookTracker, trans: TranslationBundle, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:167
↓ 1 callersFunctionexecution_counts_are_in_order
Returns True if all the code cells have an execution count, ordered from 1 to N with no missing number
src/jupytext/cli.py:1370
↓ 1 callersMethodexplicit_start_marker
Does the python representation of this cell requires an explicit start of cell marker?
src/jupytext/cell_to_text.py:364
↓ 1 callersFunctionf
(x)
tests/data/notebooks/outputs/ipynb_to_script/Notebook with function and cell metadata 164.py:16
↓ 1 callersFunctionf
(x)
tests/data/notebooks/outputs/ipynb_to_script_vscode_folding_markers/Notebook with function and cell metadata 164.py:18
↓ 1 callersFunctionf
(x)
tests/data/notebooks/outputs/ipynb_to_marimo/Notebook with function and cell metadata 164.py:23
↓ 1 callersFunctionf
(x)
tests/data/notebooks/outputs/ipynb_to_script_vim_folding_markers/Notebook with function and cell metadata 164.py:18
↓ 1 callersFunctionf
(x)
tests/data/notebooks/outputs/ipynb_to_percent/Notebook with function and cell metadata 164.py:18
↓ 1 callersFunctionf
(x)
tests/data/notebooks/outputs/ipynb_to_hydrogen/Notebook with function and cell metadata 164.py:18
↓ 1 callersFunctionf
(x)
tests/data/notebooks/inputs/python/python_notebook_sample.py:21
↓ 1 callersMethodfill_parser
(self, subparser)
src/jupytext_config/jupytext_config.py:52
↓ 1 callersMethodfind_cell_content
Parse cell till its end and set content, lines_to_next_cell. Return the position of next cell start
src/jupytext/cell_reader.py:197
↓ 1 callersMethodfind_cell_end
Return position of end of cell marker, and position of first line after cell
src/jupytext/cell_reader.py:192
↓ 1 callersMethodfind_cell_end
Return position of end of cell marker, and position of first line after cell
src/jupytext/cell_reader.py:783
↓ 1 callersMethodfind_cell_end
Return position of end of cell, and position of first line after cell, and whether there was an explicit end of cell marker
src/jupytext/cell_reader.py:863
↓ 1 callersMethodfind_region_end
Find the end of the region started with start and end markers
src/jupytext/cell_reader.py:688
↓ 1 callersFunctionformats_with_support_for_cell_metadata
()
src/jupytext/formats.py:802
↓ 1 callersFunctiong
(x)
tests/data/notebooks/inputs/python/python_notebook_sample.py:35
↓ 1 callersFunctiongenerate_sync_code_from_async_code
(async_code: str)
tests/functional/contents_manager/test_async_and_sync_contents_manager_are_in_sync.py:12
↓ 1 callersFunctiongetAvailableCreateTextNotebookCommands
( includeFormats: string[], availableKernelLanguages: Map<string, IFileTypeData[]>, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:158
↓ 1 callersFunctiongetAvailableKernelLanguages
( languages: IEditorLanguageRegistry, docRegistry: DocumentRegistry, serviceManager: ServiceManager.IMan
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:107
↓ 1 callersFunctiongetKernelIcon
* Get kernel Icon
jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts:60
↓ 1 callersFunctiongetWidgetJupytextFormats
* Get Jupytext format of current widget if it is a text notebook
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:18
↓ 1 callersMethodget_config_file
Return the jupytext configuration file, if any
src/jupytext/async_contentsmanager.py:534
↓ 1 callersMethodget_config_file
Return the jupytext configuration file, if any
src/jupytext/sync_contentsmanager.py:599
↓ 1 callersFunctionget_formats_from_notebook_and_config
Get the notebook formats from notebook metadata or config. Notebook metadata takes precedence over config. If the notebook metadata contains
src/jupytext/config.py:502
↓ 1 callersFunctionget_formats_from_notebook_metadata
Get the pairing information from the notebook metadata. Parameters ---------- notebook : nbformat.NotebookNode The notebook
src/jupytext/formats.py:814
↓ 1 callersFunctionget_formats_from_notebook_path
Return the paired formats for a given notebook in the extended form. Parameters ---------- nb_file : str Path to the noteboo
src/jupytext/jupytext.py:572
↓ 1 callersFunctionglobal_jupytext_configuration_directories
Return the directories in which Jupytext will search for a configuration file
src/jupytext/config.py:283
↓ 1 callersMethodhello
()
tests/data/notebooks/outputs/ipynb_to_script/simple-helloworld.java:15
↓ 1 callersMethodhello
()
tests/data/notebooks/outputs/ipynb_to_percent/simple-helloworld.java:17
↓ 1 callersMethodhello
()
tests/data/notebooks/outputs/ipynb_to_hydrogen/simple-helloworld.java:17
↓ 1 callersFunctionhook
()
tests/external/pre_commit/test_pre_commit_scripts.py:285
↓ 1 callersFunctionidentical_format_path
Do the two (long representation) of formats target the same file?
src/jupytext/formats.py:495
↓ 1 callersMethodincrement_notebook_filename
Increment a notebook filename until it is unique, regardless of extension
src/jupytext/async_contentsmanager.py:440
↓ 1 callersMethodincrement_notebook_filename
Increment a notebook filename until it is unique, regardless of extension
src/jupytext/sync_contentsmanager.py:498
↓ 1 callersFunctionisMetadataCommandEnabled
( notebookTracker: INotebookTracker, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:302
↓ 1 callersFunctionisMetadataCommandToggled
( notebookTracker: INotebookTracker, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:276
↓ 1 callersFunctionisPairCommandEnabled
( format: string, notebookTracker: INotebookTracker, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:140
↓ 1 callersFunctionisPairCommandToggled
( format: string, notebookTracker: INotebookTracker, )
jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts:115
↓ 1 callersMethodis_code
(self)
src/jupytext/cell_to_text.py:318
↓ 1 callersFunctionis_identifier
(text)
src/jupytext/cell_metadata.py:324
↓ 1 callersFunctionjoin
(left, right, sep)
src/jupytext/paired_paths.py:56
↓ 1 callersMethodlist_default_viewer
list the current labconfig settings
src/jupytext_config/labconfig.py:44
↓ 1 callersFunctionload_paired_notebook
Update the notebook with the inputs and outputs of the most recent paired files
src/jupytext/cli.py:1198
← previousnext →201–300 of 1,277, ranked by callers