Expose python standard library to C

I was trying to look for a way of using _asynciomodule in my C application but couldn’t find the header files that could expose the functionality to me. The python standard library has some pretty important modules implemented that would be beneficial to developers writing C code so as not to reinvent the wheel. So I’m wondering if it’s possible to expose some of those libraries to the C developers as well.

The whole Python standard library is already available to you - you can just PyImport_ImportModule() anything, then access and call whatever you need. A specific C API on top of that is only really necessary if the overhead is a major concern, or if you want to pass primitive values in.