Skip to content

Commit 34864d7

Browse files
committed
tweaking sqlalchemy example code page
1 parent bd78ee5 commit 34864d7

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

‎content/pages/examples/sqlalchemy/sqlalchemy-example-projects-code.markdown‎

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ sidebartitle: SQLAlchemy Example Code
77
meta: Python example projects and code that show how to use the SQLAlchemy object-relational mapper (ORM).
88

99

10-
[SQLAlchemy](/sqlalchemy.html) is a Python library for interacting
11-
with [databases](/databases.html) either through SQL or with an
12-
[object-relational mapper (ORM)](/object-relational-mappers-orms.html).
13-
14-
<a href="http://www.sqlalchemy.org/"><img src="/img/logos/sqlalchemy.jpg" width="100%" alt="SQLAlchemy logo." class="shot"></a>
15-
16-
This page describes projects that use SQLAlchemy to accomplish some
17-
goal, such as data analysis, running a web application's back end,
18-
or providing a [web API](/application-programming-interfaces.html).
10+
## Example Open Source Projects
11+
The following open source projects can serve as example code for you as
12+
you build your own applications with SQLAlchemy.
1913

2014

2115
### sandman2
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<a href="/sqlalchemy.html">SQLAlchemy</a>
2+
is a well-regarded database toolkit and
3+
<a href="/object-relational-mappers-orms.html">object-relational mapper (ORM)</a>
4+
implementation written in Python. SQLAlchemy provides a generalized
5+
interface for creating and executing database-agnostic code without
6+
needing to write SQL statements.
7+
8+
<a href="http://www.sqlalchemy.org/"><img src="/img/logos/sqlalchemy.jpg" width="100%" alt="SQLAlchemy logo." class="shot"></a>
9+
10+
11+
<h2 id="flask-by-class-function">Code Examples Sorted by SQLAlchemy Package</h2>
12+
<p>Specific examples are shown on the following individual pages,
13+
organized by classes and functions provided by SQLAlchemy, that are typically
14+
used when building your own applications.</p>

‎theme/templates/page.html‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ <h1>{{ page.title }}</h1>
5555
{% include "examples-extensions-descriptions/flask.html" %}
5656
{% include "code-examples/flask.html" %}
5757
{% endif %}
58+
{% if page.slug == "sqlalchemy-code-examples" %}
59+
{% include "examples-extensions-descriptions/sqlalchemy.html" %}
60+
{% include "code-examples/sqlalchemy.html" %}
61+
{% endif %}
5862
{% if page.slug == "pandas-code-examples" %}
5963
{% include "examples-extensions-descriptions/pandas.html" %}
6064
{% endif %}

0 commit comments

Comments
 (0)