a search and replace of all your CamelCase names is definitely the
simplest way around this issue. Alternatively you would have to
forego the usage of reflection and rename your attributes using "key":
t = Table("mytable", metadata,
Column("somecolumn", Integer, key="SomeColumn")
)
or you can accomplish something similar with the ORM, if that's all
you needed:
mapper(MyClass, sometable, properties={
'SomeColumn':sometable.c.somecolumn
})
both of the above can be automated with custom code, and possibly even
can be built around the reflected tables. but you'd need some kind of
lowercase-to-CamelCase converter.