Creating messenger for django [closed] - python

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.

Related

How can I make sms web service on python to send sms to every where? [closed]

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 2 years ago.
Improve this question
I want to make a sms service(sms API) on python I don't how can I make this to send sms to every where?
You can use SMS services as AWS SNS or as mention Twilio or many others actually, any of those are paid services. In order to build your own web service, first, you need to have the hardware to do it. As a basic recommendation, you can use raspberry pi and a GMS hat, code a python script to handle the ATT commands required to send SMSs, and then you can wrap everything with an awesome API using again, python, to create your cloud SMS sender API.

Web development with just Python Flask [closed]

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 last year.
Improve this question
Is it just fine to build a website with a python backend that interacts with the database and use flask to display it on html? flask can also get inputs from the html form and from there python can manipulate it. Is there any security concern with it?
Yes it is perfectly safe, provided you take safeguards and use best practices. Flask is my favorite Python web server framework - extremely lightweight and flexible, makes the fewest assumptions about your application.
I think flask is the best framework for web development. It is more flexible then django. You can connect database easily and security is so strong in python flask. Over all it is best for webdevelopment. You can also use jinja with falsk.

Can we develop a Python API which wraps R code [closed]

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

can I use python for create cytoscape app? [closed]

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.

How to write basic webpage in python without using framework? [closed]

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.

Categories