<s>
Pylons	B-Language
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	B-Language
,	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	B-Language
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	B-Language
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	B-Application
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>
As	O
a	O
result	O
of	O
the	O
inclusion	O
of	O
BFG	O
into	O
the	O
Pylons	B-Language
project	O
,	O
BFG	O
was	O
renamed	O
Pyramid	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	B-Application
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>
Pylons	B-Language
is	O
well	O
known	O
for	O
having	O
a	O
near-complete	O
stack	O
of	O
third-party	O
tools	O
,	O
eschewing	O
the	O
"	O
not-invented-here	O
"	O
phenomenon	O
.	O
</s>
<s>
The	O
official	O
installation	O
method	O
of	O
Pylons	B-Language
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	B-Language
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>
Pylons	B-Language
may	O
also	O
be	O
installed	O
by	O
hand	O
by	O
renaming	O
its	O
.egg	O
file	O
to	O
.zip	O
and	O
extracting	O
the	O
contents	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	B-Language
,	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	B-Language
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>
While	O
Routes	O
is	O
a	O
separate	O
library	O
,	O
it	O
was	O
developed	O
for	O
use	O
in	O
Pylons	B-Language
and	O
its	O
development	O
remains	O
closely	O
in	O
sync	O
with	O
Pylons	B-Language
.	O
</s>
<s>
Another	O
piece	O
of	O
Rails	O
adapted	O
for	O
Pylons	B-Language
is	O
WebHelpers	O
,	O
which	O
provides	O
URL	O
mapping	O
based	O
on	O
the	O
Routes	O
configuration	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	B-Language
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>
Because	O
of	O
Pylons	B-Language
 '	O
loosely	O
coupled	O
layers	O
,	O
other	O
templating	O
languages	O
can	O
be	O
used	O
as	O
well	O
.	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>
Pylons	B-Language
has	O
no	O
default	O
database	O
library	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>
Pylons	B-Language
has	O
developed	O
into	O
the	O
Pylons	B-Language
Project	O
,	O
and	O
the	O
old	O
code	O
from	O
Pylons	B-Language
1.0	O
is	O
now	O
in	O
maintenance-only	O
mode	O
.	O
</s>
<s>
However	O
,	O
pursuant	O
to	O
the	O
project	O
's	O
merger	O
with	O
repoze.bfg	O
since	O
November	O
2010	O
,	O
newer	O
versions	O
of	O
Pylons	B-Language
are	O
actually	O
different	O
from	O
the	O
original	O
Pylons	B-Language
1.0	O
.	O
</s>
<s>
Pylons	B-Language
developers	O
initially	O
planned	O
to	O
rewrite	O
certain	O
portions	O
of	O
the	O
code	O
,	O
but	O
they	O
observed	O
that	O
the	O
new	O
code	O
was	O
approximating	O
repoze.bfg	O
,	O
which	O
led	O
to	O
the	O
merger	O
of	O
Pylons	B-Language
and	O
repoze.bfg	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>
