Run Python online but share only the output [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've seen this topic, but it doesn't really answer my question.
The question: Is there any way I can run my Python script (on 2.7) on a server/website (can be free or paid..or course free would be better), but without sharing the source code?
I would like to provide only the output of the script by sharing a link.
I already know some websites, such as www.pythonanywhere.com .
But on this website, I need to share the source code. I would need to protect the source, as it contains sensitive data.

If your Pyhton code contains sensitive data, you should not upload it to a server that you don't own.
So my best advice would be:
Get a server. That could be your desktop via some form of dyndns or an inexpensive virtual host.
Run your script in a Python framework. Common frameworks are Django, Pyramid, Flask. Or execute Python using mod_wsgi directly in apache.

Related

Create standalone text application from Python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am developing a program to use as a pedagogical tool in my classroom. I'm writing currently writing it in Python, but I'm also open to solutions that would use C. I want to create a standalone application for Mac (.app file) for my program, but I only need text-based interaction with the users (i.e. just STDIN/STDOUT, and not a GUI). The majority of my students do not have python installed and have no experience with Terminal/shell scripting.
I tried using Platypus to create this application, but I get an error, as shown below.
I later realized that Platypus does not support prompts for user-input. Is there anything like Platypus that would also allow me to prompt users for input?
As I say, I'm also open to solutions to my problem which would involve transposing my Python code into C and going from there.
I don't know if you have thinking about make a web app, in Google App Engine for example is very simple to deploy a Python based web app really fast, using webapp2 for example. And all your students could use your app online, this is a good getting started. But if you want maybe you could to build a command line app deployed in some server and your students could connect with ssh to use it.
It depends what kind of systems your students have and it is highly unlikely that they will have similar kind of system. For least dependency i think you can use java to write your application. For java they just need to install jdk and can run your shared jar.

Upnp library for python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have written an application in python 2.7. Now I have to add a feature in it, in which it will find the list of DMRs available in the network and then user will select the device from the list and send data from the application to the device.
For this I searched on google for python upnp libraries, and I got these (coherence, miranda-upnp, miniupnp, pyunpnp).
I also read about them, but i couldn't figure out which library i should use.
Tell me which library I should use and why ?
MiniUPnPc is actively supported (I'm the maintainer), it is a C library but there is a python module. Here is a good example for how to use it : https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/testupnpigd.py
But you would prefer miranda-upnp if you want to use a 100% python library.

open source monitoring solution without the need of an agent [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for an open source monitoring solution (preferably in Python) that works with ssh or snmp and does not require the installation of an agent (like Nagios, ZenOSS, munin).
Are you aware of such a solution?
All tools that allow you to run scripts to gather metrics can basically run commands over a ssh connection on the target box.
The question is though if this makes a lot of sense as you rely on the network connection always being available and for each (set of) property(s) you need to run a new remote connection with all its overhead.
Snmp does by definition of the protocol require you to run an snmp agent on the target box.

Python & Amazon EC2 -- Recommended Library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
What is the recommended library for python to do everything that is Amazon EC2 related?
I came across boto and libcloud. Which one is easier to use? does libcloud offer the same functionality as boto?
The big advantage of libcloud is that it provides a unified interface to multiple providers, which is a big plus in my mind. You won't have to rewrite everything if you plan to migrate some instances to Rackspace later, or mix and match, etc. I haven't used it extensively but it looks fairly complete as far as EC2 goes. In boto's favor it has support for nearly all of Amazon's web services, so if you plan to be Amazon-centric and use other services you'll probably want to use boto.
That said, try both packages and see which you prefer.

Is there any good project management tool base on django? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
As I know trac is a good project manage tool in python world,
but I want a simple one.
django-projector maybe worth a try.
Did you try https://code.google.com/p/django-project-management/ ?
Rails has some amazing ones though that I would recommend like open project and red mine. I wish there were Django equivalents of these. I will be deploying them once I get more familiar with rails. Turnkey has a redmine image which serves as an alternative to manual installation. http://www.redmine.org/boards/1/topics/10220

Categories