nbdev 2.3.25__py3-none-any.whl → 2.4.8__py3-none-any.whl

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.
nbdev/test.py CHANGED
@@ -1,9 +1,11 @@
1
+ """Run unit tests on notebooks in parallel"""
2
+
1
3
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/12_test.ipynb.
2
4
 
3
5
  # %% auto 0
4
6
  __all__ = ['test_nb', 'nbdev_test']
5
7
 
6
- # %% ../nbs/api/12_test.ipynb 2
8
+ # %% ../nbs/api/12_test.ipynb
7
9
  import time,os,sys,traceback,contextlib, inspect
8
10
  from fastcore.basics import *
9
11
  from fastcore.imports import *
@@ -20,7 +22,7 @@ from .frontmatter import FrontmatterProc
20
22
  from execnb.nbio import *
21
23
  from execnb.shell import *
22
24
 
23
- # %% ../nbs/api/12_test.ipynb 3
25
+ # %% ../nbs/api/12_test.ipynb
24
26
  def test_nb(fn, # file name of notebook to test
25
27
  skip_flags=None, # list of flags marking cells to skip
26
28
  force_flags=None, # list of flags marking cells to always run
@@ -55,7 +57,7 @@ def test_nb(fn, # file name of notebook to test
55
57
  if do_print: print(f'- Completed {fn}')
56
58
  return res,time.time()-start
57
59
 
58
- # %% ../nbs/api/12_test.ipynb 8
60
+ # %% ../nbs/api/12_test.ipynb
59
61
  def _keep_file(p:Path, # filename for which to check for `indicator_fname`
60
62
  ignore_fname:str # filename that will result in siblings being ignored
61
63
  ) -> bool:
@@ -63,7 +65,7 @@ def _keep_file(p:Path, # filename for which to check for `indicator_fname`
63
65
  if p.exists(): return not bool(p.parent.ls().attrgot('name').filter(lambda x: x == ignore_fname))
64
66
  else: True
65
67
 
66
- # %% ../nbs/api/12_test.ipynb 10
68
+ # %% ../nbs/api/12_test.ipynb
67
69
  @call_parse
68
70
  @delegates(nbglob_cli)
69
71
  def nbdev_test(
@@ -1,42 +1,61 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: nbdev
3
- Version: 2.3.25
3
+ Version: 2.4.8
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
- Home-page: https://github.com/fastai/nbdev
5
+ Home-page: https://github.com/AnswerDotAI/nbdev
6
6
  Author: Jeremy Howard and Hamel Husain
7
7
  Author-email: j@fast.ai
8
8
  License: Apache Software License 2.0
9
9
  Project-URL: Documentation, https://nbdev.fast.ai/
10
10
  Keywords: nbdev fastai jupyter notebook export
11
- Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python :: 3.7
15
- Classifier: Programming Language :: Python :: 3.8
16
14
  Classifier: Programming Language :: Python :: 3.9
17
15
  Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: License :: OSI Approved :: Apache Software License
20
- Requires-Python: >=3.7
19
+ Requires-Python: >=3.9
21
20
  Description-Content-Type: text/markdown
22
21
  License-File: LICENSE
23
22
  Requires-Dist: packaging
24
- Requires-Dist: fastcore >=1.5.27
25
- Requires-Dist: execnb >=0.1.4
23
+ Requires-Dist: fastcore>=1.11.0
24
+ Requires-Dist: execnb>=0.1.12
26
25
  Requires-Dist: astunparse
27
- Requires-Dist: ghapi >=1.0.3
26
+ Requires-Dist: ghapi>=1.0.3
28
27
  Requires-Dist: watchdog
29
28
  Requires-Dist: asttokens
29
+ Requires-Dist: setuptools
30
+ Requires-Dist: build
30
31
  Requires-Dist: PyYAML
31
32
  Provides-Extra: dev
32
- Requires-Dist: ipywidgets ; extra == 'dev'
33
- Requires-Dist: nbdev-numpy ; extra == 'dev'
34
- Requires-Dist: nbdev-stdlib ; extra == 'dev'
35
- Requires-Dist: pandas ; extra == 'dev'
36
- Requires-Dist: matplotlib ; extra == 'dev'
37
- Requires-Dist: black ; extra == 'dev'
38
- Requires-Dist: svg.py ; extra == 'dev'
39
- Requires-Dist: nbclassic ; extra == 'dev'
33
+ Requires-Dist: ipywidgets; extra == "dev"
34
+ Requires-Dist: nbdev-numpy; extra == "dev"
35
+ Requires-Dist: nbdev-stdlib; extra == "dev"
36
+ Requires-Dist: pandas; extra == "dev"
37
+ Requires-Dist: matplotlib; extra == "dev"
38
+ Requires-Dist: black; extra == "dev"
39
+ Requires-Dist: svg.py; extra == "dev"
40
+ Requires-Dist: nbclassic; extra == "dev"
41
+ Requires-Dist: pysymbol_llm; extra == "dev"
42
+ Requires-Dist: llms-txt; extra == "dev"
43
+ Requires-Dist: sphinx; extra == "dev"
44
+ Requires-Dist: plum-dispatch; extra == "dev"
45
+ Dynamic: author
46
+ Dynamic: author-email
47
+ Dynamic: classifier
48
+ Dynamic: description
49
+ Dynamic: description-content-type
50
+ Dynamic: home-page
51
+ Dynamic: keywords
52
+ Dynamic: license
53
+ Dynamic: license-file
54
+ Dynamic: project-url
55
+ Dynamic: provides-extra
56
+ Dynamic: requires-dist
57
+ Dynamic: requires-python
58
+ Dynamic: summary
40
59
 
41
60
  # Getting Started
42
61
 
@@ -143,10 +162,12 @@ available commands:
143
162
  nbdev_release_both Release both conda and PyPI packages
144
163
  nbdev_release_gh Calls `nbdev_changelog`, lets you edit the result, then pushes to git and calls `nbdev_release_git`
145
164
  nbdev_release_git Tag and create a release in GitHub for the current version
165
+ nbdev_requirements Writes a `requirements.txt` file to `directory` based on settings.ini.
146
166
  nbdev_sidebar Create sidebar.yml
147
167
  nbdev_test Test in parallel notebooks matching `path`, passing along `flags`
148
168
  nbdev_trust Trust notebooks matching `fname`
149
169
  nbdev_update Propagate change in modules matching `fname` to notebooks that created them
170
+ nbdev_update_license Allows you to update the license of your project.
150
171
 
151
172
  ## FAQ
152
173
 
@@ -0,0 +1,30 @@
1
+ nbdev/__init__.py,sha256=MQFGPpfGNKL_cMonf8o6dNSa0OXIgQorHCob4NzjLv4,89
2
+ nbdev/_modidx.py,sha256=rF0BnQqiieRcqxLs_iBnk2I0LdM3QUJOe4uDyk0hwfg,38987
3
+ nbdev/clean.py,sha256=Ge3Hke1c1ArJ9-6P-Z11dXUfnQ7ZrYRnHHXPTAbJG4I,9412
4
+ nbdev/cli.py,sha256=S1rZ2ZYNdorRAv-KI7LD_eFARAyYKxujzOb5s7SX3bM,7346
5
+ nbdev/config.py,sha256=KmPAtLwsX819gA7TVJ40v-B4ok978b79pbqMF5WnAJE,13500
6
+ nbdev/diff.py,sha256=gSJNvjqbcuNlGD6d_BOlp7uQ0yLCLEfspCSIxOwnRuE,3713
7
+ nbdev/doclinks.py,sha256=fDnlqKaRHCBCS1CVbmqhGNsiaKeEMF2hS-pNFHc8JYE,12632
8
+ nbdev/export.py,sha256=y3AmFyAZ6gNYDMmxgIooyLkvjx02xU9DDaT0Wur00i8,4061
9
+ nbdev/extract_attachments.py,sha256=O4mS4EFIOXL_yQ3jmsnBStrWxGR_nPNvxLYXHtLeimw,2208
10
+ nbdev/frontmatter.py,sha256=i195bhDLWd-WUEzQT9JBoA4Ee3j6gD1dKMT8yk5fF4Y,2761
11
+ nbdev/imports.py,sha256=f5Ynco14hsJyFCf43-uP_YARMhHADe6lM-20Mc_vXhw,95
12
+ nbdev/maker.py,sha256=oDs5jOZBcGWRcj6hy7zhKpSfASZqQrni_d8pIjDmFYE,9859
13
+ nbdev/merge.py,sha256=xmT7LMY_mQGOGl0ynqkB13M6HwJfUOTis1Xl--YDXR8,4341
14
+ nbdev/migrate.py,sha256=YJTtWC6TPaZpZTcD0Jex6stOSumjju2QrUozF9rvl0Y,7311
15
+ nbdev/process.py,sha256=NZlJnGaEoDMNAROktBNbW5BAqX_tMyPOcDF5rP5HeZg,5854
16
+ nbdev/processors.py,sha256=fS4WrowC8bi6sFJJUVA9r9IRgmk-gffrJ9zNfb7vpIM,11973
17
+ nbdev/qmd.py,sha256=VAxE-c1sT7y26VdyreB6j9fge-CuLbHWocRE_WbnYXg,2994
18
+ nbdev/quarto.py,sha256=NIgOE_6ykluU5_a5dyGzB_eo8Wl3dEF4FF-h5zaCvTc,13817
19
+ nbdev/release.py,sha256=Oxqz5X61Zgs9DILNn9h0Njr0Q21fc3XTWJQ8jeZ3Y44,14572
20
+ nbdev/serve.py,sha256=HcYoNQiSROdMS1J8YlOlyTya-LmmrR-8v3ho5D9g700,3146
21
+ nbdev/serve_drv.py,sha256=IZ2acem_KKsXYYe0iUECiR_orkYLBkT1ZG_258ZS7SQ,657
22
+ nbdev/showdoc.py,sha256=TQCjFYjNmKNz8Evq-HtzWKtjDdWKol5tEw5tWVGVzwk,4357
23
+ nbdev/sync.py,sha256=ld-lSOmlX1FdnTOzaSHcxKyIuIguI_SpluqfPSH2BZ8,3201
24
+ nbdev/test.py,sha256=_ECBd5fvfGEICIfkTI2S8w8YatL5CaPltCeDSsiH6yw,4435
25
+ nbdev-2.4.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
26
+ nbdev-2.4.8.dist-info/METADATA,sha256=Ywe6coBvLkxFmKf5x9fKQWaHeQ8nv7GOLP8Ggh5XuGE,10805
27
+ nbdev-2.4.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ nbdev-2.4.8.dist-info/entry_points.txt,sha256=1ADLbIIJxZeLgOD8NpizkPULSsd_fgUQxwAkbGk45b8,1453
29
+ nbdev-2.4.8.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
30
+ nbdev-2.4.8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +1,10 @@
1
1
  [console_scripts]
2
+ nb_export = nbdev.cli:nb_export_cli
2
3
  nbdev_bump_version = nbdev.release:nbdev_bump_version
3
4
  nbdev_changelog = nbdev.release:changelog
4
5
  nbdev_clean = nbdev.clean:nbdev_clean
5
6
  nbdev_conda = nbdev.release:release_conda
7
+ nbdev_contributing = nbdev.quarto:nbdev_contributing
6
8
  nbdev_create_config = nbdev.config:nbdev_create_config
7
9
  nbdev_docs = nbdev.quarto:nbdev_docs
8
10
  nbdev_export = nbdev.doclinks:nbdev_export
@@ -29,6 +31,7 @@ nbdev_test = nbdev.test:nbdev_test
29
31
  nbdev_trust = nbdev.clean:nbdev_trust
30
32
  nbdev_update = nbdev.sync:nbdev_update
31
33
  nbdev_update_license = nbdev.cli:nbdev_update_license
34
+ watch_export = nbdev.cli:watch_export
32
35
 
33
36
  [nbdev]
34
37
  nbdev = nbdev._modidx:d
@@ -1,29 +0,0 @@
1
- nbdev/__init__.py,sha256=7SAtKCWZF0IYI-oXAYIv80UtQ7Cu1JsImF8CnucscnY,90
2
- nbdev/_modidx.py,sha256=cfvhKryWwys106hchXzhcUqC37lQHHAKJKk6vrUiRAs,40317
3
- nbdev/clean.py,sha256=RLhM4-joJNpxauTy33HYb3gaUHaKtCOaWfrKWec5Zd4,9403
4
- nbdev/cli.py,sha256=OAEdAqGdgHbUFYjHmn8ZmFNbBCxJjwvtDwgYatjmh1U,5639
5
- nbdev/config.py,sha256=2WrrWR_3kyxUEmzz7hliVWDlYzWkLlOsiL08tUopNnI,12236
6
- nbdev/doclinks.py,sha256=X5d8Xz52p-LlWwhhCN6d-00RQ0E8BsONuPH_xUSA6kc,10287
7
- nbdev/export.py,sha256=LEhn7UpfMSm9QKrC31q91Bsw-ZHd68DNv7MjhsNi15A,3275
8
- nbdev/extract_attachments.py,sha256=O4mS4EFIOXL_yQ3jmsnBStrWxGR_nPNvxLYXHtLeimw,2208
9
- nbdev/frontmatter.py,sha256=L9XbOPA99XuHSWU6eJfRIR4mBU4-NhDIQSP80EIk51g,2708
10
- nbdev/imports.py,sha256=f5Ynco14hsJyFCf43-uP_YARMhHADe6lM-20Mc_vXhw,95
11
- nbdev/maker.py,sha256=1hmOlElYhREqaJEc5jimiZ2Q5kkFUtQ9MNR05B-3L6c,9729
12
- nbdev/merge.py,sha256=QrP8tdlPRfZZ-TH5dTRwj9jXr7jWEsrLwgcIVPSHJSs,4319
13
- nbdev/migrate.py,sha256=l2hO2Ymkjm1C3_JmFDsM-DN6bxgFeLjj-pBr1xNqunI,7317
14
- nbdev/process.py,sha256=7dl9U7JLL9wbJta-KKTTnkMktBVsK5s-y8OBxtfk68I,5863
15
- nbdev/processors.py,sha256=O5r2gXOCQlHI6aX0UFl_4PdaYV0fKPy6joYov_T7V88,11492
16
- nbdev/qmd.py,sha256=3Cskd8ynm25Hh7bo-_t0hxCMF6jqXxgq_VfkpLBKu_w,2958
17
- nbdev/quarto.py,sha256=uPburjx-OG9ruNTI08Ku_iOV5gerUUGNQUXDeOGmAco,12017
18
- nbdev/release.py,sha256=6lwSBn9HkTNSl9jWIkYcKdBtWGo-LWl3YBjhQREuI2k,14167
19
- nbdev/serve.py,sha256=8q2qa82-osuIOpQamJ13Q_WEnnVZycxb8Vj467PGias,3020
20
- nbdev/serve_drv.py,sha256=IZ2acem_KKsXYYe0iUECiR_orkYLBkT1ZG_258ZS7SQ,657
21
- nbdev/showdoc.py,sha256=sWkpTLpWLUMQBsysHqyvS7czIVcmfkJ_pjSU3zcp-AI,9150
22
- nbdev/sync.py,sha256=ZKcWRJd49EaYJXeIB8hSa8oWHDrqRWoyRbGUGHDYxJg,2898
23
- nbdev/test.py,sha256=74db-sK_rnc69Q3beztibXDSZUeOk6M9nIiIORLHzlo,4397
24
- nbdev-2.3.25.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
- nbdev-2.3.25.dist-info/METADATA,sha256=-BD11ix7lukd1U8Nwhf4du3PtvZ7MxUqVmmFr8Lav7s,10158
26
- nbdev-2.3.25.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
27
- nbdev-2.3.25.dist-info/entry_points.txt,sha256=GMherdbuc27OmIuaaom4eNx5sTdCvAdNrZA6XLEZOA8,1326
28
- nbdev-2.3.25.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
29
- nbdev-2.3.25.dist-info/RECORD,,