nbdev 3.0.0__py3-none-any.whl → 3.0.1__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/__init__.py +1 -1
- nbdev/config.py +5 -2
- {nbdev-3.0.0.dist-info → nbdev-3.0.1.dist-info}/METADATA +1 -1
- {nbdev-3.0.0.dist-info → nbdev-3.0.1.dist-info}/RECORD +8 -8
- {nbdev-3.0.0.dist-info → nbdev-3.0.1.dist-info}/WHEEL +0 -0
- {nbdev-3.0.0.dist-info → nbdev-3.0.1.dist-info}/entry_points.txt +0 -0
- {nbdev-3.0.0.dist-info → nbdev-3.0.1.dist-info}/licenses/LICENSE +0 -0
- {nbdev-3.0.0.dist-info → nbdev-3.0.1.dist-info}/top_level.txt +0 -0
nbdev/__init__.py
CHANGED
nbdev/config.py
CHANGED
|
@@ -16,11 +16,14 @@ from fastcore.script import *
|
|
|
16
16
|
from fastcore.style import *
|
|
17
17
|
from fastcore.xdg import *
|
|
18
18
|
|
|
19
|
-
import ast,warnings
|
|
19
|
+
import ast,warnings
|
|
20
20
|
from IPython.display import Markdown
|
|
21
21
|
from execnb.nbio import read_nb,NbCell
|
|
22
22
|
from urllib.error import HTTPError
|
|
23
23
|
|
|
24
|
+
try: import tomllib
|
|
25
|
+
except ImportError: import tomli as tomllib
|
|
26
|
+
|
|
24
27
|
# %% ../nbs/api/01_config.ipynb #117128e6
|
|
25
28
|
pyproject_nm = 'pyproject.toml'
|
|
26
29
|
_nbdev_home_dir = 'nbdev'
|
|
@@ -145,7 +148,7 @@ def nbdev_create_config(
|
|
|
145
148
|
# %% ../nbs/api/01_config.ipynb #0e56064f
|
|
146
149
|
def _load_toml(p):
|
|
147
150
|
"Load TOML file at `p` into a dict"
|
|
148
|
-
return
|
|
151
|
+
return tomllib.loads(Path(p).read_text(encoding='utf-8'))
|
|
149
152
|
|
|
150
153
|
def _has_nbdev(p):
|
|
151
154
|
"True if pyproject.toml at `p` has [tool.nbdev]"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
nbdev/__init__.py,sha256=
|
|
1
|
+
nbdev/__init__.py,sha256=fCsCqxeWeOcKROfSIXybYksblr8_iA-XWQshMYEi1tE,89
|
|
2
2
|
nbdev/_modidx.py,sha256=7jB1wx0EmQtah_L-jwRW360KwP02VB-TOuK9qY2o3ZI,40082
|
|
3
3
|
nbdev/clean.py,sha256=817PYPBGh0Pn-rmhzOFNVfKtaLJGkMF7Vzqb2Q5PCeI,9744
|
|
4
4
|
nbdev/cli.py,sha256=ZYJdR5npjv1kbyJrsWLycgzaAES8tR41mCHhDqdoY54,7772
|
|
5
|
-
nbdev/config.py,sha256=
|
|
5
|
+
nbdev/config.py,sha256=jvec2ETyZtK5VwtKhcbEu0IuX31Z01zMU38U-wr0PNI,14882
|
|
6
6
|
nbdev/diff.py,sha256=8vzFbmk8jmn4LW66wXEDJVxsJTf4eegNMbBVV4jI708,3794
|
|
7
7
|
nbdev/doclinks.py,sha256=oSvmFibewmC3vNOrNLNzcOU7Fv6ZaJPTcQx0h9AMWeM,12829
|
|
8
8
|
nbdev/export.py,sha256=7Lg9MZXlp2YVxpODpe8EuNtDJcz7B_8U0lxEGbq1B3k,4040
|
|
@@ -22,9 +22,9 @@ nbdev/serve_drv.py,sha256=IZ2acem_KKsXYYe0iUECiR_orkYLBkT1ZG_258ZS7SQ,657
|
|
|
22
22
|
nbdev/showdoc.py,sha256=rgVpHGVQi14RBdLYnh3ukPPG9EEKGyTMW_zGAH7HM7o,2657
|
|
23
23
|
nbdev/sync.py,sha256=eMYZYzu3RMDWjY-apr2TyzB7cTEB9v5-svF_Z--xyj8,3391
|
|
24
24
|
nbdev/test.py,sha256=KBJL4dJjxaGGqKqaQONnLP-ugX79RV4B0TDUG3MnHnw,4579
|
|
25
|
-
nbdev-3.0.
|
|
26
|
-
nbdev-3.0.
|
|
27
|
-
nbdev-3.0.
|
|
28
|
-
nbdev-3.0.
|
|
29
|
-
nbdev-3.0.
|
|
30
|
-
nbdev-3.0.
|
|
25
|
+
nbdev-3.0.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
26
|
+
nbdev-3.0.1.dist-info/METADATA,sha256=6h4MoGSUt6IT7F1cINGMt1T6hkLNSmgY1nq3dhUAM1M,10475
|
|
27
|
+
nbdev-3.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
28
|
+
nbdev-3.0.1.dist-info/entry_points.txt,sha256=N55SDYwtagnT3kgSUdZigVdm5yp_mYgLZzd0GelV23s,1511
|
|
29
|
+
nbdev-3.0.1.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
|
|
30
|
+
nbdev-3.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|