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 1 year ago.
Improve this question
I am designing a desktop application using Python.
I am facing a problem in choosing the most appropriate database, the program works online and offline.
In the case of offline, there is no problem because I find SQLite very suitable, but the problem is when the program works online, in this case I need to put the database on the cloud so that it is easy to deal with and access it from anywhere.
My question here is what is the best solution to this problem? Is there a database that can be embedded with the program for local use and at the same time it can be used as a server on the cloud?
Thanks in advance
Well, I can say that You can use PouchDB as client side Work and for data sync on user side any database suitable which is use CouchDB sync protocol.
I also worked with postgreSQL and kinto.js but it's not as user friendly as PochDB.
Related
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 months ago.
Improve this question
I'm starting a new personal server in a VPS (debian). I am doing the mainpage with django. I will like to add to this server/site other external apps (such as GitLab CE, Veloren , FluxRSS and Wallabag).
The idea is to centralize everything through django. To have something like :
Blog : webpage.com
GitLab : gitlab.webpage.com
Nevertheless, I cannot seem to find any tutorials or information to do this. I think there is something related to nginx and reverse proxy, but still cant find good information.
I know the question is very broad but I'm out of resources and do not know where to search...
I've been searching through the web (including stackoverflow) and can't seem to find what I'm looking for, so even if it is just keyword recommendations or links to possible solutions/implementations I'll be extremely happy.
You are looking for virtual hosts
https://linuxiac.com/nginx-virtual-host/
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 1 year ago.
Improve this question
We developed an AI assisted work product using Python and ruby.
For data security reasons, the customer requires the code to be installed on his server.
What technical solutions can we use to ensure easy deployment and no leakage of our code, or use open source encryption system? Or use a service of AWS?
Putting aside the legal aspects, from a technical perspective, there is no way to prevent the user from reverse engineering your code with enough time, as ultimately it is running on their server.
If you have anything that shouldn't ever be leaked, put the logic behind a secured API, which the local application can call - that can use AWS API Gateway if you wish to do so.
If the code cannot be deployed inside an API, you can obfuscate the code using solutions found online but you will only make it harder, not impossible.
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 2 years ago.
Improve this question
so I'm developing python flask app where users can see other user's profile then they can click on a bottom where they can send real time direct messages using. (like twitter direct messages).
can someone lead me to w website or source to start with.
Dose even flask can do that ?
BIG Thanks in advance.
For this, you will need to use sockets. Flask-SocketIO is what you should use for this. Here's a decent guide on how to set it up, specifically for using for chat.
https://codeburst.io/building-your-first-chat-application-using-flask-in-7-minutes-f98de4adfa5d
It's for building a chat room, not private messages, but I think it's a good base and you can work out what you need to change to do private messages from here.
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
Apologies for the vagueness of the question, but I am mainly looking for resources of how to learn to do the following task. I have some software on my computer and would like to automate the following tasks (since it occurs daily):
Launch the program
Click some buttons
Save the new data file to a specific folder
The only thing I have come across is the subprocess module in python and start for the command line to launch the program. However, I am at a loss for how to get my computer to click certain buttons (using a script) once the software is open. Any ideas or recommendations for where I can learn more about this is greatly appreciated. Once I have the script I know how to schedule the task to occur everyday. Thanks!
I am using Windows and there is no API for the software.
It would help if you specify what OS you are using or some other details but considering the few details given, you can use a scripting language that can run GUI applications, here are a few examples:
1.Windows:
AutoHotKey:
https://autohotkey.com/
AutoIt:
https://www.autoitscript.com/site/autoit/
2.Linux:
xdotool: http://www.semicomplete.com/projects/xdotool/
3.Mac:
Automator: https://en.wikipedia.org/wiki/List_of_macOS_components#Automator
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 2 years ago.
Improve this question
My lead coder and I want to hack a quick python program together tomorrow. Is there a site that will allow us, like Google Docs, to work on a program at the same time and run the code?
I have recently started using PythonAnywhere. It lets you start a console on your account, and share it with others. The site is currently in limited-beta, but I got an invite just a few hours after my request. When you share a console, the friend doesn't need an account.
I think Cloud 9 will do what you want, but it's not free unless you're open source.
For Mac users, there is a collaborative editor that should work for hacking together some Python. http://www.codingmonkeys.de/subethaedit/
Also, google turned up http://gobby.0x539.de/trac/ but I've never tried that.
Of course, each of you editing the script will still have to run it locally. ;)
There is such functionality at rextester.
Github?
It's not quite the same (not instant), but works well.