Forum Discussion
Notebooks, VS Code and Customized Python libraries
- 2 years ago
Hi Anonymous !
Thanks for the input.Regarding question2:
So, that means there is no where, in MS Fabric workspace to see where the builtin folder is ? Perhaps this could be improved in future I would say, for the sake of integrity, clearness and completness.
Regarding questions 1 and 3:I already did what you are sugesting 2 days ago. Here's the link for it, if someone would like to review/improve the idea and, eventually, give an up vote:
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=8cf87c47-99a4-ee11-92bd-6045bdbdea69Thank you
Hi SergioTorrinha
Thanks for using Fabric Community.
1. Customized Libraries and Wheel Files:
Building wheel files every time you make adjustments can be quite tedious. Here are some alternatives:
- Pip-installable Packages: If your library is simple enough, consider packaging it as a regular Python package and publishing it on a private PyPI repository within your organization. This allows easy installation with
pip installand avoids rebuilding wheels. - Local Imports: For quick testing and development, you can import your library directly from the source directory without building a wheel. This speeds up your workflow but is limited to the development environment.
- VS Code Integration: You can use VS Code extensions like "Python Project Manager" or "Kite" to manage dependencies and automatically install modules from source directories within your workspace. This provides a more IDE-integrated approach.
2. Notebook Resources:
Notebook resources are indeed a new feature in Microsoft Fabric. They allow you to reference external Python modules directly within your notebook without needing to install them through traditional methods like wheels or pip.
To use this functionality you need to install the Synapse Visual Studio Code extension. Please refer to this link and install all the prerequisites : Link1
The Synapse Visual Studio Code extension supports a pro-developer experience for exploring Microsoft Fabric lakehouses, and authoring Fabric notebooks and Spark job definitions.
3. Microsoft Fabric Roadmap:
Microsoft Fabric is continuously evolving, and the team is always working on improving functionalities like notebooks, python environments, and custom libraries. The specific roadmap for these areas isn't publicly available, but you can find general updates and announcements through the Microsoft Fabric blog and release plan documentation.
Hope this helps. Please let us know if you have any further questions.
- Anonymous2 years agoNot applicable
Hi SergioTorrinha
We haven’t heard from you on the last response and was just checking back to see if you got some insights regarding your query.
Otherwise, will respond back with the more details and we will try to help.
Thanks