Skip to content

Commit 657ce9c

Browse files
committed
updating relational database connections section
1 parent db356f6 commit 657ce9c

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2013-12-10T15:12:20Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2013-12-12T12:55:44Z</updated></feed>

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,18 @@ <h2>Database third-party services</h2>
335335
be scaled to larger or smaller configurations based on storage and performance
336336
needs.</p>
337337
</div>
338+
<div class="section" id="database-connections-with-python">
339+
<h2>Database connections with Python</h2>
340+
<p>To work with a relational database using Python, you need to use a code
341+
library. The most common libraries for relational databases are:</p>
342+
<ul class="simple">
343+
<li><a class="reference external" href="http://initd.org/psycopg/">psycopg2</a> for PostgreSQL</li>
344+
<li><a class="reference external" href="https://pypi.python.org/pypi/MySQL-python/1.2.4">MySQLdb</a> for MySQL</li>
345+
<li><a class="reference external" href="http://cx-oracle.sourceforge.net/">cx_Oracle</a> for Oracle</li>
346+
</ul>
347+
<p>SQLite support is built into Python 2.7+ and therefore a separate library
348+
is not necessary.</p>
349+
</div>
338350
<div class="section" id="database-resources">
339351
<h2>Database resources</h2>
340352
<p><a class="reference external" href="http://db-engines.com/en/ranking">DB-Engines</a> ranks the most popular

pages/database.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ <h2>Database third-party services</h2>
8181
be scaled to larger or smaller configurations based on storage and performance
8282
needs.</p>
8383
</div>
84+
<div class="section" id="database-connections-with-python">
85+
<h2>Database connections with Python</h2>
86+
<p>To work with a relational database using Python, you need to use a code
87+
library. The most common libraries for relational databases are:</p>
88+
<ul class="simple">
89+
<li><a class="reference external" href="http://initd.org/psycopg/">psycopg2</a> for PostgreSQL</li>
90+
<li><a class="reference external" href="https://pypi.python.org/pypi/MySQL-python/1.2.4">MySQLdb</a> for MySQL</li>
91+
<li><a class="reference external" href="http://cx-oracle.sourceforge.net/">cx_Oracle</a> for Oracle</li>
92+
</ul>
93+
<p>SQLite support is built into Python 2.7+ and therefore a separate library
94+
is not necessary.</p>
95+
</div>
8496
<div class="section" id="database-resources">
8597
<h2>Database resources</h2>
8698
<p><a class="reference external" href="http://db-engines.com/en/ranking">DB-Engines</a> ranks the most popular

source/content/pages/database.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ be scaled to larger or smaller configurations based on storage and performance
4545
needs.
4646

4747

48+
Database connections with Python
49+
--------------------------------
50+
To work with a relational database using Python, you need to use a code
51+
library. The most common libraries for relational databases are:
52+
53+
* `psycopg2 <http://initd.org/psycopg/>`_ for PostgreSQL
54+
* `MySQLdb <https://pypi.python.org/pypi/MySQL-python/1.2.4>`_ for MySQL
55+
* `cx_Oracle <http://cx-oracle.sourceforge.net/>`_ for Oracle
56+
57+
SQLite support is built into Python 2.7+ and therefore a separate library
58+
is not necessary.
59+
60+
4861
Database resources
4962
------------------
5063
`DB-Engines <http://db-engines.com/en/ranking>`_ ranks the most popular
@@ -53,3 +66,4 @@ database management systems.
5366
`PostgreSQL Weekly <http://postgresweekly.com/>`_ is a weekly newsletter of
5467
PostgreSQL content from around the web.
5568

69+

0 commit comments

Comments
 (0)