Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a working R script. Can this be wrapped in a Python code so it can be deployed as an API ?
As mentioned in an earlier post, things that are not easy in R can be relatively simple in other languages. Another example would be connecting to Amazon Web Services. In relation to s3, although there are a number of existing packages, many of them seem to be deprecated, premature or platform-dependent. (I consider the cloudyr project looks promising though.)
If there isn’t a comprehensive R-way of doing something yet, it may be necessary to create it from scratch. Actually there are some options to do so by using AWS Command Line Interface, AWS REST API or wrapping functionality of another language.
http://jaehyeon-kim.github.io/2015/11/Quick-Test-to-Wrap-Python-in-R.html
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I don't get the benefits of using TA-Lib abstract ¿is it speed? ¿less processing? I went through the documentation, examples, and code examples, but can't get it. ¿can anyone explain it?
EDIT: This question is not opinion-based, as you can see in the answer, it's about performance of the function API vs abstract API of ta-lib
This API allows you to list all TA functions implemented in DLL (because python's ta-lib module is just a wrapper around compiled C library) and call them by indicator name (a string), instead of hardcoding switch with 200+ cases and rebuilding your app every time TA-lib adds new indicator. It also allows you to get info about data that indicator requires which may be used to adjust UI for end user asking him to enter the required data. So this API is designed not for a python data scientists who play with single TA indicator, but for desktop and web programmers writing GUI applications or web services addressed to wide audience. There is no any performance benefits.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to create a new cytoscape app for analysing protein interaction but I don't know if I can use python or just java.
Great question. This is within scope of this forum.
The answer is "it depends". Cytoscape apps themselves must be Java (or something that runs in JVM, though there's only documentation support for Java and the forums will give best advice for Java).
However, the Cytoscape Cyberinfrastructure (CI) allows Python-based services (e.g., the Diffusion service) called by Cytoscape apps (e.g., the Diffusion app). The service must be deployed somewhere on the web (e.g., in a Kubernetes cluster).
If you'd like help with that route, you'll find enthusiastic support ... please e-mail the cytoscape-app-dev at googlegroups.com forum directly.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm really unfamiliar in this area. Is it possible to access the AWS API from Django? E.g. by using Boto? Can that be run on Django?
Yes.
There is even a django app for using boto. It is called django-boto.
It is the first result when you search for "django boto".
Sure. boto is just python library and you can use it from Django.
I used boto from other web frameworks (CherryPy, Flask), and it simply works. There is no reason it would not work with Django.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm a learning Python/Django programmer and want to try to create an easy web-messenger. Is it real to write web-messenger for django? And does any modules for that exist or any open-source protocols support python?
Or you can install xmpp server (like eJabberd) and write a server side interface over it. It will be easier, faster and optimal solution.
Gmail and Facebook both uses xmpp protocol. People using your application will also be able to send chat request to their friends in gmail.
You wont even have to write a website interface, there are javascript library (like Converse.js) available which you can directly plug into your website and you will be good to go.
Not sure what you mean by 'web-messenger'. Do you mean a chat system? Django have plenty of chat apps that you can integrate into your projects.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Could you please tell me, How do I write a basic webpage without using framework like Django, Web2Py and others third party frameworks. Also, I don't like to use CGI for it. I need basic MVC structure with a hello-world web page only.
I suppose you mean a http server, because for a webpage only, you'd use html, not python.
I suggest you start with some reading on this page. It's the http server for python. As you want to keep things easy, you probably just want to overwrite the BaseHTTPRequestHandler or the SimpleHTTPRequestHandler classes, especially the do_GET and do_POST methods.
Note that this won't force you to use MVC, that's your own responsibility. You'll need an actual framework if you want to enforce MVC.