<s>
Pylons	O
Project	O
is	O
an	O
open-source	B-Application
organization	O
that	O
develops	O
a	O
set	O
of	O
web	O
application	O
technologies	O
written	O
in	O
Python	B-Language
.	O
</s>
<s>
Initially	O
the	O
project	O
was	O
a	O
single	O
web	B-Application
framework	I-Application
called	O
Pylons	O
,	O
but	O
after	O
the	O
merger	O
with	O
the	O
repoze.bfg	O
framework	B-Application
under	O
the	O
new	O
name	O
Pyramid	O
,	O
the	O
Pylons	O
Project	O
now	O
consists	O
of	O
multiple	O
related	O
web	O
application	O
technologies	O
.	O
</s>
<s>
Pyramid	O
is	O
an	O
open	B-Application
source	I-Application
web	B-Application
framework	I-Application
written	O
in	O
Python	B-Language
and	O
is	O
based	O
on	O
WSGI	B-Language
.	O
</s>
<s>
It	O
is	O
a	O
minimalistic	B-Device
web	B-Application
framework	I-Application
inspired	O
by	O
Zope	B-Language
,	O
Pylons	O
and	O
Django	B-Language
.	O
</s>
<s>
Originally	O
called	O
"	O
repoze.bfg	O
"	O
,	O
Pyramid	O
gathered	O
attention	O
mostly	O
in	O
the	O
Zope	B-Language
and	O
Plone	B-Language
community	O
as	O
the	O
Open	O
Society	O
Institute	O
's	O
KARL	O
project	O
migrated	O
from	O
Plone	B-Language
to	O
BFG	O
.	O
</s>
<s>
In	O
2010	O
it	O
was	O
announced	O
that	O
the	O
Pylons	B-Language
framework	I-Language
will	O
move	O
over	O
to	O
using	O
BFG	O
as	O
a	O
base	O
in	O
version	O
1.5	O
.	O
</s>
<s>
Pyramid	O
is	O
a	O
minimalistic	B-Device
,	O
platform-independent	B-Operating_System
web	B-Application
framework	I-Application
.	O
</s>
<s>
It	O
is	O
persistence	O
agnostic	O
and	O
is	O
integrated	O
both	O
with	O
SQL	O
databases	O
via	O
SQLAlchemy	B-Application
and	O
with	O
the	O
Zope	B-Application
Object	I-Application
Database	I-Application
,	O
as	O
well	O
as	O
other	O
NoSQL	B-General_Concept
databases	O
,	O
such	O
as	O
CouchDB	B-Application
.	O
</s>
<s>
Pyramid	O
allows	O
developers	O
to	O
define	O
routes	O
using	O
regular	B-Language
expressions	I-Language
that	O
map	O
to	O
objects	O
.	O
</s>
<s>
Like	O
its	O
fellow	O
framework	B-Application
Zope	B-Language
,	O
Pyramid	O
also	O
allows	O
hierarchical	O
object	O
traversal	O
,	O
where	O
each	O
part	O
of	O
a	O
URL	O
is	O
an	O
object	O
containing	O
other	O
objects	O
,	O
in	O
a	O
way	O
that	O
is	O
similar	O
to	O
folders	O
in	O
a	O
filesystem	O
.	O
</s>
<s>
Pylons	B-Language
Framework	I-Language
is	O
an	O
open-source	B-Application
Web	B-Application
application	I-Application
framework	I-Application
written	O
in	O
Python	B-Language
.	O
</s>
<s>
It	O
makes	O
extensive	O
use	O
of	O
the	O
Web	B-Language
Server	I-Language
Gateway	I-Language
Interface	I-Language
standard	O
to	O
promote	O
reusability	O
and	O
to	O
separate	O
functionality	O
into	O
distinct	O
modules	O
.	O
</s>
<s>
It	O
is	O
strongly	O
influenced	O
by	O
Ruby	B-Application
on	I-Application
Rails	I-Application
:	O
two	O
of	O
its	O
main	O
components	O
,	O
Routes	O
and	O
WebHelpers	O
,	O
are	O
Python	B-Language
reimplementations	O
of	O
Rails	O
features	O
.	O
</s>
<s>
The	O
official	O
installation	O
method	O
of	O
Pylons	O
is	O
through	O
EasyInstall	O
via	O
the	O
Python	B-Language
Package	I-Language
Index	I-Language
(	O
PyPI	B-Language
)	O
,	O
and	O
most	O
of	O
the	O
additional	O
tools	O
are	O
typically	O
installed	O
the	O
same	O
way	O
.	O
</s>
<s>
Some	O
distributions	O
could	O
also	O
package	O
Pylons	O
and	O
Paste	B-Language
,	O
but	O
it	O
is	O
likely	O
that	O
any	O
distribution	O
's	O
packages	O
would	O
lag	O
the	O
official	O
distribution	O
.	O
</s>
<s>
Paste	B-Language
is	O
used	O
for	O
project	O
setup	O
,	O
testing	O
,	O
and	O
deployment	O
.	O
</s>
<s>
Using	O
the	O
common	O
INI	B-Protocol
configuration	O
format	O
,	O
Paste	B-Language
allows	O
for	O
multiple	O
"	O
profiles	O
"	O
,	O
so	O
that	O
developers	O
can	O
run	O
development	O
and	O
deployment	O
setups	O
from	O
the	O
same	O
codebase	O
without	O
revealing	O
sensitive	O
parts	O
of	O
Pylons	O
,	O
such	O
as	O
the	O
interactive	O
debugger	O
,	O
to	O
production	O
users	O
.	O
</s>
<s>
Currently	O
the	O
only	O
widely	O
used	O
URL	O
dispatcher	O
for	O
Pylons	O
is	O
Routes	O
,	O
a	O
Python	B-Language
reimplementation	O
of	O
Ruby	B-Application
on	I-Application
Rails	I-Application
 '	O
