Python Web Service Recommendations [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 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

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.

python web server recommendation [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
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.

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-jenkins or jenkinsapi for jenkins remote access API 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 9 years ago.
Improve this question
There are two python packages exist for jenkins remote access API, I need help to compare those two packages, so I can judge which to use.
python-jenkins http://pythonhosted.org/python-jenkins/
JenkinsAPI: http://pythonhosted.org/jenkinsapi/
So far for my thoughts:
python-jenkins is quite simple interface and is part of new Ubuntu release, which means easy to use, mature enough for general usage.
JenkinsAPI is mentioned in Jenkins official document, it looks new, but it is more connected with jenkins API development as well.
What I needed so far:
https access and simple authentication (token inside jenkins) : document is not clear both
get list of installed plugins (possible for those packages ?)
get list of jobs
get config xml from job
.. may needed for other exposed remote Access API later
I want to stick with python API in high level module, if possible, avoid to use python-requests module
Any more ideas ?
EDIT refine the questions after the comments below
Given that both seem to have more or less the basic features and that JenkinsAPI is
mentioned by the official documentation
more active (jenkins-python history vs jenkinsapi history)
I would go for jenkinsapi.
As for token support, given the documentation, the fact that the code uses token in place of passwords for the API and is backward compatible with basic auth, I would say that any client that supports passwords will support tokens.

Categories