nbdev 3.0.12__tar.gz → 3.0.13__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.
Files changed (38) hide show
  1. {nbdev-3.0.12/nbdev.egg-info → nbdev-3.0.13}/PKG-INFO +2 -2
  2. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/__init__.py +1 -1
  3. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/clean.py +1 -1
  4. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/cli.py +1 -1
  5. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/config.py +3 -3
  6. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/diff.py +1 -1
  7. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/frontmatter.py +1 -1
  8. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/maker.py +5 -4
  9. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/merge.py +1 -1
  10. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/process.py +1 -1
  11. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/processors.py +1 -1
  12. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/qmd.py +3 -4
  13. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/quarto.py +5 -6
  14. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/serve_drv.py +1 -1
  15. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/showdoc.py +3 -4
  16. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/sync.py +1 -1
  17. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/test.py +1 -1
  18. {nbdev-3.0.12 → nbdev-3.0.13/nbdev.egg-info}/PKG-INFO +2 -2
  19. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev.egg-info/requires.txt +1 -1
  20. {nbdev-3.0.12 → nbdev-3.0.13}/pyproject.toml +3 -1
  21. {nbdev-3.0.12 → nbdev-3.0.13}/CONTRIBUTING.md +0 -0
  22. {nbdev-3.0.12 → nbdev-3.0.13}/LICENSE +0 -0
  23. {nbdev-3.0.12 → nbdev-3.0.13}/MANIFEST.in +0 -0
  24. {nbdev-3.0.12 → nbdev-3.0.13}/README.md +0 -0
  25. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/_modidx.py +0 -0
  26. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/doclinks.py +0 -0
  27. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/export.py +0 -0
  28. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/extract_attachments.py +0 -0
  29. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/imports.py +0 -0
  30. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/migrate.py +0 -0
  31. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/release.py +0 -0
  32. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/scrubmagics.py +0 -0
  33. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev/serve.py +0 -0
  34. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev.egg-info/SOURCES.txt +0 -0
  35. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev.egg-info/dependency_links.txt +0 -0
  36. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev.egg-info/entry_points.txt +0 -0
  37. {nbdev-3.0.12 → nbdev-3.0.13}/nbdev.egg-info/top_level.txt +0 -0
  38. {nbdev-3.0.12 → nbdev-3.0.13}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdev
3
- Version: 3.0.12
3
+ Version: 3.0.13
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
5
  Author-email: "Jeremy Howard and the fast.ai community" <j@fast.ai>
6
6
  License: Apache-2.0
@@ -16,7 +16,7 @@ Classifier: License :: OSI Approved :: Apache Software License
16
16
  Requires-Python: >=3.9
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: fastcore>=1.12.3
19
+ Requires-Dist: fastcore>=1.12.35
20
20
  Requires-Dist: execnb>=0.1.12
21
21
  Requires-Dist: astunparse
22
22
  Requires-Dist: ghapi>=1.0.3
@@ -1,4 +1,4 @@
1
- __version__ = "3.0.12"
1
+ __version__ = "3.0.13"
2
2
 
3
3
  from .doclinks import nbdev_export
4
4
  from .showdoc import show_doc
@@ -10,7 +10,7 @@ import ast,warnings,stat
10
10
  from astunparse import unparse
11
11
  from textwrap import indent
12
12
 
13
- from execnb.nbio import *
13
+ from fastcore.nbio import *
14
14
  from fastcore.script import *
15
15
  from fastcore.utils import *
16
16
  from fastcore.xtras import *
@@ -21,7 +21,7 @@ from .export import nb_export
21
21
  from .frontmatter import FrontmatterProc
22
22
 
23
23
  from fastcore.xtras import run
24
- from execnb.nbio import *
24
+ from fastcore.nbio import *
25
25
  from fastcore.meta import *
26
26
  from fastcore.utils import *
27
27
  from fastcore.script import *
@@ -18,7 +18,7 @@ from fastcore.xdg import *
18
18
 
19
19
  import ast,importlib,warnings
20
20
  from IPython.display import Markdown
21
- from execnb.nbio import read_nb,NbCell
21
+ from fastcore.nbio import read_nb,NbCell
22
22
  from urllib.error import HTTPError
23
23
 
24
24
  try: import tomllib
@@ -271,7 +271,7 @@ cache-keys = [{ file = "pyproject.toml" }, { file = "setup.py" }]
271
271
 
272
272
  # %% ../nbs/api/01_config.ipynb #f1c85f45
273
273
  _re_version = re.compile(r'^__version__\s*=\s*[\'"]([^\'"]+)[\'"]', re.MULTILINE)
274
- _re_proj = re.compile(r'^name\s*=\s*".*$', re.MULTILINE)
274
+ _re_proj = re.compile(r'(\[project\](?:\n(?!\[).*)*?\n)name\s*=\s*"[^"]*"')
275
275
  _re_reqpy = re.compile(r'^requires-python\s*=\s*".*$', re.MULTILINE)
276
276
  _init = '__init__.py'
