Apache2: mod_wsgi or mod_python, which one is better?

I am planning on writing a web service in python. But, I found that wsgi also does a similar thing. Which one can be preferred?

Thanks Bala

Update

I'm still confused. Please, help.

Better in my sense means:
1. The error will be fixed periodically.
2. Selected by most developers.
3. Additional features, such as authentication tokens, such as AWS, can be supported out of the box.
4. There is no strong version dependency. (I see wsgi requires python 2.6)
5. All python libraries will work out of the box.
6. Future scalability.
7. Future update does not cause any problems.

With my limited experience, I want these features. Some may be missing.

Thanks
Bala

Refresh

I apologize for all the confusion. I just want to expose calm python web services. Is there a good framework?

+5
source share
6 answers

mod_wsgi ( - !) , mod_python. , mod_python, - ( -, werkzeug;-), , , mod_wsgi! ( - Python -, werkzeug , WSGI -).

+14

, WSGI mod_wsgi. WSGI - - Python . mod_wsgi WSGI Apache -. , Python WSGI , WSGI - -/ Python -. mod_wsgi - . , WSGI - , .

/non framework Python , , Werkzeug - .

+5

-, mod_wsgi. / httpd, mod_python.

+4

mod_wsgi - Python, WSGI Apache. mod_python - Python, WSGI. mod_wsgi , mod_python.

+3

mod_wsgi , mod_python . , apache2 Django. Python WSGI.

+1
  • ​​.

    , .

  • .

    mod_wsgi

  • , , AWS, .

    .

  • . ( , wsgi python 2.6)

    ? . . .

  • python .

    "?" ?

  • .

    . . .

  • .

    .

" ".

. , № 2. .

0
source

All Articles