Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Estranged Managed Object Generator

Project Description


Python tool to generate Objective-C wrappers for CoreData object models. emogenerator is inspired by Jonathan “Wolf” Rentzsch’s mogenerator tool.

emogenerator also uses special comment ‘guard’ sections in the generated code to allow you to mix and match your code with auto-generated code. emogenerator also uses a mature and well maintained template system (genshi) to generate Objective-C source.


With setuptools:

$ easy_install -U emogenerator


In a directory containing a CoreData .xcdatamodel (or .xcdatamodeld) file:

Usage: emogenerator [options] [INPUT]

--version show program’s version number and exit
-h, --help show this help message and exit
--momc=MOMC The momc compiler program to use when converting xcdatamodel files to mom files (default: ‘/Developer/usr/bin/momc’)
-i INPUT, --input=INPUT
 The input xcdatamodel or mom file (type is inferred by file extension).
-o OUTPUT, --output=OUTPUT
 Output directory for generated files.
-t TEMPLATE, --template=TEMPLATE
 Directory containing templates.
-c CONFIG, --config=CONFIG
 Path to config plist file (values will be passed to template engine as a dictionary)
-v, --verbose set the log level to INFO
 set the log level, 0 = no log, 10+ = level of logging
 File to log messages to. If - or not provided then stdout is used.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
emogenerator-0.1.13.tar.gz (7.7 kB) Copy SHA256 Checksum SHA256 Source Feb 10, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting