Which is the fastest embedded noSQL database for Python? [closed] - python

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need a noSQL solution that is fast, small, embedded (because I don't have root privilege) and supports Python. For now I just have two names: DyBASE, CodernityDB. Please help me find others and choose the best one. Thank you!!!

ZODB - It is not "small", I guess - but it is fast, it is native to Python - and it can certainly be installed without root privileges using buildout or even only virtualenv -
Here is a blog post showing how ZODB compares against sqlite - (and sqlite, in its turn, for single threaded code, performes quite well against larger SQL database systems - just look for benchmarks):
http://pyinsci.blogspot.com.br/2007/09/zodb-vs-relational-database-simple.html
Here is a link to the tutorial -
for being able to install it as in the tutorial, without adm privileges on the system,
first create a virtualenv and activate it:
http://www.zodb.org/en/latest/documentation/tutorial.html
Here is the link for ZODB and install instructions:
https://pypi.python.org/pypi/ZODB3/3.8.2

Related

Encrypt files before putting into Dropbox using Python [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to encrypt files before uploading into Dropbox using keys and some encryption standards in Python. How would I do that in code without using any third party tools?
I would suggest using a cryptographic library like pycrypto. Cryptography is hard, and doing it yourself is a sure way to have security holes.
Oh, and you should read this article by Bruce Schneier: Why cryptography is hard.
You may try using pyDes and/or rsa

Upgrading to a newer Python version - performance improvements? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm working on an open source project (Master of Mana, a mod for Civilization 4) which uses Python 2.4.1 for several game mechanics. Is there a chance for a performance improvement if I try to upgrade to Python 2.7.3 or even 3.3.0?
Related to this, has anyone done a performance analysis on different Python versions?
Most newer Python versions bring new features.
Existing code parts are probably updated as well, either for performance or for extended functionality.
The former kind of changes bring a performance benefit, but extended functionality might lead to a poorer performance.
I don't know what is the relationship between these kinds of changes. Probably you will have to do some profiling on yourself.

Ninja-IDE for Django or Python [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm looking for a good IDE to programming with Python, I found this http://ninja-ide.org/.
Did anyone try Ninja-IDE to programming Python or Django Apps, any suggestions about its use?
I personally use Netbeans for Python development mostly because I also use it for PHP and Java development. It works quite well for Python.
I prefer Aptana Studio 3, try it here!

SOAP Client for Python 3 [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Although this question is very popular here in StackOverflow, after spending some time here and in the Google, I still haven't find a concrete answer on what is the most appropriate way to do SOAP consuming in Python 3.
I took a look at Does a Python 3 SOAP client module exist?, and I hope it is outdated and today some solution to this may have appeared.
I was thinking about some ideas:
Use 2to3 script to port some existing libraries to Python 3 (SOAPy, suds, etc).
Load an external module, by mixing technologies (Py3k + Jython, Py3k + Python 2.6, etc.)
Write in hardcode Python classes that corresponds to definitions of WSDL files (which implies in tight-coupling/high maintenance).
Write the software in Python 3.0, call the "python2.6-only" module functions through the execnet package. Which requires the Python 2.6 to be installed on the machine and the software written in Python3.0 to be a frozen binary.
Any ideas?
Thanks in advance
I would probably start by trying your suggested 2to3 port. For many things, it works pretty well. It would still be a day or two worth of work to convert something like suds, I imagine.

Make the Move to Python 3 - Best practices [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
We think about whether we should convert a quite large python web application to Python 3 in the near future.
All experiences, possible challenges or guidelines are highly appreciated.
My suggestion is that you stick with Python 2.6+, but simply add the -3 flag to warn you about incompatibilities with Python 3.0. Then you can make sure your Python 2.6 can be easily upgraded to Python 3.0 via 2to3, without actually making that jump quite yet. I would suggest you hold back at the moment, because you may at some point want to use a library and find out that it is only available for 2.6 and not 3.0; if you make sure to cleanup things flagged by -3, then you will be easily able to make the jump, but you will also be able to take advantage of the code that is only available for 2.6+ and which is not yet ready for 3.0.
For each third-party library that you use, make sure it has Python 3 support. A lot of the major Python libraries are migrated to 3 now. Check the docs and mailing lists for the libraries.
When all the libraries you depend on are supported, I suggest you go for it.

Categories

Resources