URL	O
dispatching	O
,	O
although	O
any	O
WSGI-compatible	O
URL	O
dispatcher	O
can	O
be	O
used	O
.	O
</s>
<s>
WebHelpers	O
also	O
provides	O
some	O
utility	O
functions	O
for	O
generating	O
JavaScript	B-Language
code	O
making	O
use	O
of	O
the	O
script.aculo.us	B-Language
and	O
Prototype	B-Language
libraries	O
.	O
</s>
<s>
FormEncode	O
and	O
FormBuild	O
are	O
used	O
for	O
HTML	O
form	O
validation	O
and	O
generation	O
;	O
there	O
has	O
been	O
some	O
use	O
of	O
Mako	B-Library
for	O
form	O
generation	O
using	O
Mako	B-Library
's	O
inheritance	O
model	O
.	O
</s>
<s>
Myghty	O
was	O
the	O
default	O
Pylons	O
templating	O
language	O
,	O
but	O
as	O
of	O
version	O
0.9.6	O
it	O
has	O
been	O
replaced	O
by	O
Mako	B-Library
.	O
</s>
<s>
Both	O
templating	O
languages	O
are	O
text-based	O
(	O
as	O
opposed	O
to	O
XML-based	O
)	O
,	O
and	O
support	O
includes	O
,	O
inheritance	O
and	O
embedding	O
arbitrary	O
Python	B-Language
code	I-Language
.	O
</s>
<s>
Genshi	B-Language
,	O
an	O
XML-based	O
templating	O
language	O
,	O
can	O
be	O
used	O
in	O
lieu	O
of	O
either	O
Mako	B-Library
or	O
Myghty	O
.	O
</s>
<s>
Both	O
SQLObject	B-Library
and	O
SQLAlchemy	B-Application
are	O
known	O
to	O
be	O
used	O
.	O
</s>
<s>
This	O
led	O
to	O
repoze.bfg	O
(	O
a	O
part	O
of	O
the	O
Repoze	O
Python-based	O
web	B-Application
framework	I-Application
)	O
to	O
become	O
rebranded	O
and	O
relaunched	O
as	O
the	O
Pyramid	O
web	B-Application
framework	I-Application
.	O
</s>
