from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.schema import Sequence
Base = declarative_base()


class Article(Base):
    __tablename__ = 'article'
aid = Column(INTEGER(unsigned=True, zerofill=True), Sequence(
    'article_aid_seq', start=1001, increment=1), primary_key=True)
Setting SQLAlchemy autoincrement start value