3 1945
"Dan" <ar**********@y ahoo.com> wrote in message
news:8e******** *************** ***@posting.goo gle.com... Here are a pair XML problems that are available:
#1) Setup to convert these xml files http://www.gothamanalytics.com/PairT....quotemedia.co
m/data/getHistory.xml& symbol=SUNW
http://www.gothamanalytics.com/PairT...p.quotemedia.c
om/data/getQuotes.xml?s ymbols=SUNW into a vector of open,close,volu me information suitable for use with a numerical Python module. Doing this quickly is a plus.
Can you better define "vector".
Do you want a Numeric array, or a list or tuple? Do you want a different
vector for each of (open, close, volume) (ie, 3 arrays)
or do you want the three values stuck into one tuple/list element and that
element put into an array/list?
What do you mean by "quickly"? You haven't given an indication of the size
of the file you wish to process. The URL shown above produces a rather small
file. But are you planning to process megabytes of data with multiple
symbols over long periods of time?
SAX can easily parse those xml files without loading them entirely in
memory.
What platform are you running on? Maybe it's quicker to use a C extension
like libxml2 if you're going to parse extremely large files. You haven't
provided enough information about your problem domain.
#2) Expose the Salesforce.com SOAP functionality from salesforce.com generated WSDL files, here is an example WSDL http://gothamanalytics.com/Ex/enterprise.wsdl See sforce.com for more info on the salesforce.com API. A Python solution is preferred but a work around which uses Java and the Salesform.com Apache Axis library and an appropriate gateway from python might also be acceptable. Results from an attempt at using ZSI to process the WSDL file is appended to this message.
I think there are others on this list who are (or will soon) need to work
with Salesforce.com.
I have been evaluating it and DreamFactory for a few months, but I don't
have any clients at the moment that need to use either.
If you're just doing "bulk transfer" of data, you might consider a hybrid
approach using JyRetic EAI Server http://sourceforge.net/projects/retic
Otherwise, continued work on the pywebsvcs-talk list could arrive at a
solution in time. In fact, I think I saw a post from you on the list this
week.
If your business has resources that can be applied to fixing problems in ZSI
or SOAPPY that'd be a good way to solve your immediate problem, and "giving
back" to the community.
-Brad
-- http://mail.python.org/mailman/listinfo/python-list
"Dan" <ar**********@y ahoo.com> wrote in message
news:8e******** *************** ***@posting.goo gle.com... Here are a pair XML problems that are available:
#1) Setup to convert these xml files http://www.gothamanalytics.com/PairT....quotemedia.co
m/data/getHistory.xml& symbol=SUNW
http://www.gothamanalytics.com/PairT...p.quotemedia.c
om/data/getQuotes.xml?s ymbols=SUNW into a vector of open,close,volu me information suitable for use with a numerical Python module. Doing this quickly is a plus.
Can you better define "vector".
Do you want a Numeric array, or a list or tuple? Do you want a different
vector for each of (open, close, volume) (ie, 3 arrays)
or do you want the three values stuck into one tuple/list element and that
element put into an array/list?
What do you mean by "quickly"? You haven't given an indication of the size
of the file you wish to process. The URL shown above produces a rather small
file. But are you planning to process megabytes of data with multiple
symbols over long periods of time?
SAX can easily parse those xml files without loading them entirely in
memory.
What platform are you running on? Maybe it's quicker to use a C extension
like libxml2 if you're going to parse extremely large files. You haven't
provided enough information about your problem domain.
#2) Expose the Salesforce.com SOAP functionality from salesforce.com generated WSDL files, here is an example WSDL http://gothamanalytics.com/Ex/enterprise.wsdl See sforce.com for more info on the salesforce.com API. A Python solution is preferred but a work around which uses Java and the Salesform.com Apache Axis library and an appropriate gateway from python might also be acceptable. Results from an attempt at using ZSI to process the WSDL file is appended to this message.
I think there are others on this list who are (or will soon) need to work
with Salesforce.com.
I have been evaluating it and DreamFactory for a few months, but I don't
have any clients at the moment that need to use either.
If you're just doing "bulk transfer" of data, you might consider a hybrid
approach using JyRetic EAI Server http://sourceforge.net/projects/retic
Otherwise, continued work on the pywebsvcs-talk list could arrive at a
solution in time. In fact, I think I saw a post from you on the list this
week.
If your business has resources that can be applied to fixing problems in ZSI
or SOAPPY that'd be a good way to solve your immediate problem, and "giving
back" to the community.
-Brad
-- http://mail.python.org/mailman/listinfo/python-list This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ravi |
last post by:
Has anyone tried building Python with VC++.NET? Does it work or fail
horribly like I think it will. My boss seems to think it is good to have
programs that are in managed code because it is more 'portable'. Not
that there's another complete .NET runtime besides Microsoft's but he
does not understand that.
Thanks for the help,
Ravi
|
by: dan |
last post by:
It would be an understatement to say I love this language. What used
to take me all day now takes 3 hours, and I can spend the rest of the
time on my bike thinking about the problems from a high level instead
of wrestling with arcane compiler problems, etc.
Back in the day, when looking at an interpreted language (or even
compiled ones) the first thing I would ask is, "how fast is it?"
These days, with 1ghz processor machines selling...
|
by: Raymond Hettinger |
last post by:
QOTW: "the DOM API is designed for consultants, not for humans or
computers" -- Fredrik Lundh giving solace to a confused DOM API user
QOTW: "Python enjoys making tradeoffs that drive *someone* crazy
<wink>" -- Michael Hudson's signature line attributed to Tim Peters
Discussion
----------
Alex Martelli shows the classic example for the "for-else"
|
by: arielgr |
last post by:
Hi,
My company is involved in the development of many data marts and
data-warehouses, and I currently looking into migrating our old set of
tools (written in Korn) to a new, more dynamic and robust one. I am
looking into python as I have heard that it could be a good contestant
for the job, and wanted to know if anyone knew of an existing open
source project which implements ETL using python, or any libraries that
may ease the production...
|
by: godwin |
last post by:
US- MN - Functional Oracle Consultants
Salary: Your Best,
Start Date: Immediate,
Duration: April 4, 2005 - Jan 6, 2006
Number Of Openings: 4,
Primary Skills:
Oracle Consultants 1 -- with good knowledge in AP, AR, PO
Oracle Consultants 2 -- with good knowledge in GL, FA, CM, AR
| |
by: hacker1017 |
last post by:
im just asking out of curiosity.
|
by: nivedita |
last post by:
Bangalore
=========
http://list-jobs.blogspot.com/2007/06/bangalore-companies-and-consultants.html
Chennai
=======
http://list-jobs.blogspot.com/2007/06/chennai-companies-and-consultants.html
Delhi
======
|
by: Tomas |
last post by:
Dear group.
I have some big problems getting python to work with svn.
Python SVN and SWIG is compiled from source.
I have been testing Python 2.5.1 and 2.4.4 together with SWIG 1.3.25 and
1.3.33 and SVN 1.4.5 and 1.4.6
All combinations creates the same problem:
# python
Python 2.4.4 (#1, Feb 25 2008, 08:46:36)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |