fbpx
Wikipedia

Pylons project

Pylons Project is an open-source organization that develops a set of web application technologies written in Python. Initially the project was a single web framework called Pylons, but after the merger with the repoze.bfg framework under the new name Pyramid, the Pylons Project now consists of multiple related web application technologies.

Pylons Project
Type of site
Python framework development
Available inEnglish
OwnerOpen source
EditorAnonymous
URLpylonsproject.org
CommercialNo
RegistrationNone
LaunchedDecember 27, 2010 (2010-12-27)
Current statusActive

Pyramid

Pyramid
 
Developer(s)Chris McDonough, Ben Bangert, Michael Merickel, Bert JW Regeer, Steve Piercy
Initial releaseJuly 8, 2008; 14 years ago (2008-07-08)[1]
Stable release
2.0.1 / January 29, 2023; 8 days ago (2023-01-29)[1]
Repositorywww.github.com/Pylons/pyramid
Written inPython
Operating systemCross-platform
TypeWeb application framework
LicenseBSD-like[2]
Websitewww.trypyramid.com

Pyramid is an open source web framework written in Python and is based on WSGI. It is a minimalistic web framework inspired by Zope, Pylons and Django.[3]

Originally called "repoze.bfg", Pyramid gathered attention mostly in the Zope[4] and Plone community as the Open Society Institute's KARL project migrated from Plone to BFG.[5] In 2010 it was announced that the Pylons framework will move over to using BFG as a base in version 1.5.[6] As a result of the inclusion of BFG into the Pylons project, BFG was renamed Pyramid.[7]

Features

Pyramid is a minimalistic, platform-independent web framework. It is persistence agnostic and is integrated both with SQL databases via SQLAlchemy and with the Zope Object Database, as well as other NoSQL databases, such as CouchDB.[3]

Pyramid allows developers to define routes using regular expressions that map to objects. Like its fellow framework Zope, Pyramid also allows hierarchical object traversal, where each part of a URL is an object containing other objects, in a way that is similar to folders in a filesystem.[8]

Pylons Web Framework

Pylons Framework
 
Developer(s)Ben Bangert, James Gardner
Initial releaseSeptember 2005; 17 years ago (2005-09)[9]
Stable release
1.0.2[10]   / 22 July 2015; 7 years ago (22 July 2015)
Repositorygithub.com/Pylons/pylons
Written inPython
Operating systemCross-platform
TypeWeb application framework
LicenseBSD license
Websitewww.pylonsproject.org/about-pylons-framework.html

Pylons Framework is an open-source Web application framework written in Python. It makes extensive use of the Web Server Gateway Interface standard to promote reusability and to separate functionality into distinct modules.[11] It is strongly influenced by Ruby on Rails: two of its main components, Routes and WebHelpers, are Python reimplementations of Rails features.

Structure

Pylons is well known for having a near-complete stack of third-party tools, eschewing the "not-invented-here" phenomenon.

Installation, dependencies, and setup

The official installation method of Pylons is through EasyInstall via the Python Package Index (PyPI), and most of the additional tools are typically installed the same way. EasyInstall also handles package dependencies when relevant. Some distributions could also package Pylons and Paste, but it is likely that any distribution's packages would lag the official distribution. Pylons may also be installed by hand by renaming its .egg file to .zip and extracting the contents.

Paste is used for project setup, testing, and deployment. Using the common INI configuration format, Paste allows for multiple "profiles", so that developers can run development and deployment setups from the same codebase without revealing sensitive parts of Pylons, such as the interactive debugger, to production users.

URL dispatch

Currently the only widely used URL dispatcher for Pylons is Routes, a Python reimplementation of Ruby on Rails' URL dispatching, although any WSGI-compatible URL dispatcher can be used. While Routes is a separate library, it was developed for use in Pylons and its development remains closely in sync with Pylons.

HTML generation

Another piece of Rails adapted for Pylons is WebHelpers, which provides URL mapping based on the Routes configuration. WebHelpers also provides some utility functions for generating JavaScript code making use of the script.aculo.us and Prototype libraries.

FormEncode and FormBuild are used for HTML form validation and generation; there has been some use of Mako for form generation using Mako's inheritance model.

Templating

Myghty was the default Pylons templating language, but as of version 0.9.6 it has been replaced by Mako.[12] Both templating languages are text-based (as opposed to XML-based), and support includes, inheritance and embedding arbitrary Python code.

Because of Pylons' loosely coupled layers, other templating languages can be used as well. Genshi, an XML-based templating language, can be used in lieu of either Mako or Myghty.[13]

Database abstraction and object-relational mapping

Pylons has no default database library. Both SQLObject and SQLAlchemy are known to be used.

Merger with repoze.bfg and birth of Pyramid Web Framework

Pylons has developed into the Pylons Project, and the old code from Pylons 1.0 is now in maintenance-only mode. However, pursuant to the project's merger with repoze.bfg since November 2010, newer versions of Pylons are actually different from the original Pylons 1.0. Pylons developers initially planned to rewrite certain portions of the code, but they observed that the new code was approximating repoze.bfg, which led to the merger of Pylons and repoze.bfg.[14][15] This led to repoze.bfg (a part of the Repoze Python-based web framework) to become rebranded and relaunched as the Pyramid web framework.[16]

