Have you tried importing and using the module in Sage? Sage is ultimately 
just a python library, with a bit of a modified shell to do some 
preprocessing on the input to provide some conveniences for mathematics. I 
would expect this module to just work.

If you're finding that there is a nontrivial amount of code that is 
convenient for exchanging data between schemdraw's data structures and 
sage's data structures, the first step would probably be to just maintain 
that as your own github repository. Once it stabilizes a bit you could 
revisit how big of an audience there is for that integration and if it 
makes sense to ship it with sagemath proper. For that we'd basically need 
schemdraw.logic.logic to become a dependency of sage, so that would be 
quite a high bar to meet. But it's very likely you don't need too much 
magic and that using the module is just a "pip install 
schemdraw.logic.logic" away from being usable in sage already, without any 
changes.

On Friday 27 September 2024 at 14:07:55 UTC-7 Zunaid Ahmed wrote:

> I am currently working on an open-source discrete mathematics book aimed 
> at helping students understand fundamental concepts through practical 
> examples.  
>
> One of the key areas I focus on is digital logic. To enhance the learning 
> experience, I would like to include visual representations of logic gates 
> using the schemdraw.logic.logic module.  
>
> I am reaching out to ask if it would be possible to integrate support for 
> the schemdraw.logic.logic module within Sage.
>
> Zunaid
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/15fe19e7-3b6d-4f03-b1e0-4152888e119bn%40googlegroups.com.

Reply via email to