It's something I tinker with in my spare timeHow's it going here? we would like to test it.I'll post the code some time soon. It will be Open Source.
Precise, step-by-step documentation is essential.
It's something I tinker with in my spare timeHow's it going here? we would like to test it.I'll post the code some time soon. It will be Open Source.
Precise, step-by-step documentation is essential.
There ya go.Cool. Is this public domain and can we use it for our ML project?
Great, thank you very much. I will relate it to the hinterland.There ya go.Cool. Is this public domain and can we use it for our ML project?
Thank you Cuchulainn.Classes in Python are not prize-winning TBH.
By a struct do you mean all data is public by default like in C++?
Plan B: Put Order in a module having attributes, def statements and bind functions.
maybe dataclass?There have been quite a lot of developments in recent python versions. Is there a proper construct that would be like a class with no (or very basic) methods, and only (mainly) with attributes (anemic construct?). In C++, I would go for struct, I think (adding drama here; drama sells, right?). My use case is a Order object that would have security, size, order_type, and other such attributes.
All constructive comments/recommendations on this much welcome.
Thank you very much.
Thank you for this suggestion @Peniel. I wasn't aware of dataclasses. I'm looking into it now,maybe dataclass?There have been quite a lot of developments in recent python versions. Is there a proper construct that would be like a class with no (or very basic) methods, and only (mainly) with attributes (anemic construct?). In C++, I would go for struct, I think (adding drama here; drama sells, right?). My use case is a Order object that would have security, size, order_type, and other such attributes.
All constructive comments/recommendations on this much welcome.
Thank you very much.
dataclass(*, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=True)
Can you give a sales pitch as this library looks like cargo cult at first glance. In other words, what's the compelling reason for using it?maybe dataclass?There have been quite a lot of developments in recent python versions. Is there a proper construct that would be like a class with no (or very basic) methods, and only (mainly) with attributes (anemic construct?). In C++, I would go for struct, I think (adding drama here; drama sells, right?). My use case is a Order object that would have security, size, order_type, and other such attributes.
All constructive comments/recommendations on this much welcome.
Thank you very much.
Any thoughts on how to generate HTML documentation automatically for pybind11-generated Python modules? For C++ I do with Doxygen, but I don't know how to handle binary Python wrappers.Great, thank you very much. I will relate it to the hinterland.There ya go.Cool. Is this public domain and can we use it for our ML project?
Will also send you our pybind11 - C++ checklist.