<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python Blog - All about python &#187; django-alchemy</title>
	<atom:link href="http://www.python-blog.com/tag/django-alchemy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.python-blog.com</link>
	<description>and technologies around</description>
	<lastBuildDate>Tue, 27 Jul 2010 19:58:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sql alchemy model generator</title>
		<link>http://www.python-blog.com/2009/09/26/sql-alchemy-model-generator/</link>
		<comments>http://www.python-blog.com/2009/09/26/sql-alchemy-model-generator/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 10:53:28 +0000</pubDate>
		<dc:creator>Marcin Kuźmiński</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Pylons]]></category>
		<category><![CDATA[SqlAlchemy]]></category>
		<category><![CDATA[autoload]]></category>
		<category><![CDATA[django-alchemy]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[python blog]]></category>
		<category><![CDATA[sql alchemy]]></category>

		<guid isPermaLink="false">http://www.python-blog.com/?p=134</guid>
		<description><![CDATA[Recently i had to create a lot of models using declarative mode with sqlalchemy 0.5.5 It was very time consuming especially for large databases. I started to think about an automated solution.
Sqlalchemy have this auto load feature which fetches info about tables by itself. I wanted to use this somehow to generate a string which [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i had to create a lot of models using declarative mode with sqlalchemy 0.5.5 It was very time consuming especially for large databases. I started to think about an automated solution.</p>
<p>Sqlalchemy have this auto load feature which fetches info about tables by itself. I wanted to use this somehow to generate a string which can be easily  copy/paste to database model definition script. So i started a little project to write auto  model generator for sql alchemy based on auto load feature in sqlalchemy.</p>
<p>The script  is not perfect but it works and save a huge amount of time just codding the models. In fact is was able to setup a 186 table database model in 15minutes with this script.</p>
<p>Well the script helped me a lot and now on when i have to load some new existing database or changes i use it all the time.</p>
<p>The documentation is inside the script i tried to write it so anybody could use it out of the box.</p>
<p>I tested it on 4 schema 200+ tables database and i worked quite good. This script still have to be polished but current functionality is enough for most users.</p>
<p>My script is going to be also a part of django-alchemy project started by my friend Lukasz Balcerzak. You can visit the project site @ <a href="http://code.google.com/p/django-alchemy/">http://code.google.com/p/django-alchemy/</a></p>
<p>I used it with Pylons application and Django with modded sqlalchemy. but it can be basically used in any app which uses sqlalchemy. I did not test it with mysql though,but it should work, just specify mysql as dialect.</p>
<p><span style="font-size:130%"><strong>You can download this script from <a href="http://www.python-blog.com/wp-content/uploads/2009/09/base_model_generator.py">sqlalchemy model generator</a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.python-blog.com/2009/09/26/sql-alchemy-model-generator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>django and sqlachemy integration</title>
		<link>http://www.python-blog.com/2009/09/05/django-and-sqlachemy-integration/</link>
		<comments>http://www.python-blog.com/2009/09/05/django-and-sqlachemy-integration/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 16:45:44 +0000</pubDate>
		<dc:creator>Marcin Kuźmiński</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[SqlAlchemy]]></category>
		<category><![CDATA[django-alchemy]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[multiple database]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[python blog]]></category>

		<guid isPermaLink="false">http://www.python-blog.com/?p=158</guid>
		<description><![CDATA[One of my friends started an interesting project to integrate sqlalchemy into Django. Project name is django-alchemy.
You can visit it on Google code under http://code.google.com/p/django-alchemy/.
You may ask why to use sqlalchemy under Django if it already have an ORM ?
It&#8217;s very easy the django orm is not always the best choice. When using multiple schemas, [...]]]></description>
			<content:encoded><![CDATA[<p>One of my friends started an interesting project to integrate sqlalchemy into Django. Project name is django-alchemy.<br />
You can visit it on Google code under <a href="http://code.google.com/p/django-alchemy/">http://code.google.com/p/django-alchemy/</a>.</p>
<p>You may ask why to use sqlalchemy under Django if it already have an ORM ?<br />
It&#8217;s very easy the django orm is not always the best choice. When using multiple schemas, or multiple database connection the Django ORM just does not provide such functionality.<br />
SqlAlchemy have this built in so when you&#8217;re thinking of using multiple schemas or databases in your django project check out his project. Highly recommended</p>
]]></content:encoded>
			<wfw:commentRss>http://www.python-blog.com/2009/09/05/django-and-sqlachemy-integration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
