archive-org.com » ORG » R » REPOZE.ORG

Total: 111

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Repoze Blog :)
    index contained within the catalog or a special value that specifies sort ordering and query limiting In the above example we specified no particular sort ordering or limit and we re essentially asking the catalog to return us all the documents that match the word peach as a field within the field index named flavor Each index specifies its own query argument style field indexes specify that the value you must pass in be a range search so we pass in the tuple peach peach which can be read from peach to peach Other types of indexes accept different query parameters For example text indexes accept only a term catalog search description nuts The result of calling the search method is a two tuple The first element of the tuple is the number of document ids in the catalog which match the query The second element is an iterable each iteration over this iterable returns a document id The results of catalog search description nuts might return 1 2 The first element in the tuple indicates that there is one document in the catalog that matches the description nuts The second element in the tuple here represented as a list although it s more typically a generator is a sequence of document ids that match the query You can combine search parameters to further limit a query catalog search flavor peach peach description nuts This would return a result representing all the documents indexed within the catalog with the flavor of peach and a description of nuts Index Types Out of the box repoze catalog supports three index types field indexes keyword indexes and text indexes Field indexes are meant to index single discrete values and queries to a field index will only match if the value which was indexed matches the query exactly Keyword indexes are essentially field indexes which index sequences of values and which can be queried for any of the values in each sequence indexed Text indexes index text using the zope index text index type and can be queried with arbitrary textual terms Text indexes can use various splitting and normalizing strategies to collapse indexed texts for better querying Helper Facilities repoze catalog provides some helper facilities which help you integrate a catalog into an arbitrary Python application The most obvious is a FileStorageCatalogFactory which makes it reasonably easy to create a Catalog object within an arbitrary Python application Using this facility you don t have to know anything about ZODB to use repoze catalog If you have an existing ZOB application however you can ignore this facility entirely and use the Catalog implementation directly More Info For more information see the repoze catalog documentation posted at 00 00 permalink 2008 09 26 repoze bfg 0 3 8 Released with Chameleon and Genshi style Support Malthe Borch has been toiling away at renaming and refactoring the z3c pt templating engine into something he s calling Chameleon The first releases of Chameleon were made a couple of days ago and I ve updated repoze bfg to a 0 3 8 version that uses Chameleon instead of z3c pt You can get this version by using easy install i http dist repoze org lemonade dev simple U repoze bfg repoze bfg no longer supports z3c pt itself but all apps that use the repoze bfg template API functions will continue to function properly albeit using Chameleon under the hood instead of z3c pt Importing API functions from repoze bfg template is now a deprecated spelling although these APIs will remain around for a good long time and won t be removed without a deprecation warning being issued Newly generated projects will by default import template related functions from repoze bfg chameleon zpt instead of repoze bfg template One of the things that moving to Chameleon allows us to do easily is to support Genshi style templates To that end there are new APIs in repoze bfg which allow you to use Genshi style templates out of the box See the API documentation regarding the repoze bfg chameleon genshi module for more info Thanks Malthe Chris McDonough posted at 00 00 permalink 2008 09 17 Christian Scholz repoze bfg and ToscaWidgets and storm and repoze who openid oh my I enjoyed talking with Christian at the DZUG Tagung last week about how he was working with various repoze pacakges It turns out that he has been blogging about them too Using ToscaWidgets with repoze bfg and Storm Lightning talk on his repoze who openid plugin Very nice work posted at 00 00 permalink 2008 09 12 DZUG Presentation Slides Slides from Tres presentation and lightning talk at the 2008 DZUG Tagung are now online Turplango Playing nice with others presentation URISpace lightning talk posted at 00 00 permalink 2008 09 02 Repoze Presentation at ZPUG DC Tuesday September 2 2008 I Chris McDonough will be making a presentation about the new repoze bfg Python web framework at a meeting of the Washington DC Zope and Python User s Group on Tuesday September 2 2008 in the Radio Free Asia boardroom Come on down if you re around For more information see the ZPUG DC announcement posted at 00 00 permalink 2008 08 28 repoze bfg incompatibility in 0 3 4 I ve just released repoze bfg 0 3 4 which contains a backwards incompatible change the first since 0 1 From the README txt Make repoze bfg a namespace package so we can allow folks to create subpackages e g repoze bfg otherthing within separate eggs This is a backwards incompatible change which makes it impossible to import make app and get options from the repoze bfg module directly This change will break all existing apps generated by the paster code generator Instead you need to import these functions as repoze bfg router make app and repoze bfg registry get options respectively Sorry folks it has to be done now or never and definitely better now I hope this doesn t cause anyone too much inconvenience posted at 00 00 permalink 2008 08 24 Carlos repoze shootout In Action Carlos de la Guardia came up with an example idea competition application named repoze shootout a week or two ago You can now see it in action at http shootout repoze org It s purty these days repoze shooout is a repoze bfg sample application which currently demonstrates URL dispatch integration with SQLAlchemy integration with the Deliverance theming engine and integration with the repoze who WSGI authentication system You can check this application out of Subversion via svn co http svn repoze org repoze shootout trunk repoze shootout Or just browse it via http svn repoze org repoze shootout trunk posted at 00 00 permalink 2008 08 11 Carlos de la Guardia repoze shootout Carlos de la Guardia has checked in a cool demo application for repoze repoze shootout is an example idea competition application demonstrating URL dispatch and integration with SQLAlchemy Check this application out of Subversion via svn co http svn repoze org repoze shootout trunk repoze shootout It turns out the application also integrates repoze who Brilliant posted at 00 00 permalink 2008 07 31 Using repoze tm2 with Pylons and Storm Olaf Conradi just posted a good tutorial on using repoze tm2 with Pylons and the Storm object relational mapper Check it out posted at 00 00 permalink 2008 07 01 Repozecast Number 2 Repozecast 2 Plone Symposium Wrapup The second episode mp3 is now up It contains ramblings about Repoze and how it relates to A wrapup of the Plone Symposium in New Orleans 2008 The current state of Zope related Repoze software Info about repoze who Recent Zope Plone Python user group talks Thoughts about Deliverance Enjoy Chris posted at 00 00 permalink 2008 06 10 repoze who 1 0 Released Version 1 0 of the repoze who WSGI authentication framework has been released You can get it via easy install i http dist repoze org who latest simple repoze who Version 1 0 has optional support for middleware configuration via a config file thanks to Tres Being a framework repoze who is configuration heavy and it can provide a better separation of concerns and more convenience to wire it up via a configuration file than via Python code So rather than configuring the middleware and attendant plugins via straight Python code you can now wire who configuration up in an ini file who ini plugin form identification and challenge use repoze who plugins form make plugin login form qs do login rememberer name cookie form here s login form html plugin auth tkt identification use repoze who plugins auth tkt make plugin secret s33kr1t cookie name oatmeal secure False include ip False plugin basicauth identification and challenge use repoze who plugins basicauth make plugin realm sample plugin htpasswd authentication use repoze who plugins htpasswd make plugin filename here s passwd check fn repoze who plugins htpasswd crypt check plugin sqlusers authentication use repoze who plugins sql make authenticator plugin query SELECT userid password FROM users where login login s conn factory repoze who plugins sql make psycopg conn factory compare fn repoze who plugins sql default password compare plugin sqlproperties name properties use repoze who plugins sql make metadata plugin query SELECT firstname lastname FROM users where userid userid s filter my package filter propmd conn factory repoze who plugins sql make psycopg conn factory general request classifier repoze who classifiers default request classifier challenge decider repoze who classifiers default challenge decider identifiers plugin name classifier name or just plugin name good for any plugins form browser auth tkt basicauth authenticators plugin name classifier name or just plugin name good for any plugins htpasswd sqlusers challengers plugin name classifier name or just plugin name good for any plugins form browser basicauth mdproviders plugins sqlproperties Then you can use a constructor to create the configuration based on the ini file e g from repoze who config import WhoConfig app next app in pipeline here os path dirname file config file os path join here who ini parser WhoConfig here parser parse open config file middleware PluggableAuthenticationMiddleware app parser identifiers parser authenticators parser challengers parser mdproviders parser request classifier parser challenge decider log stream sys stdout log level logging DEBUG There is a PasteScript compatible constructor available via the egg name egg repoze who config that does just this so you can also just wire it up via a paste config file equivalently ala filter who use egg repoze who config config file here s etc who ini log level debug log stream stdout You can read the documentation for more information about configuration Chris posted at 00 00 permalink Authorization in Pylons with repoze who Tom Longson aka nym has created a useful blog post where he details a very simple integration between the repoze who WSGI authentication framework and Pylons including simple authorization posted at 00 00 permalink 2008 06 05 Six Months of Repoze Repoze is now roughly six months old and it s a pretty good time for some self analysis What have we done What are we doing What do we want to do What have we done We ve reimplemented the Zope 2 publisher so Zope 2 applications such as Plone can be run without modification within a WSGI environment We ve successfully externalized features Zope such as transaction management conflict error retry virtual hosting services and identification and authentication error logging and profiling into WSGI middleware so they can be reused outside the Zope stack in a way that s largely familiar to Zope and non Zope users alike We ve packaged up Plone Grok Trac and Django so they can be used without much effort in a Repoze WSGI environment We ve created bridges to traditionally CGI applications like Mailman so they can be served up via WSGI servers We ve created applications like repoze kiss which are Zope like but do not use any ZODB We ve evangelized Deliverance as a theming mechanism We ve reached out to other Python web projects like TurboGears Pylons and Django attempting to reuse some of their components and we ve made them aware of ours We ve given many many talks at Zope Plone Python user groups and conferences attempting to bring more folks into the fold We ve created buildouts using zc buildout for Plone and Trac What are we doing We re playing around with exernalizing declarative security so we can better integrate dissimilar WSGI applications using the same security model We re attempting to create alternate sessioning components for use under WSGI stacks We re working Repoze into our Agendaless own customer deployments What we intend to do We intend to do more evangelism via presenting to Python Zope Plone user groups and conferences We intend to reach out more to other web projects by helping them integrate Repoze code into their own projects We intend to push for Plone and possibly Zope 2 to base a release on Repoze technologies Where we need help We need help a evangelizing b bringing things to ground and c maintaining our various web presences On the evangelism front we need Python folks to understand that Repoze is not just about Zope instead it s a generically useful set of WSGI components inspired by features of Zope We need to get Zope people excited about a future that allows them to make use of best of breed components created by Python web developers that are not Zope developers We need to get Python folks excited about the fact that the Zope community is reaching out to the larger Python web development community by making it possible for them to use components that Zope folks have been using for years without knowing anything whatsoever about Zope itself We need to improve Deliverance s conditional theming support We need Zope and Plone folks to start using repoze zope2 and Deliverance in anger to start to bring things to ground We need help maintaining repoze org mainly to keep content fresh We need more developers to start contributing code to the Repoze repository If you want to help doing any of these things please join the repoze dev maillist and the repoze IRC channel on freenode net and yell Chris posted at 00 00 permalink Plone Symposium New Orleans Talks We ve had good feedback on our WSGI and repoze related talks at the 2008 Plone Symposium in New Orleans Chris McDonough s Intro to WSGI talk Tres Seaver s Turplango Playing Nice with Others talk Tres Seaver s GenericSetup for Fun and Profit redux lightning talk posted at 00 00 permalink 2008 05 09 repoze plone 2 5 5 and repoze zope2 2 9 8 Released For the oldskool we ve released versions of repoze plone and repoze zope2 which are capable of running Plone 2 5 5 and Zope 2 9 8 Previously folks who had wished to run Plone under repoze zope2 were limited to running either Plone 3 0 6 or 3 1 1 There are plenty of folks out there who can t move to any version of Plone 3 just yet These releases are for you Instructions are below about how to get Plone 2 5 5 and or Zope 2 9 8 installed so they run under repoze zope2 We support both buildout and virtualenv based installs so each is documented separately Installing Plone 2 5 5 implies Zope 2 9 8 Install repoze plone 2 5 5 using Buildout svn co http svn repoze org buildouts repoze plone branches 2 5 5 cd 2 5 5 python2 4 bootstrap py bin buildout follow instructions here on in or install repoze plone 2 5 5 using Virtualenv virtualenv24 no site packages plone255 cd plone255 bin easy install i http dist repoze org plone 2 5 5 simple repoze plone bin mkzope2instance bin addzope2user admin admin bin paster serve etc zope2 ini Installing Zope 2 9 8 only if you don t use Plone Install repoze zope2 2 9 8 using Buildout svn co http svn repoze org buildouts repoze zope2 branches 2 9 cd 2 9 python2 4 bootstrap py bin buildout follow instructions here on in Install repoze zope2 2 9 8 using Virtualenv virtualenv24 no site packages zope298 cd zope298 bin easy install i http dist repoze org zope2 2 9 simple repoze zope2 bin mkzope2instance bin addzope2user admin admin bin paster serve etc zope2 ini One good thing about doing this work is that it s becoming a little clearer how we need to lay out our distribution site dist repoze org to support multiple build revisions of the same piece of software I haven t managed yet to clean it up entirely but I think I know how to now Have fun C posted at 00 00 permalink 2008 05 04 Martin Aspeli s Rolling Out Repoze Martin Aspeli writes a fairly lengthy article detailing how he s moved his personal blog over to running under repoze plone as well as configuration of another set of applications under repoze plone mod wsgi deliverance posted at 00 00 permalink 2008 04 29 Test Version of repoze plone for Plone 3 1 1 released To get it via easy install virtualenv suggested don t even bother trying a U upgrade from an older repoze plone it just won t work bin easy install i http dist repoze org plone 3 1 1 simple repoze plone bin addzope2user username password ignore deprecation warnings bin paster serve etc zope2 ini To get it via zc buildout check out http svn repoze org buildouts repoze plone branches 3 1 1 and run python2 4 bootstrap py bin buildout bin supervisord bin addzope2user username password In either case visit the result on http localhost 8080 manage C posted at 00 00 permalink 2008 04 27 Using repoze who for Authentication with TurboGears 2 Since PyCon 2008 in March we ve been working within the TurboGears community on an authentication system based around repoze who repoze who is a WSGI middleware authentication framework roughly modeled after Zope s Pluggable Authentication Service repoze who does less than PAS and shares no code with PAS but it shares with PAS a fundamental model of a pluggable framework with customizable identification authentication and metadata plugins The goal of repoze who is to let us use the authentication features we ve become accustomed to under PAS when deploying other web frameworks under WSGI As such repoze who is not tied to any particular web framework It operates as its own framework providing downstream applications with consumable authentication and identity information In particular it s tied to neither TurboGears nor Zope in any way It s tied only to WSGI and could be used to provide similar functionality for one off WSGI apps Django or Pylons or any other WSGI capable web framework The TurboGears trunk which will at some point be released as TurboGears 2 is very different from the released 1 X version of TurboGears Instead of using CherryPy as a controller dispatch mechanism as TG 1 X does instead it uses Pylons One of the side effects of this change is that the venerable TG 1 X authentication and authorization code known as identity doesn t work anymore under the TurboGears trunk So the identification authentication and authorization features that TurboGears 1 X people have become accustomed to are largely missing for people working off the TurboGears trunk An effort named Authority was established to provide the TG trunk with these features and code exists in that project to that end We ve worked a bit with the folks who are creating Authority and I hope there s some way to coalesce the two efforts into one in the future In the meantime I created a sample set of repoze who plugins and a repoze who middleware configuration on spec for TG2 just for proof of concept This eventually served as a template for Florent Aide who subsequently developed a more or less feature complete set of repoze who plugins and separate authorization facilities named tgrepozewho to provide functionality equivalent to TG 1 X s identity package for TG2 users Florent also created a sample TG2 application named whotg that can make use of the authentication and authorization features provided by the tgrepozewho configuration package The fundamentals of Florent s TG2 application which makes use of repoze who are these Sqlalchemy models for users groups and permissions were created in the whotg package s model init py which is represented below in its entirety These models are used by the plugins to repoze who that exist in the tgrepozewho package shown later which perform identification and authorization These are loaded into a database within the demo package by doing paster setup app development ini within a checkout of whotg Some sample user and group data exists in the generated SQL when you load it this way import datetime from pylons import config from sqlalchemy import Column MetaData Table Integer Unicode DateTime from sqlalchemy import ForeignKey from sqlalchemy orm import scoped session sessionmaker from sqlalchemy orm import mapper relation import md5 import sha Global session manager DBSession returns the session object appropriate for the current web request DBSession scoped session sessionmaker autoflush True transactional True Global metadata If you have multiple databases with overlapping table names you ll need a metadata for each database metadata MetaData def init model engine Call me before using any of the tables or classes in the model groups table Table tg group metadata Column group id Integer primary key True Column group name Unicode 16 unique True Column display name Unicode 255 Column created DateTime default datetime datetime now users table Table tg user metadata Column user id Integer primary key True Column user name Unicode 16 unique True Column email address Unicode 255 unique True Column display name Unicode 255 Column password Unicode 40 Column created DateTime default datetime datetime now permissions table Table tg permission metadata Column permission id Integer primary key True Column permission name Unicode 16 unique True Column description Unicode 255 user group table Table tg user group metadata Column user id Integer ForeignKey tg user user id onupdate CASCADE ondelete CASCADE Column group id Integer ForeignKey tg group group id onupdate CASCADE ondelete CASCADE group permission table Table tg group permission metadata Column group id Integer ForeignKey tg group group id onupdate CASCADE ondelete CASCADE Column permission id Integer ForeignKey tg permission permission id onupdate CASCADE ondelete CASCADE identity model class Group object An ultra simple group definition def repr self return self group name class User object Reasonably basic User definition Probably would want additional attributes def repr self return self email address self display name def permissions self perms set for g in self groups perms perms set g permissions return perms permissions property permissions def by email address klass email A class method that can be used to search users based on their email addresses since it is unique session DBSession return session query klass filter klass email address email first by email address classmethod by email address def by user name klass username A class method that permits to search users based on their user name attribute session DBSession return session query klass filter klass user name username first by user name classmethod by user name def set password self password encrypts password on the fly using the encryption algo defined in the configuration algorithm config get authorize hashmethod None self password self encrypt password algorithm password def get password self returns password return self password password property get password set password def encrypt password self algorithm password Hash the given password with the specified algorithm Valid values for algorithm are md5 and sha1 All other algorithm values will be essentially a no op hashed password password if isinstance password unicode password 8bit password encode UTF 8 else password 8bit password if md5 algorithm hashed password md5 new password 8bit hexdigest elif sha1 algorithm hashed password sha new password 8bit hexdigest if not isinstance hashed password unicode hashed password hashed password decode UTF 8 return hashed password def validate password self password Check the password against existing credentials algorithm config get authorize hashmethod None return self password self encrypt password algorithm password class Permission object A relationship that determines what each Group can do pass mapper User users table properties dict password users table c password mapper Group groups table properties dict users relation User secondary user group table backref groups mapper Permission permissions table properties dict groups relation Group secondary group permission table backref permissions Florent created a set of repoze who plugins that work with SQLAlchemy model data to do identification and authentication In this case Florent created an authenticator plugin that examines SQLAlchemy model data to compare the identity information found by repoze who against SQL data and a metadata plugin which adds permission and group information to the identity He reuses stock repoze who plugins for identificaton duties including an auth tkt based cookie identification plugin and a form login identification plugin The code that defines and configures these plugins can be viewed here In that module is also a helper function named make who middleware which serves as a constructor for a configuration of middleware which uses these plugins Florent also coded up some functions in the authorize py module of tgrepozewho that can serve as decorators for controller methods that perform authorization against repoze who provided data repoze who doesn t perform any authorization itself it leaves that up to the web framework so this was required He then added the middleware generated by his helper function to his whotg demo package s middleware pipeline in in config middleware py This sets up the repoze who middleware in the TG2 WSGI stack so that when you start the TG2 server it s present in the call chain CUSTOM MIDDLEWARE HERE filtered by error handling middlewares from whotg model import User DBSession user criterion User user name the name of the column which is used as a unique identifier user id col user id from tgrepozewho middleware import make who middleware app make who middleware app config User user criterion user id col DBSession Then he created two methods on his root controller s class named manage permission only and editor user only He protects the manage permission only method with a decorator which ensures that the user provided by the middleware has the manage permission as per the data in the model tables via his group He protects the editor user only with a decorator that ensures that the user provided by the middleware has the username editor When these methods are asked for e g via http locahost 8080 manage permission only or via http localhost 8080 editor user only if the user possesses the proper permission or username respectively the TG about page will be shown if he does not the user will be redirected to a login form Only the relevant parts of the entire module are shown below from datetime import datetime now datetime now from tg import expose from whotg lib base import BaseController from tgrepozewho import authorize class RootController BaseController expose whotg templates about authorize require authorize has permission manage def manage permission only self kw return dict now now page about expose whotg templates about authorize require authorize is user editor def editor user only self kw return dict now now page about The result is a functional customizable authentication and authorization system for TurboGears 2 that reuses the repoze who framework Hats off to Florent This appears to be real evidence that we can move towards a fourth generation of Python web frameworks where coding framework specific subsystems from scratch isn t always the norm because the work that Florent did could be recast pretty easily for just about any TurboGears 2 or Pylons application or Django application etc Chris posted at 00 00 permalink 2008 04 16 Tomster org Nginx WSGI Tom Lazar has written an informative article on running WSGI applications under nginx Check it out posted at 00 00 permalink repoze zope2 Updates repoze zope2 the reimplementation of Zope2 s ZPublisher that allows Zope2 to run as a WSGI application has been updated quietly over the last few months with the latest release 0 3 6 posted today Below is the changelog for the releases performed in March and April of this year If you haven t already given it a roll and you re interested in WSGI you might want to try it out 0 3 6 2008 04 16 http exceptions like Redirect and Unauthorized weren t handled properly anywhere except in the repoze zope2 obob helper s invoke step In the wild code uses these exceptions before the published object has been located e g during traverse or before traverse We now depend on repoze obob 0 3 to get extended exception handling behavior and we implement a handle exception method on our z2bob helper which will turn Zope2 Unauthorized and Redirect exceptions into their httpexception equivalents for consumption by upstream middleware This was prompted by code found in the wild in Plone s OpenId implementation which raises a redirect during traversal 0 3 5 2008 04 16 Legacy virtual hosting via Virtual Host Monster did not work properly Symptom if you set up proxy rewrite rules in Apache pointing at the Zope root a repoze zope2 server running under a separate paster server and tried to visit the ZMI via the Apache virtualhost s manage URL you d be presented with the VirtualHostMonster ZMI configuration page instead of the ZMI s framed root UI Reason the PARENTS 0 item was not set up early enough it was set up in traverse rather than before traverse Since it was depended on by Zope API s which VHM called out to to set the virtual root this didn t work and the resulting traversal name stack was incorrect 0 3 4 2008 03 24 Bump ez setup py version When Zope 2 starts it potentially writes data to the database during product initialization When multiple clients talk to the same ZEO storage at startup they often simultaneously try to write the same information to the database concurrently This causes startup failure due to conflict errors We now retry product initialization up to five times to work around this issue 0 3 3 2008 03 10 repoze zope2 now properly respects virtual host directives provided to it by repoze vhm xheaders middleware 0 4 Zope s VHM can still be used as necessary but is no longer required 0 3 2 2008 03 03 Fix bug reported by Martin Aspeli repoze zope2 would choke on large images and files symptom broken images when images were large This was due to the fact that the Zope File and Image rendering machinery used HTTPResponse write which repoze zope2 s response handling didn t handle properly We now subclass HTTPResponse as RepozeHTTPResponse to solve the issue 0 3 1 2008 03 02 mkzope2instance now o takes no arguments only options d replaces the single argument path o creates a log directory o writes out a zeo conf into etc unconditionally you can start a ZEO instance after installation now via bin runzeo C etc zeo conf after ensuring that the address in the ZEO section is correct o allows the specification of sandbox s replaces single argument instancedir zeo port z zope port p and use zeo z options If use zeo is specified the zope conf that s written will use a ClientStorage by default o writes a zope conf with a zodb cache size of 50000 rather than 10000 addzope2user runzope2script and debugzope2 now respect a ZOPE CONF environment variable which can be used to specify the zope conf configuration file to use Add a sample section to the generated zope conf that can be uncommented if the installer wants to use ZEO instead of FileStorage or vice versa Added an experimental zope2testrunner script that sets up stuff in the environment before running zope testing testrunner run It accepts the same arguments as the Zope 3 testrunner E g bin zope2testrunner m Products faster This also respects the ZOPE CONF envvar Depend on Zope 2 10 5 zopelib 2 10 5 0 instead of 2 10 4 2 and various other updated repoze libraries Chris posted at 00 00 permalink 2008 04 12 Tom Lazar Investigates Deliverance and Repoze Deliverance is the New Kid on the Block tm in the Plone world I find the whole concept very intriguing and have decided to give it a try on both of my current new projects No risk no fun eh posted at 00 00 permalink 2008 04 09 Video of Repoze Talk by Tim Knapp Tim Knapp of Emerge Technology presents repoze zope2 in Christchurch NZ last week Nice job Tim posted at 00 00 permalink 2008 04 03 Upcoming Repoze Talk Down Under Fun for all as Tim Knapp presents Repoze in Christchurch NZ on Friday Apr 4 5 30 7 30PM The title of the talk is The Repoze project and best practices for deployment of Python code ie eggs buildout posted at 00 00 permalink 2008 03 05 Repozecast Number 1 Zopecast is dead long live Repozecast For several years now we ve been making and releasing podcasts that we ve referred to as Zopecasts when we felt like it The last few we ve made have been more about Repoze than they ve been about Zope so we ve decided to retitle the every so often podcast we do as Repozecast The inaugural episode mp3 is now up It contains ramblings about Repoze and how it relates to The past Plone Strategic Planning Summit The upcoming Plone Symposium East The upcoming Python conference Recent Zope Plone Python user group talks New Repoze committers New repoze packages Buildout for repoze plone Deliverance Enjoy Chris posted at 00 00 permalink 2008 02 20 repoze profile 0 2 Released A couple weeks ago Tres quietly created and released a useful piece of middleware called repoze profile This middleware sits in the WSGI pipeline and performs aggregate Python profiling across all requests to the application s on its right hand side Ian had some profiling middleware in Paste but it performed profiling of a single request only Version 0 2 adds a butt ugly and utterly ripped off from Zope browser UI that allows you to sort and filter profiling results It looks like the image below To get it do easy install i http dist repoze org simple repoze profile then wire it up in your WSGI pipeline For example pipeline main pipeline egg repoze profile profile egg Paste cgitb egg Paste httpexceptions myapp You should then be able to visit profile in your browser while talking to your WSGI application to see the profile UI Note that the middleware by default discards the first request info so you will need to hit your application a few times to see meaningful profile info See the README for more detailed configuration information Chris posted at 00 00 permalink repoze profile 0 3 Released Whoops The earlier release of repoze profile 0 2 today had two issues discovered by Zac Bir thanks Zac It didn t work properly under Python 2 5 due to a difference in the way the Python 2 5 pstats module works It didn t explicitly depend on ElementTree which its templates require but the templating package is not a setuptools package so cannot name its own dependencies If you tried it and it didn t work try it again easy install i http dist repoze org simple repoze profile Or if you ve already got it installed easy install i http dist repoze org

    Original URL path: http://blog.repoze.org/ (2016-01-08)
    Open archived version from archive


  • Repoze Blog :)
    Blog Documentation Download Home Login Log in Username Password

    Original URL path: http://blog.repoze.org/login (2016-01-08)
    Open archived version from archive

  • Repoze Blog :)
    0 2010 09 24 17 10 00 05 00 Simon Pamiés BFG Talk and Tutorial Notes Simon Pamiés recently released notes from a talk and a tutorial he gave at the 2010 Zope Conference in Dresden Both the talk and

    Original URL path: http://blog.repoze.org/Simon%20Pami%C3%A9s%20BFG%20Talk%20and%20Tutorial%20Notes/ (2016-01-08)
    Open archived version from archive

  • Repoze Blog :)
    Blog Home RSS 2 0 ATOM 1 0 2010 09 10 12 12 00 05 00 BFG Speed Thrills Charlie Clark s EuroPython 2010 presentation entitled BFG Speed Thrills is now online at http bfg repoze org videos speedthrills posted

    Original URL path: http://blog.repoze.org/BFG%3A%20Speed%20Thrills/ (2016-01-08)
    Open archived version from archive

  • Repoze Blog :)
    2 0 ATOM 1 0 2010 08 20 Brainrepublic on BFG From the new deployments department Brainrepublic is a newly launched website based on repoze bfg and MongoDB Congratulations to

    Original URL path: http://blog.repoze.org/Brainrepublic%20on%20BFG/ (2016-01-08)
    Open archived version from archive

  • Repoze Blog :)
    18 13 12 00 05 00 BFG at Froscon Andreas Jung will be giving a talk in German on a highly scalable web application using BFG MongoDB and RabbitMQ at Froscon in Sankt Augustin near Bonn in Germany on Sunday

    Original URL path: http://blog.repoze.org/BFG%20at%20Froscon/ (2016-01-08)
    Open archived version from archive

  • Repoze Blog :)
    BFG at German Python Conference At the German Python and Zope conference in Dresden in September Simon Pamies will be giving a tutorial on BFG in German on Tuesday 14th He will also be giving an introductory talk on BFG

    Original URL path: http://blog.repoze.org/BFG%20/ (2016-01-08)
    Open archived version from archive

  • Repoze Blog :)
    Groundhog Using BFG to Build a Microframework 6 Events and Context Locals In the sixth and final screencast in the Groundhog series we allow our microframework s users to subscribe to and receive events which are objects broadcast by BFG at various well known points during its processing cycle We also allow our users to define and send their own custom event types Once we ve built up some event

    Original URL path: http://blog.repoze.org/Groundhog%20%28Using%20BFG%20to%20Build%20a%20Microframework%29%20%236%3A%20Events%20and%20Context%20Locals/ (2016-01-08)
    Open archived version from archive



  •