Hi
I'm using PyMySQL for MySQL Driver.
It's pure python, so you don't need compile that.
Cheers
2012/5/28 Chris Lambacher ch...@kateandchris.net
It looks like it is going to try to build MySQL-python from c source. The
error may be because of a missing compiler or maybe the MySQL header file
Hi,
You can use errormator wsgi client, that allows you to use free
https://errormator.com service.
It will show you slow requests/slow sqlalchemy queries within your app,
you would need to tweak the client to show you requests below 1s (that's
min default for this in the client).
Because
Hi
My Pyramid-based framework includes a “login” view that looks like this:
def login(request):
username = request.params.get('username')
password = request.params.get('password')
if username is None or password is None:
return HTTPBadRequest(...)
user =
The configurator directive sounds like a reasonable approach to me. As
soon as you find yourself registering more configurable functions,
using the underlying zope component registry [1] methods directly
might be easier [2].
But this would mean you're relying on what seems to be considered an
On 05/28/2012 08:44 AM, Ergo wrote:
Hi,
You can use errormator wsgi client, that allows you to use free
https://errormator.com service.
It will show you slow requests/slow sqlalchemy queries within your app,
you would need to tweak the client to show you requests below 1s
(that's min
On 05/27/2012 10:30 PM, bard stéphane wrote:
you could be interested by this small pyramid tween
pyramid_perfstat
https://bitbucket.org/tuck/pyramid_perfstat
also available in pypi
http://pypi.python.org/pypi/pyramid_perfstat
easy to use and maybe more pyramid aware. It logs
average in
I've made a 40% effort to figure this one out but at least I've figured many
other things out without bugging the list (the irc channel is another
story ;) )
Here's a route in application.py:
config.add_route('some_admin_thing', '/admin_something', factory=AdminUserACL)
Here's the
you're right, It's just a starter kit to help young developers
getting started with pyramid, and for the
moment I only target alchemy scaffold
(get inspired from dozer project and so one ...).
my goal :
- a project with tiny finger print (low package dependency)
- scaffold agnostic, it
Looks like Akhet 2.0 changed the add_static_route function to add the route
and then add the view. When calling add_route it raises an
exception pyramid.exceptions.ConfigurationError: view_permission argument
not permitted without view argument. I don't know if Akhet is still
maintained and
Hi Atsushi,
Thanks. I installed PyMySQL now and modified setup.py to include
pymysql library. But Pyramid is still looking for MysqlDB module.
May be I am missing something? Please excuse my novice skills
Log trace
(pyramid) D:\learner\python\pyramid\projects\tutorialpserve
development.ini
One of my companies built a framework based on a similar concept a
while back on Pylons, and deployed around a dozen apps on it for
ourselves and our clients.
It was really neat to get things off the ground, and quickly became a
pain-in-the-ass as projects went through agile iterations --
Hi
Maybe your connection string is mysql://.
Using pymysql with sqlalchemy, connection string must be
mysql+pymysql://
Cheers
2012/5/29 Learner hello.bku...@gmail.com
Hi Atsushi,
Thanks. I installed PyMySQL now and modified setup.py to include
pymysql library. But Pyramid is still
On Mon, May 28, 2012 at 11:26 AM, Michael Bayer
mike...@zzzcomputing.com wrote:
If I try to put permission or view_permission on the add_route(), it
wants to know the view at that point, implying I wouldn't be able to use
view_config() in the first place. Plus it appears view_permission on
13 matches
Mail list logo