from sqlalchemy import create_engine, Column, Integer, String, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker engine = create_engine('sqlite:///example.db') Base = declarative_base() Session = sessionmaker(bind=engine) class MyTable(Base): __tablename__ = 'mytable' id = Column(Integer, primary_key=True) name = Column(String) created_at = Column(DateTime) Base.metadata.create_all(engine) session = Session() new_item = MyTable(name='foo', created_at=datetime.now()) session.add(new_item) session.commit()In this example, we define a new table `MyTable` with three columns: `id`, `name`, and `created_at`. `id` is an integer primary key, `name` is a string, and `created_at` is a `DateTime` column. We then create an instance of the `MyTable` class with a `name` value of 'foo' and a `created_at` value of the current datetime and add it to the database. The package library for `sqlalchemy.types` is `sqlalchemy`.