nbdev
nbdev copied to clipboard
Create delightful software with Jupyter Notebooks
No need to add example as the explanation of the issue is simple. nbdev_test uses up to 8 workers (threads) to run the tests, if we have a library called...
# Example Hello! Using keyword only argument such as: ```python #| export def super_func( keyword_or_non_keyword_arg, # this is a keyword or non-keyword arg *, keyword_only_arg # this is a keyword...
Hello, In my repo, I am using Pygem library ( https://mathlab.github.io/PyGeM/ ). Of this library there is no release in pip or conda. I am able to run it locally...
Let's say I have a notebook `00_cons.ipynb` Which contains some constants (maybe some compiled regex expressions, or maybe just some default values) # Example Notebook `00_cons.ipynb` ## Constants > constants...
When creating a brand new repository and setting `black_formatting=True` in `settings.ini`, indeed `black` is run as part of `nbdev_export` correctly. However, when I add `nbdev_clean` and `nbdev_export` as pre-commit hooks,...
I have a folder of experiments that don't want to be tested when I run nbdev_test. Is there a way to ignore these files? I could add `#|eval false` to...
(First, thanks for nbdev. This project is great!) # Minimally reproducible example This code in my notebook causes `nbdev_test` to hang indefinitely: ```python with parallel_backend("loky"): def g(y): return y +...
nbdev is working great for me on Linux VMs, but every time I try to run `nbdev_test` on my Macbook Pro M1 I run into the error below. `nbdev_export` is...
# Failure and repro Trivial notebook/nbdev repo with `import polars as pl` fails ([repro CI run](https://github.com/daniel-vainsencher/nbdev-polars-mp-bug-repro/actions/runs/3329229804/jobs/5506182947)) with error message: ``` ImportError: Polars only works with python multiprocessing method set to:...
On creating a new nbdev project with the `nbdev_new` command, after cloning into an empty git repo as described in the [tutorial](https://nbdev.fast.ai/tutorials/tutorial.html#initialise-your-repo-with-nbdev), I get the following error: Traceback (most recent...