277
277
  _pyproj = 'pyproject.toml'
@@ -320,7 +320,7 @@ def update_proj(path):
320
320
  fname = path/_pyproj
321
321
  if not fname.exists(): fname.write_text(pyproj_tmpl)
322
322
  txt = fname.read_text()
323
- txt = _re_proj.sub(f'name = "{get_config().lib_name}"', txt)
323
+ txt = _re_proj.sub(rf'\1name = "{get_config().lib_name}"', txt)
324
324
  txt = _re_reqpy.sub(f'requires-python = ">={get_config().min_python}"', txt)
325
325
  fname.write_text(txt)
326
326
 
@@ -11,7 +11,7 @@ from fastcore.utils import *
11
11
  from fastcore.meta import delegates
12
12
  from difflib import unified_diff
13
13
  from fastgit import Git
14
- from execnb.nbio import *
14
+ from fastcore.nbio import *
15
15
 
16
16
  # %% ../nbs/api/19_diff.ipynb #a8981115
17
17
  def read_nb_from_git(
@@ -10,7 +10,7 @@ from .imports import *
10
10
  from .process import *
11
11
  from .doclinks import _nbpath2html
12
12
 
13
- from execnb.nbio import *
13
+ from fastcore.nbio import *
14
14
  from fastcore.imports import *
15
15
  import yaml
16
16
 
@@ -2,12 +2,13 @@
2
2
 
3
3
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/02_maker.ipynb.
4
4
 
5
- # %% ../nbs/api/02_maker.ipynb #aac32462
6
- from __future__ import annotations
7
-
8
5
  # %% auto #0
9
6
  __all__ = ['find_var', 'read_var', 'update_var', 'ModuleMaker', 'decor_id', 'make_code_cells', 'relative_import', 'update_import']
10
7
 
8
+ # %% ../nbs/api/02_maker.ipynb #aac32462
9
+ #| export
10
+
11
+
11
12
  # %% ../nbs/api/02_maker.ipynb #ae4d461b
12
13
  from .config import *
13
14
  from .imports import *
@@ -15,7 +16,7 @@ from .imports import *
15
16
  from fastcore.script import *
16
17
  from fastcore.basics import *
17
18
  from fastcore.imports import *
18
- from execnb.nbio import *
19
+ from fastcore.nbio import *
19
20
 
20
21
  import ast,contextlib
21
22
 
@@ -11,7 +11,7 @@ from .config import *
11
11
  from .export import *
12
12
  from .sync import *
13
13
 
14
- from execnb.nbio import *
14
+ from fastcore.nbio import *
15
15
  from fastcore.script import *
16
16
  from fastcore import shutil
17
17
 
@@ -10,7 +10,7 @@ from .config import *
10
10
  from .maker import *
11
11
  from .imports import *
12
12
 
13
- from execnb.nbio import *
13
+ from fastcore.nbio import *
14
14
  from fastcore.script import *
15
15
  from fastcore.imports import *
16
16
 
@@ -18,7 +18,7 @@ from .doclinks import *
18
18
  from .frontmatter import *
19
19
  from .frontmatter import _fm2dict
20
20
 
21
- from execnb.nbio import *
21
+ from fastcore.nbio import *
22
22
  from execnb.shell import *
23
23
  from fastcore.imports import *
24
24
  from fastcore.xtras import *
@@ -2,16 +2,15 @@
2
2
 
3
3
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/15_qmd.ipynb.
4
4
 
5
+ # %% auto #0
6
+ __all__ = ['meta', 'div', 'img', 'btn', 'tbl_row', 'tbl_sep']
7
+
5
8
  # %% ../nbs/api/15_qmd.ipynb #6a35c7c4-748f-4c82-a9bf-c780a8d83e90
6
- from __future__ import annotations
7
9
  import sys,os,inspect
8
10
 
9
11
  from fastcore.utils import *
10
12
  from fastcore.meta import delegates
11
13
 
12
- # %% auto #0
13
- __all__ = ['meta', 'div', 'img', 'btn', 'tbl_row', 'tbl_sep']
14
-
15
14
  # %% ../nbs/api/15_qmd.ipynb #5a64f1f4
16
15
  def meta(md, # Markdown to add meta to
17
16
  classes=None, # List of CSS classes to add
@@ -2,8 +2,12 @@
2
2
 
3
3
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/14_quarto.ipynb.
4
4
 
5
+ # %% auto #0
6
+ __all__ = ['BASE_QUARTO_URL', 'install_quarto', 'install', 'IndentDumper', 'nbdev_sidebar', 'refresh_quarto_yml',
7
+ 'nbdev_proc_nbs', 'nbdev_readme', 'nbdev_contributing', 'nbdev_docs', 'prepare', 'fs_watchdog',
8
+ 'nbdev_preview']
9
+
5
10
  # %% ../nbs/api/14_quarto.ipynb #6a35c7c4-748f-4c82-a9bf-c780a8d83e90
6
- from __future__ import annotations
7
11
  import subprocess,sys,shutil,ast,warnings,traceback
8
12
  from os import system
9
13
  from contextlib import contextmanager
@@ -19,11 +23,6 @@ from .serve import proc_nbs,_proc_file
19
23
  from . import serve_drv
20
24
  import yaml
21
25
 
22
- # %% auto #0
23
- __all__ = ['BASE_QUARTO_URL', 'install_quarto', 'install', 'IndentDumper', 'nbdev_sidebar', 'refresh_quarto_yml',
24
- 'nbdev_proc_nbs', 'nbdev_readme', 'nbdev_contributing', 'nbdev_docs', 'prepare', 'fs_watchdog',
25
- 'nbdev_preview']
26
-
27
26
  # %% ../nbs/api/14_quarto.ipynb #aae2d2be-ad03-4536-bf70-c4575f39cea3
28
27
  def _sprun(cmd):
29
28
  try: subprocess.check_output(cmd, shell=True)
@@ -1,5 +1,5 @@
1
1
  import os
2
- from execnb.nbio import read_nb,write_nb
2
+ from fastcore.nbio import read_nb,write_nb
3
3
  from io import StringIO
4
4
  from contextlib import redirect_stdout
5
5
 
@@ -2,8 +2,10 @@
2
2
 
3
3
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/08_showdoc.ipynb.
4
4
 
5
+ # %% auto #0
6
+ __all__ = ['BasicMarkdownRenderer', 'show_doc', 'doc', 'showdoc_nm', 'colab_link']
7
+
5
8
  # %% ../nbs/api/08_showdoc.ipynb #7f371f15
6
- from __future__ import annotations
7
9
  from .doclinks import *
8
10
  from .config import get_config
9
11
 
@@ -16,9 +18,6 @@ from collections import OrderedDict
16
18
  from textwrap import fill
17
19
  from types import FunctionType
18
20
 
19
- # %% auto #0
20
- __all__ = ['BasicMarkdownRenderer', 'show_doc', 'doc', 'showdoc_nm', 'colab_link']
21
-
22
21
  # %% ../nbs/api/08_showdoc.ipynb #abe98f5c
23
22
  def _ext_link(url, txt, xtra=""): return f'[{txt}]({url}){{target="_blank" {xtra}}}'
24
23
 
@@ -14,7 +14,7 @@ from .process import _partition_cell
14
14
  from .export import *
15
15
  from .doclinks import _iter_py_cells
16
16
 
17
- from execnb.nbio import *
17
+ from fastcore.nbio import *
18
18
  from fastcore.script import *
19
19
  from fastcore.xtras import *
20
20
 
@@ -19,7 +19,7 @@ from .doclinks import *
19
19
  from .process import NBProcessor, nb_lang
20
20
  from .frontmatter import nb_frontmatter
21
21
 
22
- from execnb.nbio import *
22
+ from fastcore.nbio import *
23
23
  from execnb.shell import *
24
24
 
25
25
  # %% ../nbs/api/12_test.ipynb #3f4fa1ad
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdev
3
- Version: 3.0.12
3
+ Version: 3.0.13
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
5
  Author-email: "Jeremy Howard and the fast.ai community" <j@fast.ai>
6
6
  License: Apache-2.0
@@ -16,7 +16,7 @@ Classifier: License :: OSI Approved :: Apache Software License
16
16
  Requires-Python: >=3.9
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: fastcore>=1.12.3
19
+ Requires-Dist: fastcore>=1.12.35
20
20
  Requires-Dist: execnb>=0.1.12
21
21
  Requires-Dist: astunparse
22
22
  Requires-Dist: ghapi>=1.0.3
@@ -1,4 +1,4 @@
1
- fastcore>=1.12.3
1
+ fastcore>=1.12.35
2
2
  execnb>=0.1.12
3
3
  astunparse
4
4
  ghapi>=1.0.3
@@ -19,7 +19,7 @@ classifiers = [
19
19
  "License :: OSI Approved :: Apache Software License",
20
20
  ]
21
21
  dynamic = ["version"]
22
- dependencies = [ "fastcore>=1.12.3", "execnb>=0.1.12", "astunparse", "ghapi>=1.0.3", "watchdog", "asttokens",
22
+ dependencies = [ "fastcore>=1.12.35", "execnb>=0.1.12", "astunparse", "ghapi>=1.0.3", "watchdog", "asttokens",
23
23
  "setuptools", "build", "fastgit", "pyyaml", "tomli; python_version < '3.11'", ]
24
24
 
25
25
  [project.optional-dependencies]
@@ -76,7 +76,9 @@ version = {attr = "nbdev.__version__"}
76
76
  include = ["nbdev"]
77
77
 
78
78
  [tool.nbdev]
79
+ allowed_metadata_keys = ['solveit_dialog_mode', 'solveit_ver']
79
80
  custom_sidebar = true
80
81
  readme_nb = "getting_started.ipynb"
81
82
  jupyter_hooks = true
83
+ allowed_cell_metadata_keys = ['solveit_ai']
82
84
 
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