memory leaks - tools and docs

2011-11-24 Thread Aljosa Mohorovic
i've been trying to find memory leaks in a wsgi application using gunicorn to run it and after a lot of time invested in research and testing tools i did find a lot of useful information (most really old) but i'm left with a feeling that this should be easier, better documented and with tools that

Re: oauth2 server implementation

2011-09-28 Thread Aljosa Mohorovic
On Sep 28, 2:17 am, Roy Smith r...@panix.com wrote: We rolled our own oauth2 client on top of basic urllib calls.  It's not terribly difficult. i'm asking about oauth2 server implementation, not client. it's easy to consume oauth2 stuff but what to do when you need to implement server side

oauth2 server implementation

2011-09-27 Thread Aljosa Mohorovic
i'm looking for oauth2 server implementation but other than https://github.com/simplegeo/python-oauth2 (oauth v1 implementation) it doesn't seem that people are using v2 implementations. anybody using some oauth2 implementation and can share some info? Aljosa Mohorovic -- http://mail.python.org

setup.py and MANIFEST.in - duplicating inclusion of files?

2009-11-27 Thread Aljosa Mohorovic
wrong or is this correct? if it's correct, why? Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python-list

naming packages for pypi

2009-06-26 Thread Aljosa Mohorovic
, ... if this is current situation is this something that you learned to live with and there are no indications that this will eventually change? Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python-list

Re: naming packages for pypi

2009-06-26 Thread Aljosa Mohorovic
only that i don't know how to do it properly. that's why i'm asking so please suggest a proper way for me to do it. Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python-list

pypi compatible software

2009-06-07 Thread Aljosa Mohorovic
did found http://www.python.org/dev/peps/pep-0381/ - is this the spec that above mentioned software is based upon? any additional info or comments appreciated. Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python-list

private pypi repository

2009-06-03 Thread Aljosa Mohorovic
i'm looking for a effective way to setup private pypi repository, i've found: - PloneSoftwareCenter - http://code.google.com/p/pypione/ - http://pypi.python.org/pypi/haufe.eggserver what are you using? what would you recommend? Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python

http://orbited.org/ - anybody using it?

2009-05-17 Thread Aljosa Mohorovic
can anybody comment on http://orbited.org/ ? is it an active project? does it work? Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python-list

current week / weeks in year - best practice

2008-07-31 Thread Aljosa Mohorovic
i use this to find out current week and total number of weeks for current year: now = datetime.now() weeks_in_year = int(date(now.year, 12, 31).strftime(%W)) current_week = int(date(now.year, now.month, now.day).strftime(%W)) is this the best way or is there a better way? Aljosa Mohorovic

Re: current week / weeks in year - best practice

2008-07-31 Thread Aljosa Mohorovic
On Jul 31, 3:58 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote: Instead of datetime.now() use date.today(), which removes a lot of boilerplate. int(date.today().strftime(%W)) Apart from that, I think it's the way to go. what if i know current context week = 20 (example), what would be the

Re: current week / weeks in year - best practice

2008-07-31 Thread Aljosa Mohorovic
On Jul 31, 5:42 pm, Aljosa Mohorovic [EMAIL PROTECTED] wrote: what if i know current context week = 20 (example), what would be the best way to get datetime objects for first and last day of current context week? by current context week i don't mean current week for current year but current

PYTHONPATH breaks MySQLdb

2008-04-25 Thread Aljosa Mohorovic
this happens? Aljosa Mohorovic -- http://mail.python.org/mailman/listinfo/python-list

Re: looking for library to read ppt files

2007-04-18 Thread Aljosa Mohorovic
Not really a Python question but Google turned up: it is a python question. i'm not looking for a program, i'm looking for a library. my goal is to convert ppt to jpegs but later i wish to convert to swf and maybe implement animations I suppose you could also use the win32 module and the COM

Re: looking for library to read ppt files

2007-04-18 Thread Aljosa Mohorovic
On Apr 18, 4:02 pm, Carsten Haese [EMAIL PROTECTED] wrote: How about running a headless OpenOffice instance and remote-controlling it with pyuno: http://udk.openoffice.org/python/python-bridge.html -Carsten i'll try oo, thanks for link. --

looking for library to read ppt files

2007-04-16 Thread Aljosa Mohorovic
i'm looking for a way to read ppt (powerpoint) files using python and to convert slides into jpeg files. any links or tips how to do this? -- http://mail.python.org/mailman/listinfo/python-list

dynamic func. call

2005-02-04 Thread Aljosa Mohorovic
can i do something like this: s = myFunction a = s() # equals to: a = myFunction() -- http://mail.python.org/mailman/listinfo/python-list