Python classes can have class attributes:
class Foo(object): bar = 4
Is there an analogous construct for defining class attributes in Cy
You can't do that that way. I don't know whether static attributes are supported, but the "normal" ones have to be accessed from methods, e.g. a constructor:
cdef class Foo: cdef int bar def __init__(self): self.bar = 4