See also

References

  1. ^ a b "Pyramid Change History — The Pyramid Web Framework v2.0". docs.pylonsproject.org. Retrieved 2021-04-26.
  2. ^ "Copyright, Trademarks, and Attributions — The Pyramid Web Framework v2.0". docs.pylonsproject.org. Retrieved 2021-04-26.
  3. ^ a b Chris McDonough. . Archived from the original on 2013-12-30. Retrieved 2010-09-21.
  4. ^ Gary Poster (2010-09-17). "Zope Summit, DZUG, repoze.bfg". Retrieved 2010-09-21.
  5. ^ Thomas Moroz, Chris Rossi & Calvin Hendryx-Parker (2009-10-28). . Budapest, Hungary: Plone Conference 2009. Archived from the original on 2010-06-02. Retrieved 2010-09-23.
  6. ^ Ben Bangert (2010-09-18). "Emails explaining the Pylons 2 structure". Retrieved 2010-09-21.
  7. ^ . Archived from the original on 2010-11-13. Retrieved 2011-01-03.
  8. ^ Wichert Akkerman (2009-10-28). Lessons from other frameworks. Budapest, Hungary: Plone Conference 2009. Event occurs at 25:50. Archived from the original on 2013-04-18. Retrieved 2010-09-21.
  9. ^ History of Pylons
  10. ^ "Release 1.0.2". 22 July 2015. Retrieved 22 July 2018.
  11. ^ The mod_wsgi project includes both Pylons and Pyramid in its list of supported major Python web frameworks.
  12. ^ Haas, Christoph Beginning Pylons 2009-02-16 at the Wayback Machine. Retrieved July 5, 2007
  13. ^ Genshi Wiki Pylons with Genshi Retrieved July 5, 2007
  14. ^ Pylons Project FAQ. URL: https://pylonsproject.org/about-pylons-project.html
  15. ^ Notes on the Pylons and repoze.bfg merger. URL: . Archived from the original on 2012-03-04. Retrieved 2012-08-14.
  16. ^ About Pyramid. URL: https://trypyramid.com/

Further reading

External links

  • Official website  

