Trytond-factories is a factory_trytond extension which uses factory_boy that allows to create Tryton ERP models with factories.
You can inherit ERP's core model factories to do some testing or to populate databases with some sample data.
Import this module and you will be able to create objects such as Company, Party, etc.
Here's an example with Tryton's model Company:
import trytond_factories
company = trytond_factories.Company.create(party__name='Example Company')
print(company)
>>> Pool().get('company.company')(1)