AnswerDotAI / AnswerDotAI/nbdev

How to export to top level of package?

Open
#1,347 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

# MWE

```sh
$ mkdir example
$ cd example
$ nbdev_new
$ cd nbs
$ code 00_core.ipynb
```

How can I use `default_exp` to instead of exporting to `example.core` I can export everything to the top level of the package so I can just go `from example import ...`

Contributor guide

Open the contributing guide

Research direction

Start with the `default_exp` handling used from `nbs/00_core.ipynb` after creating a project with `nbdev_new`. Check whether exporting directly to `example` is supported, then document the setting and verify the resulting `from example import ...` usage, or clarify the limitation if it is not.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.