Skidl Jupyter book #153
Replies: 11 comments 22 replies
-
That's a good idea!
I previously made a notebook to show how to use skidl to do spice
simulations. I've also been thinking about using notebooks to explain the
list of "nifty fifty" transistor circuits.
…On Sun, Jul 10, 2022, 1:00 PM shanemmattner ***@***.***> wrote:
@devbisme <https://github.com/devbisme> what do you think of taking the skidl
documentation <https://devbisme.github.io/skidl/> and putting it into a Jupyter
book <https://jupyterbook.org/en/stable/intro.html>? I've been helping to
write a Jupyter book for Plotly Dash
<https://open-resources.github.io/dash_curriculum/intro.html> and it
turned out really well.
—
Reply to this email directly, view it on GitHub
<#153>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFCXYHA33TRNMOZHUHFVX3VTL6UDANCNFSM53FJARDA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Looks good. Let's just go with whatever is in the current master branch
documentation.
…On Tue, Jul 12, 2022, 1:11 AM shanemmattner ***@***.***> wrote:
Great! Here's a link
<https://shanemmattner.github.io/skidl_jupyter_book/intro.html> to the
book. I'll plan on copying over everything you have in this SKiDL page
<https://devbisme.github.io/skidl/>. Let me know if there's anything
you'd like changed/updated.
—
Reply to this email directly, view it on GitHub
<#153 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGOOG6KOSC6WFAVPKJDLFLVTT473ANCNFSM53FJARDA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@devbisme all done. Take a look and let me know what you think. I'm going to add the spice sim intro chapter as well https://shanemmattner.github.io/skidl_jupyter_book/intro.html |
Beta Was this translation helpful? Give feedback.
-
Wow, that looks really, really good! I like having the chapters listed in the left column and the subsections appearing in the right column. And there's even a search feature! How easy is it to add executable code cells to the book so the reader can try things? This would be great with the SPICE examples, but requires interfacing to an ngspice executable which might be tricky. |
Beta Was this translation helpful? Give feedback.
-
I added the ability to read KiCad symbol libraries from the Gitlab remote repositories. To access V5 symbols, add the following to the list in
For V6, use:
|
Beta Was this translation helpful? Give feedback.
-
This Google Colab script can install the specific branch and works fine. !pip install git+https://github.com/devbisme/skidl@development
from skidl import *
lib_search_paths[KICAD].append("https://gitlab.com/kicad/libraries/kicad-symbols/-/raw/master")
resistor = Part('Device','R', footprint='Resistor_SMD:R_0603_1608Metric')
resistor.value = '1K'
resistor.value
generate_netlist(file_='test.net') Console output:
This experiment shows another possible improvement: auto source footprints if the user doesn't have the appropriate libraries installed. |
Beta Was this translation helpful? Give feedback.
-
I think the error is within We're probably getting the same error for footprints as we did for schematics: there's no local copy of the footprint library in the I'm guessing |
Beta Was this translation helpful? Give feedback.
-
SKiDL doesn't really check for footprint libraries. It doesn't complain as long as there is a string in the |
Beta Was this translation helpful? Give feedback.
-
I added a section on creating an ESP32 development board. Let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
@devbisme your To respond to your other ideas:
def r(value, p1, p2, footprint='Resistor_SMD:R_0603_1608Metric'):
r = Part('Device', 'R', value=value, footprint=footprint)
p1 & r & p2 |
Beta Was this translation helpful? Give feedback.
-
In the unlikely event the maintainers decide they want #156 in skidl, you can just iterate .pins directly. |
Beta Was this translation helpful? Give feedback.
-
@devbisme what do you think of taking the skidl documentation and putting it into a Jupyter book? I've been helping to write a Jupyter book for Plotly Dash and it turned out really well.
Beta Was this translation helpful? Give feedback.
All reactions