pylons, project, pylons, project, open, source, organization, that, develops, application, technologies, written, python, initially, project, single, framework, called, pylons, after, merger, with, repoze, framework, under, name, pyramid, pylons, project, cons. Pylons Project is an open source organization that develops a set of web application technologies written in Python Initially the project was a single web framework called Pylons but after the merger with the repoze bfg framework under the new name Pyramid the Pylons Project now consists of multiple related web application technologies Pylons ProjectType of sitePython framework developmentAvailable inEnglishOwnerOpen sourceEditorAnonymousURLpylonsproject wbr orgCommercialNoRegistrationNoneLaunchedDecember 27 2010 2010 12 27 Current statusActive Contents 1 Pyramid 1 1 Features 2 Pylons Web Framework 2 1 Structure 2 1 1 Installation dependencies and setup 2 1 2 URL dispatch 2 1 3 HTML generation 2 1 4 Templating 2 1 5 Database abstraction and object relational mapping 2 1 6 Merger with repoze bfg and birth of Pyramid Web Framework 3 See also 4 References 4 1 Further reading 5 External linksPyramid EditPyramid Developer s Chris McDonough Ben Bangert Michael Merickel Bert JW Regeer Steve PiercyInitial releaseJuly 8 2008 14 years ago 2008 07 08 1 Stable release2 0 1 January 29 2023 8 days ago 2023 01 29 1 Repositorywww wbr github wbr com wbr Pylons wbr pyramidWritten inPythonOperating systemCross platformTypeWeb application frameworkLicenseBSD like 2 Websitewww wbr trypyramid wbr comPyramid is an open source web framework written in Python and is based on WSGI It is a minimalistic web framework inspired by Zope Pylons and Django 3 Originally called repoze bfg Pyramid gathered attention mostly in the Zope 4 and Plone community as the Open Society Institute s KARL project migrated from Plone to BFG 5 In 2010 it was announced that the Pylons framework will move over to using BFG as a base in version 1 5 6 As a result of the inclusion of BFG into the Pylons project BFG was renamed Pyramid 7 Features Edit Pyramid is a minimalistic platform independent web framework It is persistence agnostic and is integrated both with SQL databases via SQLAlchemy and with the Zope Object Database as well as other NoSQL databases such as CouchDB 3 Pyramid allows developers to define routes using regular expressions that map to objects Like its fellow framework Zope Pyramid also allows hierarchical object traversal where each part of a URL is an object containing other objects in a way that is similar to folders in a filesystem 8 Pylons Web Framework EditPylons Framework Developer s Ben Bangert James GardnerInitial releaseSeptember 2005 17 years ago 2005 09 9 Stable release1 0 2 10 22 July 2015 7 years ago 22 July 2015 Repositorygithub wbr com wbr Pylons wbr pylonsWritten inPythonOperating systemCross platformTypeWeb application frameworkLicenseBSD licenseWebsitewww wbr pylonsproject wbr org wbr about pylons framework wbr htmlPylons Framework is an open source Web application framework written in Python It makes extensive use of the Web Server Gateway Interface standard to promote reusability and to separate functionality into distinct modules 11 It is strongly influenced by Ruby on Rails two of its main components Routes and WebHelpers are Python reimplementations of Rails features Structure Edit Pylons is well known for having a near complete stack of third party tools eschewing the not invented here phenomenon Installation dependencies and setup Edit The official installation method of Pylons is through EasyInstall via the Python Package Index PyPI and most of the additional tools are typically installed the same way EasyInstall also handles package dependencies when relevant Some distributions could also package Pylons and Paste but it is likely that any distribution s packages would lag the official distribution Pylons may also be installed by hand by renaming its egg file to zip and extracting the contents Paste is used for project setup testing and deployment Using the common INI configuration format Paste allows for multiple profiles so that developers can run development and deployment setups from the same codebase without revealing sensitive parts of Pylons such as the interactive debugger to production users URL dispatch Edit Currently the only widely used URL dispatcher for Pylons is Routes a Python reimplementation of Ruby on Rails URL dispatching although any WSGI compatible URL dispatcher can be used While Routes is a separate library it was developed for use in Pylons and its development remains closely in sync with Pylons HTML generation Edit Another piece of Rails adapted for Pylons is WebHelpers which provides URL mapping based on the Routes configuration WebHelpers also provides some utility functions for generating JavaScript code making use of the script aculo us and Prototype libraries FormEncode and FormBuild are used for HTML form validation and generation there has been some use of Mako for form generation using Mako s inheritance model Templating Edit Myghty was the default Pylons templating language but as of version 0 9 6 it has been replaced by Mako 12 Both templating languages are text based as opposed to XML based and support includes inheritance and embedding arbitrary Python code Because of Pylons loosely coupled layers other templating languages can be used as well Genshi an XML based templating language can be used in lieu of either Mako or Myghty 13 Database abstraction and object relational mapping Edit Pylons has no default database library Both SQLObject and SQLAlchemy are known to be used Merger with repoze bfg and birth of Pyramid Web Framework Edit Pylons has developed into the Pylons Project and the old code from Pylons 1 0 is now in maintenance only mode However pursuant to the project s merger with repoze bfg since November 2010 newer versions of Pylons are actually different from the original Pylons 1 0 Pylons developers initially planned to rewrite certain portions of the code but they observed that the new code was approximating repoze bfg which led to the merger of Pylons and repoze bfg 14 15 This led to repoze bfg a part of the Repoze Python based web framework to become rebranded and relaunched as the Pyramid web framework 16 See also Edit Free and open source software portalDjango web framework FastAPI Flask web framework Web2py TurboGears a derivative project built on top of Pylons Tornado Comparison of web frameworksReferences Edit a b Pyramid Change History The Pyramid Web Framework v2 0 docs pylonsproject org Retrieved 2021 04 26 Copyright Trademarks and Attributions The Pyramid Web Framework v2 0 docs pylonsproject org Retrieved 2021 04 26 a b Chris McDonough repoze bfg introduction Archived from the original on 2013 12 30 Retrieved 2010 09 21 Gary Poster 2010 09 17 Zope Summit DZUG repoze bfg Retrieved 2010 09 21 Thomas Moroz Chris Rossi amp Calvin Hendryx Parker 2009 10 28 KARL large scale Knowledge Management Budapest Hungary Plone Conference 2009 Archived from the original on 2010 06 02 Retrieved 2010 09 23 Ben Bangert 2010 09 18 Emails explaining the Pylons 2 structure Retrieved 2010 09 21 repoze bfg is now Pyramid Archived from the original on 2010 11 13 Retrieved 2011 01 03 Wichert Akkerman 2009 10 28 Lessons from other frameworks Budapest Hungary Plone Conference 2009 Event occurs at 25 50 Archived from the original on 2013 04 18 Retrieved 2010 09 21 History of Pylons Release 1 0 2 22 July 2015 Retrieved 22 July 2018 The mod wsgi project includes both Pylons and Pyramid in its list of supported major Python web frameworks Haas Christoph Beginning Pylons Archived 2009 02 16 at the Wayback Machine Retrieved July 5 2007 Genshi Wiki Pylons with Genshi Retrieved July 5 2007 Pylons Project FAQ URL https pylonsproject org about pylons project html Notes on the Pylons and repoze bfg merger URL Be Groovie Notes on the Pylons amp repoze BFG Merger Archived from the original on 2012 03 04 Retrieved 2012 08 14 About Pyramid URL https trypyramid com Further reading Edit Gardner James January 2009 The Definitive Guide to Pylons Berkeley CA Apress doi 10 1007 978 1 4302 0534 0 ISBN 978 1 59059 934 1 External links EditOfficial website Retrieved from https en wikipedia org w index php title Pylons project amp oldid 1136392139 Pyramid, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.