python web server recommendation [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 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
Still learning python, and want to build a web project.
I wonder if there is any web server implemented in python that could be used in practice?
I know simplehttpserver, which is too simple.
Apache and Nginx, they might be too complicated, and they're not python.
addition
Sorry if I'm not making it clear. I'm working on a simple http file browser much like ubuntu repository where people download files. simplehttpserver works, but I want to use more features,
like process request before it gets to a file, and customized url routing .
Thanks in advance.

For deploying WSGI applicaitons you may look into Gunicorn, which is written in Python.
Or if you are interested in writing an Asynchronous application, you may look into Tornado which comes with it's own server.
Please update your question in details i.e. your use case, and with particular problems you may face, otherwise it'd be considered not constructive.

Related

Python packet sniff for specific program [closed]

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 was looking for a method to sniff packets being received and sent by a specific program, as I have seen some packet analyzers such as CommView have the ability to do "Packet-to-application mapping".
I want to achieve this in Python, and I don't mind any extra modules that I have to install and am already familiar with the Scapy and socket modules.
I would prefer this to be on Windows, but if that's not possible I could use Ubuntu.
: this is my first post.
Pyshark works with Wireshark and its component TShark on both Windows and Linux. It's a bit immature, but might suit your purposes.
You should install it from the GitHub repository; the PyPI version seems to be missing a fix that causes an error.

Web Server/Site 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
So I was wondering if there is any Python package that can allow a pure Python application with a graphic interface to be embedded in a website. I have an application with a Tkinter interface that I want to make available on a website. Any way to do this without converting too much code?
Thanks!
In fact, it's possible: GTK3 has a html5 backend named Broadway.
This backend enable to access to an application through a web browser.
$ GDK_BACKEND=broadway your-application
You can see an exemple with python in this video
Of course, it needs a GTK application...
It's impossible.
Python/Tkinter app is a desktop application, which requires desktop manager, has access to file system etc.
Web application is a different stack of technologies (HTTP, HTML, javascript etc), it is not possible to mix them
Yes, this is possible, but not in way you expect.
There is python - to js translation kit, which supports many, but not all, python operations, functions and types.
So you can write back-end and front-end in python.
But using pure js for front-end will give you more performance.

Good places to deploy a simple Django website [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 am looking for options on places to host a Django site.
Should I find a service that already has the proper programs and dependencies installed?
Or can I gain access to a server and install them myself?
Webfaction
Heroku
Google App Engine
AWS Elastic Beanstalk
Windows Azure
But, cheaper, do it yourself. VPS's these days are quite cheap (digitalocean.com $5/month). An easy to manage combination: Ubuntu + Nginx + Gunicorn, and follow some tutorials about how to secure and update your VPS.
Hosting yourself can be cheaper, but you will have to spend some time maintaing the system to keep it safe. Choosing a service may be a bit more expansive but you don't have to deal with the system itself.
Choose your best.
If you just need somewhere to play around with I would recommend something like heroku.
It's easy to deploy apps, free for small apps and you don't have to worry about sysadmin side of things if you do not need to.

Python Web Service Recommendations [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 am looking to create a web service in Python, but none of the libraries/tools I have looked at appear to be actively maintained. I am looking to build a server using SOAP. Don't need to build a client at the moment as I can test using soapUI but will need to write a client at some point.
The ones I have already looked at include
ZSI
SOAPpy
SUDS
rpclib (formerly soaplib)
Can anyone recommend any more that might be maintained a bit more regularly?
Try twisted: http://twistedmatrix.com/trac/
Its heavily used project to various web services. You can build almost anything from it.
Talking about SOAP here is twisted support for SOAP from docs: http://twistedmatrix.com/documents/current/web/howto/xmlrpc.html#auto4
Last change was few hour ago - so it is actively maintained.
You may want to read this:
Python: How can I use Twisted as the transport for SUDS?
What is a good framework for a soap service?
Python SOAP client library using a HTTPS connection with keys

Where can I find documentation/tutorial(s) for Mutagen? (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 9 years ago.
Improve this question
After asking this question:
How do I read album artwork using python?
I got 'stuck' as it were.
I have spent forever looking for documentation online but haven't come across any. I know that a lot of responses suggest reading the internal docstrings etc. but to be honest this is the first time I've come across a library without adequate documentation and its (to be honest) a little daunting.
Does anyone have any ideas on how to approach the code?
Thanks
A couple of things you might try. Pydoc makes it easy to navigate the contents of docstrings for a given project. Assuming you have installed mutagen globally or in a virtualenv, this should start a webserver where you can browse locally:
% pydoc -p 8080
# then navigate to http://localhost:8080/mutagen.html to see the docs
Assuming you've already used the information in the tutorial on the mutagen wiki, I'd suggest browsing the source code for some projects which use mutagen. For example used by the Gnome Listen player, quodlibet tagger/player, etc.

Categories