Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the book importable #28

Open
d70-t opened this issue Feb 22, 2021 · 0 comments
Open

Make the book importable #28

d70-t opened this issue Feb 22, 2021 · 0 comments
Labels
backend Issue with book technicalities enhancement New feature or request

Comments

@d70-t
Copy link
Collaborator

d70-t commented Feb 22, 2021

Through the evolution of the book, I'd expect that there will be some pages coming up which describe useful handcrafted functions which may be reusable in other parts of the book as well as in user code outside of the book. It would be great to come up with a possibility to mark parts of the code or code-cells as exported and then collect all the exported code segments into a python module which would be published to pypi.org. If that works well, one could write code like:

from how_to_eurec4a.chapter_name import nice_utility_function
nice_utility_function(my_dataset)
@d70-t d70-t added the enhancement New feature or request label Feb 22, 2021
@d70-t d70-t mentioned this issue Apr 30, 2021
@observingClouds observingClouds added the backend Issue with book technicalities label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issue with book technicalities enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants