Open Source Alternative to ASP.NET membership [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database.
I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than risk security issues in continuing to create an increasingly complicated custom solution. Are there any similar projects out there worth taking a look at?

If you are looking for off site user authentication you might want to consider openid. People have added openid support to cherrypy.
If you are looking for more user management type code. I guess it depends on exactally what you are doing but others have done user management before, why not leverage off them. Skeletonz is a CMS written on top of cherrypy. If you are not wed to cherrypy you might also want to consider Pinax. It's built on Django with the idea of reusing work others have done so you don't have to do it again.

Related

Projection of a Tastypie REST API into python objects [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to test web applications that were developed using Django framework and Tastypie.
My plan was to test the REST API calls of the web apps against the queries they perform on the MySql DB. In order to do so I've investigated a little bit about DB access framework, and have encountered SQLalchemy framework, and the reflection attitude.
My thought were to try and access the Web Apps REST API in the same attitude and test the results from both sources.
Can you please suggest a different approach for examining this problem? Is there framework that will help for this task?
Testing with Tastypie is easy as they provide a special TestApiClient and ResourceTestCase which build on Django's testing api and tools and also provide a lot of helpful assertion methods.
The documentation is useful and has lots of examples:
http://django-tastypie.readthedocs.org/en/latest/testing.html
You want to see what queries are generated by django ORM or tastepy?
I think one easy way is to do a wrappper arround the DB class, where you run the DB class method, analise the results and print our save them to a file.
Another way to do this, is to use mysql slow_query_log with 0 seconds to log all the queries that are being made to MYSQL.
You can use a diferent user our schema to parse the results more easy.
Not good to test in production services :)

Minimal web framework in Python for a small web application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was trying to make a small and simple web application(my first one) using Google AppEngine until I hit a roadblock(Google search returns None 302 on AppEngine) ..would appreciate if you look into this issue.
My app idea is that the user inputs a query which after some processing, a few links are recommended. There is no database or user management required in my app and hence I think Django would be an overkill. I stumbled across various other frameworks like flask, bottle, web.py etc. but could not decide which one would be the best for this simple application and for a beginner in web-dev. Suggestions?
Merry Xmas...
I guess the most minimalistic framework is Flask.
I have done small experiments with a few of the frameworks (Flask, Pyramid, Django, web2py...).
My personal winner is web2py (it just felt easy and elegant). I find it great in combination with pythonanywhere.com and github.com
I think it's also fair to say that you won't get away with just using Python. You will need some JavaScript and should know about css, etc.
thomas
CherryPy is another light-weight minimalist python web framework that you should take into consideration. In any case, any of the aforementioned minimalist frameworks would work just perfectly well for your purposes.
I'm always a supporter of Django, it just works. I've played with Flask, CherryPy and Web2py. Django is better than all of them, even if I just want to build something small and lightweight I'd choose Django.

Wokkel Resources [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
This isn't a technical question, however after hours of scouring google I have not found an viable examples or resources to learn the Wokkel framework. I've extrapolated what I can from the source code itself, and the unit tests but still do not have a great understanding of how to implement subprotocols.
I'm working with a jabber server using almost all custom stanzas. If anyone has any resources or examples they could lend, that would be awesome.
Thanks
I'm not sure what kind of "resources" you're looking for, but there are lots of examples out there:
http://wokkel.ik.nu/wiki/XMPPClients
An XMPP Echo Bot with Twisted and Wokkel and Echo Bot Part 2: Making a Component
Twisted Wokkel Bot
Twisted / Wokkel XMPP Client Example
XMPP-Ping Examples
There are also numerous resources linked in How do you create a simple Google Talk Client using the Twisted Words Python library?
If you need more help or want feedback from specialists, the relevant mailing list is Twisted-Jabber.
In addition, Wokkel is closely related to Twisted Words, so check out materials related to that project, especially http://twistedmatrix.com/documents/current/words/.
I've started adding Sphinx-based prose documentation, along with the existing example scripts and put this up on http://wokkel.ik.nu/documentation. It also includes an API Reference generated using pydoctor.

XMPP server in python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking hard but I cannot find any XMPP server in python with the following features:
using epoll, just like http://www.gevent.org/
supporting BOSH
modular design
use little RAM/CPU for up to 1000 users
more important than the previous requirement: the CPU/RAM usage must be predictable
Prosody looks quite good feature-wise, but I don't know how many users it can support simultaneously and how it is performance-wise.
Could someone give me an idea?
For a rough idea of how Prosody is performance-wise, see this post on their ML. https://groups.google.com/d/topic/prosody-users/SlXpfwJfgY4/discussion
xmpp.org uses Prosody, any other questions? :P
btw, if you want to toy with it a little, you can always run prosody using luajit (didn't test that myself, but I'm fairly sure it would work). Expect at least 2-4x faster execution.
Look # ejabberd too.

Popular Python open source CMS like Drupal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wonder if there is an open source CMS coded in Python that is as big as Drupal (or Joomla or Wordpress).
You are looking for Django. (Edited to say: OK, it's a web application framework, but there's lots of overlap. Django-CMS is maybe more what you want, but is in no way as big as Drupal or Joomla.)
Plone is an open source python powered CMS.
check out Web2py it comes tons usefully stuff
I'm looking for similar alternatives and have found http://www.lfcproject.com/blog/release-10-final. At least they just had a release. Looks promising.
Btw, development of Django-CMS looks either dead or stale :\
Tendenci was recently released into the open source community and is written in Python on a Django framework.
Tendenci CMS comes with a ton of features that require plugins/modules typically with other CMS' like membership management, selective permissions, event registration and event calendar, jobs board, video and photo galleries, etc.
You can download Tendenci on Github at https://github.com/tendenci/tendenci.

Categories