Is there an objective comparison of Spring Python to Zope Component Architecture (ZCA) anywhere ?
Would such a thing be relevant/useful ?
Hi,
Is there an easy way to incorporate events into Spring Python (i.e. in process not just using JMS) ?
Pre-order your copy of the Spring Python book!
“Create powerful and versatile Spring Python applications using pragmatic libraries and useful abstractions
Maximize the use of Spring features in Python and develop impressive Spring Python applications
Explore the versatility of Spring Python by integrating it with frameworks, libraries, and tools
Discover the non-intrusive Spring way of wiring together Python components
Packed [...]
I checked out r738 of trunk/springpython, changed directory to src, and tried to run jython build.py install (based on the README.TXT which indicates to do the same, but with setup.py, which isn't present).
The setup seemed to be running fine, then came to the following error:
Quote:
running install
...
copying springpython\LICENSE.txt -> build\lib\springpython
running build_scripts
creating build\scripts-2.5
error: file 'plugins\coily' does not exist
Sure enough, the only file in plugins is coily-template. I copied plugins/coily-template to plugins/coily and now the setup completed successfully.
Was that the correct fix? If not, what do you recommend to install Spring Python under jython?
We're please to announce the release of Spring Python 1.1.0.M1.
Read SpringSource's
release notice.
See http://www.springsource.org/node/2282 for the official announcement.
I chatted with Mark Pollack earlier this week and asked if we wouldn’t mind me taking over. He said no problem, and I was able to get keys later to push releases up to SpringSource’s S3 site.
This release is first milestone in our new 1.1 baseline. More features, improvements, and [...]
Hi,
Does any one know how to get the last inserted ID from the most recent INSERT on an AUTO_INCREMENT field through spring-python?
For example, lets suppose that I've defined pets.id as AUTO_INCREMENT below, if I have:
Code:
def addPet(self, owner_id, name, birthDate, type):
"""Store a new pet in the database."""
rowsAffected = self.database_template.execute("""
INSERT INTO pets
(id, name, birth_date, type_id, owner_id)
values
(null, ?, ?, ?, ?)
""", ( name, birthDate, type, owner_id))
return rowsAffected
How could I get the id of the most recent insert into the pets table?
Can the database_template return the id, instead of the rows affected?
Do I need to create another mysql query and make another trip to the db to find out which is the latest pets.id value?
Please let me know, I am looking forward to hearing news from you. Thank you very much in advance.
Starting January 11th, I’m going to be working for SpringSource. I told my daughter, Audrey, and look what she had to say!
I’m glad she approves.
No, they didn’t hire me to work on Spring Python. That is still in my spare time. Hopefully, I can become sponsor and not have to bug Mark Pollack.
Anyway, my first [...]
Hello,
I've seen on the spring python blog that there is a patch that replaces Amara with standard python ElementTree. In which version would this change be included (and when may this happen)?
regards,
Jedrek
What I need to do is make a list that lets the user input names, and then a list that lets users input values for those names. Also, I need to output the list in alphabetical value. I've been able to do that so far.
But how do I make it so when it prints the name, it prints the associated value instead of printing the values in the original order.
I downloaded springpython-1.0.0.RELEASE along with the springpython-samples-1.0.0.RELEASE and have been unable to get to any of the webapps (petclinic, springirc and springwiki) to respond to web requests.
In all cases, they look to actually be running, but I cannot connect to them. In the case of petclinic it looks like the Pyro stuff is running (I can telnet to the exported ports and something responds) but I cannot seem to get to the actual applications.
I see that the samples say in all cases that they do not work with cherrypy3. However, if I run with cherrypy2-ish, the software will not run at all. If I try to run the apps with cherrypy2 it will die complaining about missing cherrypy.Tool. If I run against cherrypy3, the software loads up and looks like it is waiting for incoming connections.
I am testing on Ubuntu 8.10.
Hi,
I am new using spring python and python, but I've used spring java for many years. In spring java we have a jar file that we add into our lib directory and we are all set ready to go.
Is there any jar file type for spring python that I could do just the same? or how do you guys import it into your application? just making sure that the spring python directory is in the python path? how do you handle deployments?
Please let me know. I really appreciate your help.
Thank you very much in advance.
Hi,
I've worked with spring and hibernate for many years, and we successful implemented many applications! I am trying to integrate spring-python on a new project that will be using python, and I would like to ask the community about reliable object relational mapping frameworks in python. We are planing to use MySQL db. Any experiences? preferences?, does spring-python offers sport for ORM frameworks as spring does? please advise.
Thank you very much in advance.
I recently completed a patch that replaces the amara library with python’s default elementTree library. As much as I like amara’s API, its C-extension basis was unacceptable. I just merged the patch into the trunk, and verified it works with Jython 2.5.1.FINAL. When Spring Python’s 1.1.0.M2 release comes out, we will be Jython-compatible.
With this change, [...]