fastcore 2.0.2__tar.gz → 2.0.4__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.
- fastcore-2.0.4/PKG-INFO +66 -0
- fastcore-2.0.4/README.md +35 -0
- fastcore-2.0.4/fastcore/__init__.py +1 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/xtras.py +1 -1
- fastcore-2.0.4/fastcore.egg-info/PKG-INFO +66 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore.egg-info/requires.txt +1 -1
- {fastcore-2.0.2 → fastcore-2.0.4}/pyproject.toml +1 -1
- fastcore-2.0.2/PKG-INFO +0 -121
- fastcore-2.0.2/README.md +0 -90
- fastcore-2.0.2/fastcore/__init__.py +0 -1
- fastcore-2.0.2/fastcore.egg-info/PKG-INFO +0 -121
- {fastcore-2.0.2 → fastcore-2.0.4}/CONTRIBUTING.md +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/LICENSE +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/MANIFEST.in +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/_modidx.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/aio.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/all.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/ansi.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/basics.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/dispatch.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/docments.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/docscrape.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/foundation.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/imghdr.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/imports.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/meta.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/nb_imports.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/nbio.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/net.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/parallel.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/py2pyi.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/script.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/shutil.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/style.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/test.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/tools.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/transform.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/utils.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/xdg.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore/xml.py +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore.egg-info/SOURCES.txt +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore.egg-info/dependency_links.txt +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore.egg-info/entry_points.txt +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/fastcore.egg-info/top_level.txt +0 -0
- {fastcore-2.0.2 → fastcore-2.0.4}/setup.cfg +0 -0
fastcore-2.0.4/PKG-INFO
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fastcore
|
|
3
|
+
Version: 2.0.4
|
|
4
|
+
Summary: Python supercharged for fastai development
|
|
5
|
+
Author-email: Jeremy Howard and Sylvain Gugger <infos@fast.ai>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/AnswerDotAI/fastcore/
|
|
8
|
+
Project-URL: Documentation, https://fastcore.fast.ai/
|
|
9
|
+
Keywords: python
|
|
10
|
+
Classifier: Natural Language :: English
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Provides-Extra: dev
|
|
19
|
+
Requires-Dist: numpy; extra == "dev"
|
|
20
|
+
Requires-Dist: nbdev>=0.2.39; extra == "dev"
|
|
21
|
+
Requires-Dist: matplotlib; extra == "dev"
|
|
22
|
+
Requires-Dist: pillow; extra == "dev"
|
|
23
|
+
Requires-Dist: torch; extra == "dev"
|
|
24
|
+
Requires-Dist: pandas; extra == "dev"
|
|
25
|
+
Requires-Dist: nbclassic; extra == "dev"
|
|
26
|
+
Requires-Dist: pysym2md>=0.0.6; extra == "dev"
|
|
27
|
+
Requires-Dist: llms-txt; extra == "dev"
|
|
28
|
+
Requires-Dist: plum-dispatch; extra == "dev"
|
|
29
|
+
Requires-Dist: toolslm; extra == "dev"
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
# Welcome to fastcore
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
|
|
36
|
+
|
|
37
|
+
> [!NOTE]
|
|
38
|
+
>
|
|
39
|
+
> ### fastcore v2
|
|
40
|
+
>
|
|
41
|
+
> In July 2026 we released fastcore v2, which removes or relocates a number of APIs that had accumulated better alternatives. If you use `from fastcore.utils import *` (or `fastcore.all`), most of these changes won’t affect you. The breaking changes: `Param` is gone from `fastcore.script`; use plain type annotations with docments, or `typing.Annotated[type, "help"]`, optionally with a `dict` of argparse arguments for advanced features. [`L`](https://fastcore.fast.ai/foundation.html#l)’s `starmap`, `starfilter`, and the other `star*`/`rstar*` methods are replaced by the [`star`](https://fastcore.fast.ai/foundation.html#star) and [`rstar`](https://fastcore.fast.ai/foundation.html#rstar) function adapters, which compose with every [`L`](https://fastcore.fast.ai/foundation.html#l) method (e.g. `t.map(star(f))`); relatedly, `spread` is replaced by [`star`](https://fastcore.fast.ai/foundation.html#star), and `dspread` is renamed to [`dstar`](https://fastcore.fast.ai/basics.html#dstar). Async helpers now live in the new `fastcore.aio` module: [`run_sync`](https://fastcore.fast.ai/aio.html#run_sync), [`iter_sync`](https://fastcore.fast.ai/aio.html#iter_sync), and [`ctx_sync`](https://fastcore.fast.ai/aio.html#ctx_sync) moved there from `net`, and [`maybe_await`](https://fastcore.fast.ai/aio.html#maybe_await), [`then`](https://fastcore.fast.ai/aio.html#then), [`mapa`](https://fastcore.fast.ai/aio.html#mapa), [`acache`](https://fastcore.fast.ai/aio.html#acache), [`reawaitable`](https://fastcore.fast.ai/aio.html#reawaitable), [`is_async_callable`](https://fastcore.fast.ai/aio.html#is_async_callable), and the other async utilities moved there from `xtras`. [`Config`](https://fastcore.fast.ai/xtras.html#config) and the config file functions moved from `foundation` to `xtras`. `fastcore.net` lost its request builders (`urlrequest`, `urlsend`, `do_request`, `urlcheck`) and `clean_type_str` is gone. `parallel_gen` is removed; the stdlib [`ProcessPoolExecutor`](https://fastcore.fast.ai/parallel.html#processpoolexecutor) `initializer` pattern replaces it (fastai’s `parallel_tokenize` shows the recipe). Python 3.11 or later is now required. If you need the old APIs, pin `fastcore<2`.
|
|
42
|
+
|
|
43
|
+
Python is a powerful, dynamic language. Rather than bake everything into the language, it lets the programmer customize it to make it work for them. `fastcore` uses this flexibility to add to Python features inspired by other languages we’ve loved, mixins from Ruby, and currying, binding, and more from Haskell. It also adds some “missing features” and clean up some rough edges in the Python standard library, such as simplifying parallel processing, and bringing ideas from NumPy over to Python’s `list` type.
|
|
44
|
+
|
|
45
|
+
## Getting started
|
|
46
|
+
|
|
47
|
+
To install fastcore run: `conda install fastcore -c fastai` (if you use Anaconda, which we recommend) or `pip install fastcore`. For an [editable install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install), clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested to work on Ubuntu, macOS and Windows (versions tested are those shown with the `-latest` suffix [here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
|
|
48
|
+
|
|
49
|
+
`fastcore` contains many features, including:
|
|
50
|
+
|
|
51
|
+
- `fastcore.test`: Simple testing functions
|
|
52
|
+
- `fastcore.foundation`: Mixins, delegation, composition, and more
|
|
53
|
+
- `fastcore.xtras`: Utility functions to help with functional-style programming, parallel processing, and more
|
|
54
|
+
|
|
55
|
+
To get started, we recommend you read through [the fastcore tour](https://fastcore.fast.ai/tour.html).
|
|
56
|
+
|
|
57
|
+
## Contributing
|
|
58
|
+
|
|
59
|
+
After you clone this repository, please run `nbdev_install_hooks` in your terminal. This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.
|
|
60
|
+
|
|
61
|
+
To run the tests in parallel, launch `nbdev_test`.
|
|
62
|
+
|
|
63
|
+
Before submitting a PR, check that the local library and notebooks match.
|
|
64
|
+
|
|
65
|
+
- If you made a change to the notebooks in one of the exported cells, you can export it to the library with `nbdev_prepare`.
|
|
66
|
+
- If you made a change to the library, you can export it back to the notebooks with `nbdev_update`.
|
fastcore-2.0.4/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Welcome to fastcore
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
|
|
5
|
+
|
|
6
|
+
> [!NOTE]
|
|
7
|
+
>
|
|
8
|
+
> ### fastcore v2
|
|
9
|
+
>
|
|
10
|
+
> In July 2026 we released fastcore v2, which removes or relocates a number of APIs that had accumulated better alternatives. If you use `from fastcore.utils import *` (or `fastcore.all`), most of these changes won’t affect you. The breaking changes: `Param` is gone from `fastcore.script`; use plain type annotations with docments, or `typing.Annotated[type, "help"]`, optionally with a `dict` of argparse arguments for advanced features. [`L`](https://fastcore.fast.ai/foundation.html#l)’s `starmap`, `starfilter`, and the other `star*`/`rstar*` methods are replaced by the [`star`](https://fastcore.fast.ai/foundation.html#star) and [`rstar`](https://fastcore.fast.ai/foundation.html#rstar) function adapters, which compose with every [`L`](https://fastcore.fast.ai/foundation.html#l) method (e.g. `t.map(star(f))`); relatedly, `spread` is replaced by [`star`](https://fastcore.fast.ai/foundation.html#star), and `dspread` is renamed to [`dstar`](https://fastcore.fast.ai/basics.html#dstar). Async helpers now live in the new `fastcore.aio` module: [`run_sync`](https://fastcore.fast.ai/aio.html#run_sync), [`iter_sync`](https://fastcore.fast.ai/aio.html#iter_sync), and [`ctx_sync`](https://fastcore.fast.ai/aio.html#ctx_sync) moved there from `net`, and [`maybe_await`](https://fastcore.fast.ai/aio.html#maybe_await), [`then`](https://fastcore.fast.ai/aio.html#then), [`mapa`](https://fastcore.fast.ai/aio.html#mapa), [`acache`](https://fastcore.fast.ai/aio.html#acache), [`reawaitable`](https://fastcore.fast.ai/aio.html#reawaitable), [`is_async_callable`](https://fastcore.fast.ai/aio.html#is_async_callable), and the other async utilities moved there from `xtras`. [`Config`](https://fastcore.fast.ai/xtras.html#config) and the config file functions moved from `foundation` to `xtras`. `fastcore.net` lost its request builders (`urlrequest`, `urlsend`, `do_request`, `urlcheck`) and `clean_type_str` is gone. `parallel_gen` is removed; the stdlib [`ProcessPoolExecutor`](https://fastcore.fast.ai/parallel.html#processpoolexecutor) `initializer` pattern replaces it (fastai’s `parallel_tokenize` shows the recipe). Python 3.11 or later is now required. If you need the old APIs, pin `fastcore<2`.
|
|
11
|
+
|
|
12
|
+
Python is a powerful, dynamic language. Rather than bake everything into the language, it lets the programmer customize it to make it work for them. `fastcore` uses this flexibility to add to Python features inspired by other languages we’ve loved, mixins from Ruby, and currying, binding, and more from Haskell. It also adds some “missing features” and clean up some rough edges in the Python standard library, such as simplifying parallel processing, and bringing ideas from NumPy over to Python’s `list` type.
|
|
13
|
+
|
|
14
|
+
## Getting started
|
|
15
|
+
|
|
16
|
+
To install fastcore run: `conda install fastcore -c fastai` (if you use Anaconda, which we recommend) or `pip install fastcore`. For an [editable install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install), clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested to work on Ubuntu, macOS and Windows (versions tested are those shown with the `-latest` suffix [here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
|
|
17
|
+
|
|
18
|
+
`fastcore` contains many features, including:
|
|
19
|
+
|
|
20
|
+
- `fastcore.test`: Simple testing functions
|
|
21
|
+
- `fastcore.foundation`: Mixins, delegation, composition, and more
|
|
22
|
+
- `fastcore.xtras`: Utility functions to help with functional-style programming, parallel processing, and more
|
|
23
|
+
|
|
24
|
+
To get started, we recommend you read through [the fastcore tour](https://fastcore.fast.ai/tour.html).
|
|
25
|
+
|
|
26
|
+
## Contributing
|
|
27
|
+
|
|
28
|
+
After you clone this repository, please run `nbdev_install_hooks` in your terminal. This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.
|
|
29
|
+
|
|
30
|
+
To run the tests in parallel, launch `nbdev_test`.
|
|
31
|
+
|
|
32
|
+
Before submitting a PR, check that the local library and notebooks match.
|
|
33
|
+
|
|
34
|
+
- If you made a change to the notebooks in one of the exported cells, you can export it to the library with `nbdev_prepare`.
|
|
35
|
+
- If you made a change to the library, you can export it back to the notebooks with `nbdev_update`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.4"
|
|
@@ -1153,7 +1153,7 @@ def mtime_policy(
|
|
|
1153
1153
|
if (filepath is None)==(arg is None): raise TypeError('Pass exactly one of `filepath` or `arg`')
|
|
1154
1154
|
def _expired(mtime, fp):
|
|
1155
1155
|
current_mtime = getmtime(fp)
|
|
1156
|
-
return current_mtime if mtime is None or current_mtime
|
|
1156
|
+
return current_mtime if mtime is None or current_mtime!=mtime else None
|
|
1157
1157
|
if arg is None: return lambda mtime: _expired(mtime, filepath)
|
|
1158
1158
|
def policy(mtime, args, kwargs): return _expired(mtime, kwargs[arg] if isinstance(arg,str) else args[arg])
|
|
1159
1159
|
policy.needs_args = True
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fastcore
|
|
3
|
+
Version: 2.0.4
|
|
4
|
+
Summary: Python supercharged for fastai development
|
|
5
|
+
Author-email: Jeremy Howard and Sylvain Gugger <infos@fast.ai>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/AnswerDotAI/fastcore/
|
|
8
|
+
Project-URL: Documentation, https://fastcore.fast.ai/
|
|
9
|
+
Keywords: python
|
|
10
|
+
Classifier: Natural Language :: English
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Provides-Extra: dev
|
|
19
|
+
Requires-Dist: numpy; extra == "dev"
|
|
20
|
+
Requires-Dist: nbdev>=0.2.39; extra == "dev"
|
|
21
|
+
Requires-Dist: matplotlib; extra == "dev"
|
|
22
|
+
Requires-Dist: pillow; extra == "dev"
|
|
23
|
+
Requires-Dist: torch; extra == "dev"
|
|
24
|
+
Requires-Dist: pandas; extra == "dev"
|
|
25
|
+
Requires-Dist: nbclassic; extra == "dev"
|
|
26
|
+
Requires-Dist: pysym2md>=0.0.6; extra == "dev"
|
|
27
|
+
Requires-Dist: llms-txt; extra == "dev"
|
|
28
|
+
Requires-Dist: plum-dispatch; extra == "dev"
|
|
29
|
+
Requires-Dist: toolslm; extra == "dev"
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
# Welcome to fastcore
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
|
|
36
|
+
|
|
37
|
+
> [!NOTE]
|
|
38
|
+
>
|
|
39
|
+
> ### fastcore v2
|
|
40
|
+
>
|
|
41
|
+
> In July 2026 we released fastcore v2, which removes or relocates a number of APIs that had accumulated better alternatives. If you use `from fastcore.utils import *` (or `fastcore.all`), most of these changes won’t affect you. The breaking changes: `Param` is gone from `fastcore.script`; use plain type annotations with docments, or `typing.Annotated[type, "help"]`, optionally with a `dict` of argparse arguments for advanced features. [`L`](https://fastcore.fast.ai/foundation.html#l)’s `starmap`, `starfilter`, and the other `star*`/`rstar*` methods are replaced by the [`star`](https://fastcore.fast.ai/foundation.html#star) and [`rstar`](https://fastcore.fast.ai/foundation.html#rstar) function adapters, which compose with every [`L`](https://fastcore.fast.ai/foundation.html#l) method (e.g. `t.map(star(f))`); relatedly, `spread` is replaced by [`star`](https://fastcore.fast.ai/foundation.html#star), and `dspread` is renamed to [`dstar`](https://fastcore.fast.ai/basics.html#dstar). Async helpers now live in the new `fastcore.aio` module: [`run_sync`](https://fastcore.fast.ai/aio.html#run_sync), [`iter_sync`](https://fastcore.fast.ai/aio.html#iter_sync), and [`ctx_sync`](https://fastcore.fast.ai/aio.html#ctx_sync) moved there from `net`, and [`maybe_await`](https://fastcore.fast.ai/aio.html#maybe_await), [`then`](https://fastcore.fast.ai/aio.html#then), [`mapa`](https://fastcore.fast.ai/aio.html#mapa), [`acache`](https://fastcore.fast.ai/aio.html#acache), [`reawaitable`](https://fastcore.fast.ai/aio.html#reawaitable), [`is_async_callable`](https://fastcore.fast.ai/aio.html#is_async_callable), and the other async utilities moved there from `xtras`. [`Config`](https://fastcore.fast.ai/xtras.html#config) and the config file functions moved from `foundation` to `xtras`. `fastcore.net` lost its request builders (`urlrequest`, `urlsend`, `do_request`, `urlcheck`) and `clean_type_str` is gone. `parallel_gen` is removed; the stdlib [`ProcessPoolExecutor`](https://fastcore.fast.ai/parallel.html#processpoolexecutor) `initializer` pattern replaces it (fastai’s `parallel_tokenize` shows the recipe). Python 3.11 or later is now required. If you need the old APIs, pin `fastcore<2`.
|
|
42
|
+
|
|
43
|
+
Python is a powerful, dynamic language. Rather than bake everything into the language, it lets the programmer customize it to make it work for them. `fastcore` uses this flexibility to add to Python features inspired by other languages we’ve loved, mixins from Ruby, and currying, binding, and more from Haskell. It also adds some “missing features” and clean up some rough edges in the Python standard library, such as simplifying parallel processing, and bringing ideas from NumPy over to Python’s `list` type.
|
|
44
|
+
|
|
45
|
+
## Getting started
|
|
46
|
+
|
|
47
|
+
To install fastcore run: `conda install fastcore -c fastai` (if you use Anaconda, which we recommend) or `pip install fastcore`. For an [editable install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install), clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested to work on Ubuntu, macOS and Windows (versions tested are those shown with the `-latest` suffix [here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
|
|
48
|
+
|
|
49
|
+
`fastcore` contains many features, including:
|
|
50
|
+
|
|
51
|
+
- `fastcore.test`: Simple testing functions
|
|
52
|
+
- `fastcore.foundation`: Mixins, delegation, composition, and more
|
|
53
|
+
- `fastcore.xtras`: Utility functions to help with functional-style programming, parallel processing, and more
|
|
54
|
+
|
|
55
|
+
To get started, we recommend you read through [the fastcore tour](https://fastcore.fast.ai/tour.html).
|
|
56
|
+
|
|
57
|
+
## Contributing
|
|
58
|
+
|
|
59
|
+
After you clone this repository, please run `nbdev_install_hooks` in your terminal. This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.
|
|
60
|
+
|
|
61
|
+
To run the tests in parallel, launch `nbdev_test`.
|
|
62
|
+
|
|
63
|
+
Before submitting a PR, check that the local library and notebooks match.
|
|
64
|
+
|
|
65
|
+
- If you made a change to the notebooks in one of the exported cells, you can export it to the library with `nbdev_prepare`.
|
|
66
|
+
- If you made a change to the library, you can export it back to the notebooks with `nbdev_update`.
|
|
@@ -22,7 +22,7 @@ Documentation = "https://fastcore.fast.ai/"
|
|
|
22
22
|
fastcore = "fastcore._modidx:d"
|
|
23
23
|
|
|
24
24
|
[project.optional-dependencies]
|
|
25
|
-
dev = ['numpy', 'nbdev>=0.2.39', 'matplotlib', 'pillow', 'torch', 'pandas', 'nbclassic', '
|
|
25
|
+
dev = ['numpy', 'nbdev>=0.2.39', 'matplotlib', 'pillow', 'torch', 'pandas', 'nbclassic', 'pysym2md>=0.0.6', 'llms-txt', 'plum-dispatch', 'toolslm']
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
[project.scripts]
|
fastcore-2.0.2/PKG-INFO
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: fastcore
|
|
3
|
-
Version: 2.0.2
|
|
4
|
-
Summary: Python supercharged for fastai development
|
|
5
|
-
Author-email: Jeremy Howard and Sylvain Gugger <infos@fast.ai>
|
|
6
|
-
License: Apache-2.0
|
|
7
|
-
Project-URL: Repository, https://github.com/AnswerDotAI/fastcore/
|
|
8
|
-
Project-URL: Documentation, https://fastcore.fast.ai/
|
|
9
|
-
Keywords: python
|
|
10
|
-
Classifier: Natural Language :: English
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
-
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
-
Requires-Python: >=3.11
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
License-File: LICENSE
|
|
18
|
-
Provides-Extra: dev
|
|
19
|
-
Requires-Dist: numpy; extra == "dev"
|
|
20
|
-
Requires-Dist: nbdev>=0.2.39; extra == "dev"
|
|
21
|
-
Requires-Dist: matplotlib; extra == "dev"
|
|
22
|
-
Requires-Dist: pillow; extra == "dev"
|
|
23
|
-
Requires-Dist: torch; extra == "dev"
|
|
24
|
-
Requires-Dist: pandas; extra == "dev"
|
|
25
|
-
Requires-Dist: nbclassic; extra == "dev"
|
|
26
|
-
Requires-Dist: pysymbol_llm>=0.0.6; extra == "dev"
|
|
27
|
-
Requires-Dist: llms-txt; extra == "dev"
|
|
28
|
-
Requires-Dist: plum-dispatch; extra == "dev"
|
|
29
|
-
Requires-Dist: toolslm; extra == "dev"
|
|
30
|
-
Dynamic: license-file
|
|
31
|
-
|
|
32
|
-
# Welcome to fastcore
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
|
|
36
|
-
|
|
37
|
-
## fastcore v2
|
|
38
|
-
|
|
39
|
-
In July 2026 we released fastcore v2, which removes or relocates a
|
|
40
|
-
number of APIs that had accumulated better alternatives. If you use
|
|
41
|
-
`from fastcore.utils import *` (or `fastcore.all`), most of these
|
|
42
|
-
changes won’t affect you. The breaking changes: `Param` is gone from
|
|
43
|
-
`fastcore.script`; use plain type annotations with docments, or
|
|
44
|
-
`typing.Annotated[type, "help"]`, optionally with a `dict` of argparse
|
|
45
|
-
arguments for advanced features.
|
|
46
|
-
[`L`](https://fastcore.fast.ai/foundation.html#l)’s `starmap`,
|
|
47
|
-
`starfilter`, and the other `star*`/`rstar*` methods are replaced by the
|
|
48
|
-
[`star`](https://fastcore.fast.ai/foundation.html#star) and
|
|
49
|
-
[`rstar`](https://fastcore.fast.ai/foundation.html#rstar) function
|
|
50
|
-
adapters, which compose with every
|
|
51
|
-
[`L`](https://fastcore.fast.ai/foundation.html#l) method
|
|
52
|
-
(e.g. `t.map(star(f))`); relatedly, `spread` is replaced by
|
|
53
|
-
[`star`](https://fastcore.fast.ai/foundation.html#star), and `dspread`
|
|
54
|
-
is renamed to [`dstar`](https://fastcore.fast.ai/basics.html#dstar).
|
|
55
|
-
Async helpers now live in the new `fastcore.aio` module:
|
|
56
|
-
[`run_sync`](https://fastcore.fast.ai/aio.html#run_sync),
|
|
57
|
-
[`iter_sync`](https://fastcore.fast.ai/aio.html#iter_sync), and
|
|
58
|
-
[`ctx_sync`](https://fastcore.fast.ai/aio.html#ctx_sync) moved there
|
|
59
|
-
from `net`, and
|
|
60
|
-
[`maybe_await`](https://fastcore.fast.ai/aio.html#maybe_await),
|
|
61
|
-
[`then`](https://fastcore.fast.ai/aio.html#then),
|
|
62
|
-
[`mapa`](https://fastcore.fast.ai/aio.html#mapa),
|
|
63
|
-
[`acache`](https://fastcore.fast.ai/aio.html#acache),
|
|
64
|
-
[`reawaitable`](https://fastcore.fast.ai/aio.html#reawaitable),
|
|
65
|
-
[`is_async_callable`](https://fastcore.fast.ai/aio.html#is_async_callable),
|
|
66
|
-
and the other async utilities moved there from `xtras`.
|
|
67
|
-
[`Config`](https://fastcore.fast.ai/xtras.html#config) and the config
|
|
68
|
-
file functions moved from `foundation` to `xtras`. `fastcore.net` lost
|
|
69
|
-
its request builders (`urlrequest`, `urlsend`, `do_request`, `urlcheck`)
|
|
70
|
-
and `clean_type_str` is gone. `parallel_gen` is removed; the stdlib
|
|
71
|
-
[`ProcessPoolExecutor`](https://fastcore.fast.ai/parallel.html#processpoolexecutor)
|
|
72
|
-
`initializer` pattern replaces it (fastai’s `parallel_tokenize` shows
|
|
73
|
-
the recipe). Python 3.11 or later is now required. If you need the old
|
|
74
|
-
APIs, pin `fastcore<2`.
|
|
75
|
-
|
|
76
|
-
Python is a powerful, dynamic language. Rather than bake everything into
|
|
77
|
-
the language, it lets the programmer customize it to make it work for
|
|
78
|
-
them. `fastcore` uses this flexibility to add to Python features
|
|
79
|
-
inspired by other languages we’ve loved, mixins from Ruby, and currying,
|
|
80
|
-
binding, and more from Haskell. It also adds some “missing features” and
|
|
81
|
-
clean up some rough edges in the Python standard library, such as
|
|
82
|
-
simplifying parallel processing, and bringing ideas from NumPy over to
|
|
83
|
-
Python’s `list` type.
|
|
84
|
-
|
|
85
|
-
## Getting started
|
|
86
|
-
|
|
87
|
-
To install fastcore run: `conda install fastcore -c fastai` (if you use
|
|
88
|
-
Anaconda, which we recommend) or `pip install fastcore`. For an
|
|
89
|
-
[editable
|
|
90
|
-
install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install),
|
|
91
|
-
clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested
|
|
92
|
-
to work on Ubuntu, macOS and Windows (versions tested are those shown
|
|
93
|
-
with the `-latest` suffix
|
|
94
|
-
[here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
|
|
95
|
-
|
|
96
|
-
`fastcore` contains many features, including:
|
|
97
|
-
|
|
98
|
-
- `fastcore.test`: Simple testing functions
|
|
99
|
-
- `fastcore.foundation`: Mixins, delegation, composition, and more
|
|
100
|
-
- `fastcore.xtras`: Utility functions to help with functional-style
|
|
101
|
-
programming, parallel processing, and more
|
|
102
|
-
|
|
103
|
-
To get started, we recommend you read through [the fastcore
|
|
104
|
-
tour](https://fastcore.fast.ai/tour.html).
|
|
105
|
-
|
|
106
|
-
## Contributing
|
|
107
|
-
|
|
108
|
-
After you clone this repository, please run `nbdev_install_hooks` in
|
|
109
|
-
your terminal. This sets up git hooks, which clean up the notebooks to
|
|
110
|
-
remove the extraneous stuff stored in the notebooks (e.g. which cells
|
|
111
|
-
you ran) which causes unnecessary merge conflicts.
|
|
112
|
-
|
|
113
|
-
To run the tests in parallel, launch `nbdev_test`.
|
|
114
|
-
|
|
115
|
-
Before submitting a PR, check that the local library and notebooks
|
|
116
|
-
match.
|
|
117
|
-
|
|
118
|
-
- If you made a change to the notebooks in one of the exported cells,
|
|
119
|
-
you can export it to the library with `nbdev_prepare`.
|
|
120
|
-
- If you made a change to the library, you can export it back to the
|
|
121
|
-
notebooks with `nbdev_update`.
|
fastcore-2.0.2/README.md
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
# Welcome to fastcore
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
|
|
5
|
-
|
|
6
|
-
## fastcore v2
|
|
7
|
-
|
|
8
|
-
In July 2026 we released fastcore v2, which removes or relocates a
|
|
9
|
-
number of APIs that had accumulated better alternatives. If you use
|
|
10
|
-
`from fastcore.utils import *` (or `fastcore.all`), most of these
|
|
11
|
-
changes won’t affect you. The breaking changes: `Param` is gone from
|
|
12
|
-
`fastcore.script`; use plain type annotations with docments, or
|
|
13
|
-
`typing.Annotated[type, "help"]`, optionally with a `dict` of argparse
|
|
14
|
-
arguments for advanced features.
|
|
15
|
-
[`L`](https://fastcore.fast.ai/foundation.html#l)’s `starmap`,
|
|
16
|
-
`starfilter`, and the other `star*`/`rstar*` methods are replaced by the
|
|
17
|
-
[`star`](https://fastcore.fast.ai/foundation.html#star) and
|
|
18
|
-
[`rstar`](https://fastcore.fast.ai/foundation.html#rstar) function
|
|
19
|
-
adapters, which compose with every
|
|
20
|
-
[`L`](https://fastcore.fast.ai/foundation.html#l) method
|
|
21
|
-
(e.g. `t.map(star(f))`); relatedly, `spread` is replaced by
|
|
22
|
-
[`star`](https://fastcore.fast.ai/foundation.html#star), and `dspread`
|
|
23
|
-
is renamed to [`dstar`](https://fastcore.fast.ai/basics.html#dstar).
|
|
24
|
-
Async helpers now live in the new `fastcore.aio` module:
|
|
25
|
-
[`run_sync`](https://fastcore.fast.ai/aio.html#run_sync),
|
|
26
|
-
[`iter_sync`](https://fastcore.fast.ai/aio.html#iter_sync), and
|
|
27
|
-
[`ctx_sync`](https://fastcore.fast.ai/aio.html#ctx_sync) moved there
|
|
28
|
-
from `net`, and
|
|
29
|
-
[`maybe_await`](https://fastcore.fast.ai/aio.html#maybe_await),
|
|
30
|
-
[`then`](https://fastcore.fast.ai/aio.html#then),
|
|
31
|
-
[`mapa`](https://fastcore.fast.ai/aio.html#mapa),
|
|
32
|
-
[`acache`](https://fastcore.fast.ai/aio.html#acache),
|
|
33
|
-
[`reawaitable`](https://fastcore.fast.ai/aio.html#reawaitable),
|
|
34
|
-
[`is_async_callable`](https://fastcore.fast.ai/aio.html#is_async_callable),
|
|
35
|
-
and the other async utilities moved there from `xtras`.
|
|
36
|
-
[`Config`](https://fastcore.fast.ai/xtras.html#config) and the config
|
|
37
|
-
file functions moved from `foundation` to `xtras`. `fastcore.net` lost
|
|
38
|
-
its request builders (`urlrequest`, `urlsend`, `do_request`, `urlcheck`)
|
|
39
|
-
and `clean_type_str` is gone. `parallel_gen` is removed; the stdlib
|
|
40
|
-
[`ProcessPoolExecutor`](https://fastcore.fast.ai/parallel.html#processpoolexecutor)
|
|
41
|
-
`initializer` pattern replaces it (fastai’s `parallel_tokenize` shows
|
|
42
|
-
the recipe). Python 3.11 or later is now required. If you need the old
|
|
43
|
-
APIs, pin `fastcore<2`.
|
|
44
|
-
|
|
45
|
-
Python is a powerful, dynamic language. Rather than bake everything into
|
|
46
|
-
the language, it lets the programmer customize it to make it work for
|
|
47
|
-
them. `fastcore` uses this flexibility to add to Python features
|
|
48
|
-
inspired by other languages we’ve loved, mixins from Ruby, and currying,
|
|
49
|
-
binding, and more from Haskell. It also adds some “missing features” and
|
|
50
|
-
clean up some rough edges in the Python standard library, such as
|
|
51
|
-
simplifying parallel processing, and bringing ideas from NumPy over to
|
|
52
|
-
Python’s `list` type.
|
|
53
|
-
|
|
54
|
-
## Getting started
|
|
55
|
-
|
|
56
|
-
To install fastcore run: `conda install fastcore -c fastai` (if you use
|
|
57
|
-
Anaconda, which we recommend) or `pip install fastcore`. For an
|
|
58
|
-
[editable
|
|
59
|
-
install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install),
|
|
60
|
-
clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested
|
|
61
|
-
to work on Ubuntu, macOS and Windows (versions tested are those shown
|
|
62
|
-
with the `-latest` suffix
|
|
63
|
-
[here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
|
|
64
|
-
|
|
65
|
-
`fastcore` contains many features, including:
|
|
66
|
-
|
|
67
|
-
- `fastcore.test`: Simple testing functions
|
|
68
|
-
- `fastcore.foundation`: Mixins, delegation, composition, and more
|
|
69
|
-
- `fastcore.xtras`: Utility functions to help with functional-style
|
|
70
|
-
programming, parallel processing, and more
|
|
71
|
-
|
|
72
|
-
To get started, we recommend you read through [the fastcore
|
|
73
|
-
tour](https://fastcore.fast.ai/tour.html).
|
|
74
|
-
|
|
75
|
-
## Contributing
|
|
76
|
-
|
|
77
|
-
After you clone this repository, please run `nbdev_install_hooks` in
|
|
78
|
-
your terminal. This sets up git hooks, which clean up the notebooks to
|
|
79
|
-
remove the extraneous stuff stored in the notebooks (e.g. which cells
|
|
80
|
-
you ran) which causes unnecessary merge conflicts.
|
|
81
|
-
|
|
82
|
-
To run the tests in parallel, launch `nbdev_test`.
|
|
83
|
-
|
|
84
|
-
Before submitting a PR, check that the local library and notebooks
|
|
85
|
-
match.
|
|
86
|
-
|
|
87
|
-
- If you made a change to the notebooks in one of the exported cells,
|
|
88
|
-
you can export it to the library with `nbdev_prepare`.
|
|
89
|
-
- If you made a change to the library, you can export it back to the
|
|
90
|
-
notebooks with `nbdev_update`.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.2"
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: fastcore
|
|
3
|
-
Version: 2.0.2
|
|
4
|
-
Summary: Python supercharged for fastai development
|
|
5
|
-
Author-email: Jeremy Howard and Sylvain Gugger <infos@fast.ai>
|
|
6
|
-
License: Apache-2.0
|
|
7
|
-
Project-URL: Repository, https://github.com/AnswerDotAI/fastcore/
|
|
8
|
-
Project-URL: Documentation, https://fastcore.fast.ai/
|
|
9
|
-
Keywords: python
|
|
10
|
-
Classifier: Natural Language :: English
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
-
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
-
Requires-Python: >=3.11
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
License-File: LICENSE
|
|
18
|
-
Provides-Extra: dev
|
|
19
|
-
Requires-Dist: numpy; extra == "dev"
|
|
20
|
-
Requires-Dist: nbdev>=0.2.39; extra == "dev"
|
|
21
|
-
Requires-Dist: matplotlib; extra == "dev"
|
|
22
|
-
Requires-Dist: pillow; extra == "dev"
|
|
23
|
-
Requires-Dist: torch; extra == "dev"
|
|
24
|
-
Requires-Dist: pandas; extra == "dev"
|
|
25
|
-
Requires-Dist: nbclassic; extra == "dev"
|
|
26
|
-
Requires-Dist: pysymbol_llm>=0.0.6; extra == "dev"
|
|
27
|
-
Requires-Dist: llms-txt; extra == "dev"
|
|
28
|
-
Requires-Dist: plum-dispatch; extra == "dev"
|
|
29
|
-
Requires-Dist: toolslm; extra == "dev"
|
|
30
|
-
Dynamic: license-file
|
|
31
|
-
|
|
32
|
-
# Welcome to fastcore
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
|
|
36
|
-
|
|
37
|
-
## fastcore v2
|
|
38
|
-
|
|
39
|
-
In July 2026 we released fastcore v2, which removes or relocates a
|
|
40
|
-
number of APIs that had accumulated better alternatives. If you use
|
|
41
|
-
`from fastcore.utils import *` (or `fastcore.all`), most of these
|
|
42
|
-
changes won’t affect you. The breaking changes: `Param` is gone from
|
|
43
|
-
`fastcore.script`; use plain type annotations with docments, or
|
|
44
|
-
`typing.Annotated[type, "help"]`, optionally with a `dict` of argparse
|
|
45
|
-
arguments for advanced features.
|
|
46
|
-
[`L`](https://fastcore.fast.ai/foundation.html#l)’s `starmap`,
|
|
47
|
-
`starfilter`, and the other `star*`/`rstar*` methods are replaced by the
|
|
48
|
-
[`star`](https://fastcore.fast.ai/foundation.html#star) and
|
|
49
|
-
[`rstar`](https://fastcore.fast.ai/foundation.html#rstar) function
|
|
50
|
-
adapters, which compose with every
|
|
51
|
-
[`L`](https://fastcore.fast.ai/foundation.html#l) method
|
|
52
|
-
(e.g. `t.map(star(f))`); relatedly, `spread` is replaced by
|
|
53
|
-
[`star`](https://fastcore.fast.ai/foundation.html#star), and `dspread`
|
|
54
|
-
is renamed to [`dstar`](https://fastcore.fast.ai/basics.html#dstar).
|
|
55
|
-
Async helpers now live in the new `fastcore.aio` module:
|
|
56
|
-
[`run_sync`](https://fastcore.fast.ai/aio.html#run_sync),
|
|
57
|
-
[`iter_sync`](https://fastcore.fast.ai/aio.html#iter_sync), and
|
|
58
|
-
[`ctx_sync`](https://fastcore.fast.ai/aio.html#ctx_sync) moved there
|
|
59
|
-
from `net`, and
|
|
60
|
-
[`maybe_await`](https://fastcore.fast.ai/aio.html#maybe_await),
|
|
61
|
-
[`then`](https://fastcore.fast.ai/aio.html#then),
|
|
62
|
-
[`mapa`](https://fastcore.fast.ai/aio.html#mapa),
|
|
63
|
-
[`acache`](https://fastcore.fast.ai/aio.html#acache),
|
|
64
|
-
[`reawaitable`](https://fastcore.fast.ai/aio.html#reawaitable),
|
|
65
|
-
[`is_async_callable`](https://fastcore.fast.ai/aio.html#is_async_callable),
|
|
66
|
-
and the other async utilities moved there from `xtras`.
|
|
67
|
-
[`Config`](https://fastcore.fast.ai/xtras.html#config) and the config
|
|
68
|
-
file functions moved from `foundation` to `xtras`. `fastcore.net` lost
|
|
69
|
-
its request builders (`urlrequest`, `urlsend`, `do_request`, `urlcheck`)
|
|
70
|
-
and `clean_type_str` is gone. `parallel_gen` is removed; the stdlib
|
|
71
|
-
[`ProcessPoolExecutor`](https://fastcore.fast.ai/parallel.html#processpoolexecutor)
|
|
72
|
-
`initializer` pattern replaces it (fastai’s `parallel_tokenize` shows
|
|
73
|
-
the recipe). Python 3.11 or later is now required. If you need the old
|
|
74
|
-
APIs, pin `fastcore<2`.
|
|
75
|
-
|
|
76
|
-
Python is a powerful, dynamic language. Rather than bake everything into
|
|
77
|
-
the language, it lets the programmer customize it to make it work for
|
|
78
|
-
them. `fastcore` uses this flexibility to add to Python features
|
|
79
|
-
inspired by other languages we’ve loved, mixins from Ruby, and currying,
|
|
80
|
-
binding, and more from Haskell. It also adds some “missing features” and
|
|
81
|
-
clean up some rough edges in the Python standard library, such as
|
|
82
|
-
simplifying parallel processing, and bringing ideas from NumPy over to
|
|
83
|
-
Python’s `list` type.
|
|
84
|
-
|
|
85
|
-
## Getting started
|
|
86
|
-
|
|
87
|
-
To install fastcore run: `conda install fastcore -c fastai` (if you use
|
|
88
|
-
Anaconda, which we recommend) or `pip install fastcore`. For an
|
|
89
|
-
[editable
|
|
90
|
-
install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install),
|
|
91
|
-
clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested
|
|
92
|
-
to work on Ubuntu, macOS and Windows (versions tested are those shown
|
|
93
|
-
with the `-latest` suffix
|
|
94
|
-
[here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
|
|
95
|
-
|
|
96
|
-
`fastcore` contains many features, including:
|
|
97
|
-
|
|
98
|
-
- `fastcore.test`: Simple testing functions
|
|
99
|
-
- `fastcore.foundation`: Mixins, delegation, composition, and more
|
|
100
|
-
- `fastcore.xtras`: Utility functions to help with functional-style
|
|
101
|
-
programming, parallel processing, and more
|
|
102
|
-
|
|
103
|
-
To get started, we recommend you read through [the fastcore
|
|
104
|
-
tour](https://fastcore.fast.ai/tour.html).
|
|
105
|
-
|
|
106
|
-
## Contributing
|
|
107
|
-
|
|
108
|
-
After you clone this repository, please run `nbdev_install_hooks` in
|
|
109
|
-
your terminal. This sets up git hooks, which clean up the notebooks to
|
|
110
|
-
remove the extraneous stuff stored in the notebooks (e.g. which cells
|
|
111
|
-
you ran) which causes unnecessary merge conflicts.
|
|
112
|
-
|
|
113
|
-
To run the tests in parallel, launch `nbdev_test`.
|
|
114
|
-
|
|
115
|
-
Before submitting a PR, check that the local library and notebooks
|
|
116
|
-
match.
|
|
117
|
-
|
|
118
|
-
- If you made a change to the notebooks in one of the exported cells,
|
|
119
|
-
you can export it to the library with `nbdev_prepare`.
|
|
120
|
-
- If you made a change to the library, you can export it back to the
|
|
121
|
-
notebooks with `nbdev_update`.
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|