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.
Related
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.
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 for an alternative to New Relic That I could host by myself in Python or with a Free plan as Sentry.
I already use Sentry free plan for bugs trace and it is really a must have for our framework (Django). (getsentry.com)
I'm looking for the other side, the dark side. Monitoring bandwidth servers, cpu, memory and applications like Redis, Postgresql, Varnish, etc.
Munin does the job but it is getting really old and it is a pain to install.
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'm writing my first application with Django and Python 3.3.3. I've always used MySQL for others projects, but it seems to have some problems with Python 3.X and MySQL :
At the time of writing, the latest release of MySQLdb (1.2.4) doesn’t support Python 3. In order to use MySQLdb under Python 3, you’ll have to install an unofficial fork, such as MySQL-for-Python-3.
This port is still in alpha. In particular, it doesn’t support binary data, making it impossible to use django.db.models.BinaryField. (https://docs.djangoproject.com/en/dev/ref/databases/).
It seems to be the same thing with MariaDB.
So, what, you - django developpers - use for your database ? MySQL with MySQL-for-Python-3 or PostgreSQL ? (I will have some joins and tables with billions rows.)
Most Django developers that I know of uses PostgreSQL, I don't see any reason not to use it. You will never miss anything from mysql. For reference, read this blog from Disqus, http://justcramer.com/2010/05/30/scaling-threaded-comments-on-django-at-disqus/ they have billion of rows.
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
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.