[GNC] Python binding and commodity details

David T. sunfish62 at yahoo.com
Sat Apr 25 12:16:51 EDT 2026


I can't address the exact question, but I imagine with a little digging you could get that info from an sql query on a copy of your data saved in sql. 

Also not exactly your question, but does the security editor list allow you to include the namespace column? And if so, would that help you out?

David T. 

On April 25, 2026 6:30:57 PM GMT+05:30, Kalpesh Patel <kalpesh.patel at usa.net> wrote:
>Hi GNC community. 
>
> 
>
>This is more likely a question for devs: is there a way to get a list of all
>commodities and all their attributes (specifically name space) defined for
>each that are in the book by way of Python bindings? 
>
> 
>
>If so, is there an example of such binding code?
>
> 
>
>Thanks.
>
> 
>
>_______________________________________________
>gnucash-user mailing list
>gnucash-user at gnucash.org
>To update your subscription preferences or to unsubscribe:
>https://lists.gnucash.org/mailman/listinfo/gnucash-user
>-----
>Please remember to CC this list on all your replies.
>You can do this by using Reply-To-List or Reply-All.


David T.


More information about the gnucash-user mailing list