I have a A.pxd (with just declaration of functions) and A.pyx that contains just a class A with all the function body.
Than I have B that inherits from A,
a
Use
from A cimport Aclass cdef class Bclass(Aclass): # ...
or
cimport A cdef class Bclass(A.Aclass): # ...
Note that Aclass must be cdef'fed class, Cython extension types cannot inherit from Python classes.
Aclass
cdef