473,386 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can I access perl application API's from python

Hi,

I would like to use Python for several scripting tasks I have, but the
applications I am scripting against only export a set of Perl API's.
Is there any package that makes it easy to use an application's Perl
APIs from Python. Essentially I am looking for a package that would
read a perl module and allow me to access the functions in that module
from Python. For example the Communigate Pro messsaging server has a
Perl api, but not a python API (they also have a java API if that
helps).

Please reply to me directly as I do not read this newsgroup.

cheers,

ski

ka*******@comcast.net
Jul 18 '05 #1
2 1836
Chris Kacoroski wrote:
I would like to use Python for several scripting tasks I have, but the
applications I am scripting against only export a set of Perl API's.
Is there any package that makes it easy to use an application's Perl
APIs from Python. Essentially I am looking for a package that would
read a perl module and allow me to access the functions in that module
from Python. For example the Communigate Pro messsaging server has a
Perl api, but not a python API (they also have a java API if that
helps).


Since they have a Java API, I'd suggest you try Jython.

http://www.jython.org

--
Timo Virkkala
Jul 18 '05 #2
> Chris Kacoroski wrote:
I would like to use Python for several scripting tasks I have, but
the applications I am scripting against only export a set of Perl
API's. Is there any package that makes it easy to use an
application's Perl APIs from Python. Essentially I am looking for a
package that would read a perl module and allow me to access the
functions in that module from Python.


See also http://www.python.org/cgi-bin/moinmoin/PyPerl

HTH,
Mike


Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ken Godee | last post by:
I have a python program I need to interface with an api. The api is native C but they also have a perl wrapper. I'm thinking along the lines of "pyperl" or perhaps pyInline. I don't feel...
1
by: bezeee | last post by:
At my work we are in the process of building a tool to test an XML based API. Basically, XML in and XML out over http. Currently, there are two engines that do all of the schema validations, xml...
42
by: Fred Ma | last post by:
Hello, This is not a troll posting, and I've refrained from asking because I've seen similar threads get all nitter-nattery. But I really want to make a decision on how best to invest my time....
31
by: surfunbear | last post by:
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is...
4
by: Jonas | last post by:
Good day, I have a .bat script I'm invoking thru a cgi script (PERL) with (NT/IIS) on a internal network. The .bat script is having problems accessing network drives, it keeps saying "Invalid...
9
by: Dieter Vanderelst | last post by:
Dear all, I'm currently comparing Python versus Perl to use in a project that involved a lot of text processing. I'm trying to determine what the most efficient language would be for our...
13
by: BigDaDDY | last post by:
Um yeah....In case you haven't figured it out, Microsoft sucks. I'm going to be kicked back in my chair eating popcorn and watching football 10 years from now, while all you clowns are scrambling...
0
by: Daniel Fetchinson | last post by:
Again a noob question. For sqlite: http://oss.itsystementwicklung.de/trac/pysqlite/ if you have python < 2.5 for 2.5 and up it is included in the stdlib For mysql:...
0
by: M.-A. Lemburg | last post by:
On 2008-05-12 07:43, Banibrata Dutta wrote: Most Python database modules adhere to the Python Database API specification (DB-API). The current version 2 is available in the PEP format as: ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.