[Announce] boost.date_time library Python bindings

2005-11-30 Thread Roman Yakovenko
7694&release_id=374482 The date_time package was created using boost.python library and new code generator - pyplusplus. The boost.python library home page: http://www.boost.org/libs/python/doc/index.html The pyplusplus package home page: http://www.language-binding.net/ Enjoy. Roman Yakovenko

Re: Extended Language c++ in pyhton

2005-09-01 Thread Roman Yakovenko
Decide your self: http://seal.web.cern.ch/seal/snapshot/work-packages/scripting/evaluation-report.html My recomendation is boost.python. If you choose boost.python then there are a few code generator tools for it. One of them is pyplusplus ( see http://pygccxml.sourceforge.net/pyplusplus/pyplusp

Re: Choosing the right parser for parsing C headers

2005-02-08 Thread Roman Yakovenko
try http://sourceforge.net/projects/pygccxml There are a few examples and nice ( for me ) documentation. Roman On Tue, 8 Feb 2005 13:35:57 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Jean de Largentaye wrote: > > > GCC-XML looks like a very interesting alternative, as Python includes > > t

LD_LIBRARY_PATH - how to set?

2005-03-30 Thread Roman Yakovenko
Hi. I have small problem. I need to load extension module that depends on shared library. Before actually importing module I tried to edit os.environ or to call directly to os.putenv without any success - shared library was not found. I tried to search the Internet for the answer. The only approach

Re: LD_LIBRARY_PATH - how to set?

2005-03-30 Thread Roman Yakovenko
On Mar 31, 2005 9:20 AM, John Abel <[EMAIL PROTECTED]> wrote: > What OS? Linux? Solaris? Does it matter? If so, please explain why ( lack of knowledge ) I am using Linux ( Debian Surge ) Thanks > J > > Roman Yakovenko wrote: > > >Hi. I have small problem. I ne

Re: LD_LIBRARY_PATH - how to set?

2005-03-30 Thread Roman Yakovenko
pointer. I think I should have permissions to do it. (more over users of my scripts should have permissions ) > HTH > > J > > Roman Yakovenko wrote: > > >On Mar 31, 2005 9:20 AM, John Abel <[EMAIL PROTECTED]> wrote: > > > > > >>What OS? Linux? Solar

Re: LD_LIBRARY_PATH - how to set?

2005-03-31 Thread Roman Yakovenko
On 31 Mar 2005 00:51:21 -0800, Serge Orlov <[EMAIL PROTECTED]> wrote: > Roman Yakovenko wrote: > > Hi. I have small problem. I need to load extension module that > depends > > on shared library. Before actually importing module I tried to edit > > os.environ or

Freezing python application

2005-04-13 Thread Roman Yakovenko
Hi. I would like to freeze python application on linux. There are a few tools that make the job to be done: freeze ( comes with python ) cx_Freeze Gordon McMillan's installer Is it possible to freeze python application on linux in such way that it doesn't depends on python installed on cu

Re: Freezing python application

2005-04-13 Thread Roman Yakovenko
Sorry for previous post - hit the wrong button Hi. I would like to freeze python application on linux. There are a few tools that make the job to be done: freeze ( comes with python ) cx_Freeze Gordon McMillan's installer I have one problem with all of them: they require python to be

[Announce] pydsc

2005-12-21 Thread Roman Yakovenko
Software License( http://boost.org/more/license_info.html ) You can download it from here: http://sourceforge.net/project/showfiles.php?group_id=118209 Pay attention: before installing pydsc you need to install PyEnchant (http://pyenchant.sourceforge.net/). Ideas, comments, suggestions or help

Re: boost.python on Debian

2006-01-16 Thread Roman Yakovenko
ave the latest (1.32.0-6) Debian boost libraries, and > bjam version (3.1.10-1) correctly installed. > -- > http://mail.python.org/mailman/listinfo/python-list > Roman Yakovenko -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Boost.

2006-07-25 Thread Roman Yakovenko
t site. After this use bcp(http://boost.org/tools/bcp/bcp.html) utility to extract boost.python and its dependencies. After this you can read tutorials and to start working. Anyway, it is better to ask Boost.Python related questions on it's mailing list: http://boost.org/more/mailing_lists.htm

Re: Python and C++

2006-07-25 Thread Roman Yakovenko
that if you ask you questions on boost.python mailing list you will get the answers. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and C++

2006-07-25 Thread Roman Yakovenko
ig.org/ Boost.Python also has code generators: Pyste and pyplusplus( http://language-binding.net/pyplusplus/pyplusplus.html ) The last one even has GUI, so for small project you don't have to learn any API, just few mouse clicks and you have almost working code. -- Roman Yakove

Re: beginner questions on embedding/extending python with C++

2006-08-08 Thread Roman Yakovenko
y you need. > Btw, if you can point me to any source code of non-trivial projects > utilizing SWIG/Boost.Python, that would be very helpful. I found the > examples on the tutorials are far too simple. Those are tutorials, they should be simple, right :-) ? -- Roman Yakovenko

Re: Boost Build Warning

2006-08-14 Thread Roman Yakovenko
-s VC80_ROOT=vc-8_0 > not totally sure if that is right so I have tried a few others like, > bjam -sTOOLS=vc-8_0 > > Any help would be appreciated. Try to run vcvars32.bat ( if exists or something similar ) before you invoke bjam from the same cmd. I am not sure, but this could he

Re: C++ to Python?

2006-10-10 Thread Roman Yakovenko
a look on Py++( http://language-binding.net/pyplusplus/pyplusplus.html ) You are not going to regret. You don't have to believe: take a look on Python-Ogre project( http://python-ogre.python-hosting.com/ ) and amount of code that is needed to export Ogre engine to Python: http://tinyurl.com/mjuea --

Re: C++ to Python?

2006-10-10 Thread Roman Yakovenko
code and than incrementaly to drop it( C++ ). This way you will not introduce too many bugs and you will be able to move forward. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python wrapper for C++ core

2006-10-19 Thread Roman Yakovenko
ies rather than programming > theory/constructs Be sure to check Boost.Python to create Python bindings for your project(s): http://boost.org/libs/python/doc/tutorial/doc/html/index.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN]Py++-0.8.2

2006-10-20 Thread Roman Yakovenko
the library * documentation, new chapters were written, all source code in documentation is highlighted using pykleur package. Dependencies: Py++-0.8.2 depends on pygccxml-0.8.2. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: boost::python embedding example running error

2006-11-12 Thread Roman Yakovenko
ing.net/pyplusplus/links.html > -- > http://mail.python.org/mailman/listinfo/python-list > -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Distutils: setup script for binary files

2006-06-06 Thread Roman Yakovenko
directory, program loader can find. How can I do this? Any help is appreciated. Thanks -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: templating languages for webdev

2006-06-23 Thread Roman Yakovenko
.net/ using it and Docutils. Never regret about this. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN]pygccxml 0.8.1

2006-08-24 Thread Roman Yakovenko
s implementation and performance were improved. You can find the full list of changes here: http://language-binding.net/pygccxml/history/history.html#version-0-8-1 -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN]Py++ 0.8.1

2006-08-24 Thread Roman Yakovenko
. A lot of bugs were fixed. 8. Documentation was written. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: libboost, python, and dijkstra shortest path

2006-11-29 Thread Roman Yakovenko
ra_shortest_paths(graph, a) You'd better ask the question on boost.python or boost-users mailing lists: http://boost.org/more/mailing_lists.htm -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Wrapping classes with pure virtual functions

2006-12-17 Thread Roman Yakovenko
nguage-binding.net/pyplusplus/pyplusplus.html ) Boost.Pythoncode generator It has nice GUI ( no need to learn any API ): http://language-binding.net/pyplusplus/documentation/tutorials/pyplusplus_gui.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN] pygccxml - 0.8.5

2006-12-21 Thread Roman Yakovenko
e complete list, please see the news: http://language-binding.net/pygccxml/history/history.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Py++ - 0.8.5

2006-12-21 Thread Roman Yakovenko
bug was introduced. For a more complete list, please see the news: http://language-binding.net/pyplusplus/history/history.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

python-list@python.org

2006-12-21 Thread Roman Yakovenko
ython as new strings (I don't want to hold a pointer to them). I am not sure, you'd better ask this question o Boost.Python mailing list: http://mail.python.org/mailman/listinfo/c++-sig/ Py++, Boost.Python code generator, does it for you: http://tinyurl.com/ygwdkz -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: python , Boost and straight (but complex) C code

2006-12-30 Thread Roman Yakovenko
http://tinyurl.com/ycwvwo ) will help you to start\learn Boost.Python. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: python , Boost and straight (but complex) C code

2006-12-31 Thread Roman Yakovenko
ect is an open source, consider to contribute your experience, knowledge and time to make it better. You can download pre-built binaries for Windows platform from here: http://www.boost-consulting.com/download.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Embedding Python into C/C++ applications

2006-02-04 Thread Roman Yakovenko
opinion: Boost.Python is the way to go: http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html There is also an other project: http://cxx.sourceforge.net/PyCXX.html > -- > Best Regards > John > -- > http://mail.python.org/mailman/listinfo/python-list >

Re: Is there a better way of doing this?

2005-05-29 Thread Roman Yakovenko
On 5/29/05, Cyril BAZIN <[EMAIL PROTECTED]> wrote: > Hi, > > I don't know very well what you want to do, but if you want to parse c++, > take a look at "GCC-XML python" (http://www.gccxml.org) and the python > binding (http://pygccxml.sourceforge.net/). These tools > translate c++ code to XML. T

Re: Boost.Python create extra functions not in wrapped object

2007-04-19 Thread Roman Yakovenko
orial/doc/html/python/techniques.html#python.extending_wrapped_objects_in_python Regards, Stou -- http://mail.python.org/mailman/listinfo/python-list -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Boost.Python create extra functions not in wrapped object

2007-04-19 Thread Roman Yakovenko
r class. Then you can register it as usual function. For example: http://language-binding.net/pyplusplus/documentation/functions/transformation/built_in/input_c_buffer.html take a look on generated source code( at the bottom of the page ) Thanks again, Stou On 4/19/07, Roman Yakovenko <[EMAIL PR

[ANN]pygccxml-0.9.0

2007-05-07 Thread Roman Yakovenko
e base one. Bug fixes - * C++ does not define implicit conversion between an integral type and ``void*``. "declarations.is_convertible" type traits was fixed. * Small bug was fixed in functionality that corrects GCC-XML reported function default arguments. Reference to &quo

[ANN]Py++ 0.9.0

2007-05-07 Thread Roman Yakovenko
unctionality to Boost.Python Indexing Suite V2 ``std::map`` and ``std::multimap`` containers. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Boost python : get the shape of a numpy ndarray in C++ code.

2007-05-09 Thread Roman Yakovenko
e(w,h)]); > } > } > } > > > Some help is very welcome here ... thanks. > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Any python Module for generating DocBook?

2007-08-25 Thread Roman Yakovenko
ificant > lines in the > source code for reference. My DocBook processing software xmlint, > xsltproc, and fop, > don't support numbering lines, when including source files via > http://boost-consulting.com/boost/tools/quickbook/doc/html/index.html ) It is not exactly what you w

Re: C++ and Python

2007-03-09 Thread Roman Yakovenko
one uses Py++. The link I gave earlier contains links to the projects CVS's. It worse to take a look on them and compare. P.S. Take all what I say with caution, because I am the author of Py++. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.py

Re: python/C++ wrapper

2007-03-13 Thread Roman Yakovenko
ut try some other way: Boost.Python. Take a look on tutorials: http://www.boost.org/libs/python/doc/tutorial/doc/html/python/exposing.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: python/C++ wrapper

2007-03-14 Thread Roman Yakovenko
dings to Ogre engine was created using Boost.Python( http://www.ogre3d.org/wiki/index.php/PyOgre ) -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Embedded Boost.Python Enum

2007-10-18 Thread Roman Yakovenko
I create the BOOST_PYTHON_MODULE in an > embedded python c++ program how to I then import that module into my > embedded python? http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html Embedding example: http://svn.boost.org/trac/boost/browser/trunk/libs/python/test/import_.cpp HTH -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: SWIG overhead

2007-02-01 Thread Roman Yakovenko
quiet some > time in functions like _swig_setattr_nondinamic, _swig_setattr, > _swig_getattr. Before you decide to go "low level" consider to use Boost.Python. According to this( http://tinyurl.com/322d3p ) post it gives pretty good performance. P.S. The post does not contain numbe

Re: SWIG overhead

2007-02-01 Thread Roman Yakovenko
it's not visible to > the wrapper author. Boost.Python hides it pretty well :-) -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Jython / Java / C / C++ interoperability

2007-02-12 Thread Roman Yakovenko
ning > access to C/C++ functionality from Jython? Please keep in mind that I > have very little Jython experience. > May be you should consider JPype( http://jpype.sourceforge.net/ ) -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Reg Google Web Toolkit and Python

2007-02-16 Thread Roman Yakovenko
> best toolkits.Now I got a doubt can I interface GWT > with python. http://pyjamas.pyworks.org/ is the way to go. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: opensg or openscenegraph

2008-01-11 Thread Roman Yakovenko
s well for writing a simulation > game. > The Python Bindings I have found to date are: > > For OpenSG: > https://realityforge.vrsource.org/trac/pyopensg > > For OSG (there seems to be several variations of these): > http://code.astraw.com/projects/pyosg > > I suppose you could also

[ANN]pygccxml - 1.0

2008-10-20 Thread Roman Yakovenko
ed. For a more complete list, please see the news: http://language-binding.net/pygccxml/history/history.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Py++ - 1.0

2008-10-20 Thread Roman Yakovenko
language-binding.net/pyplusplus/history/history.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANN]pygccxml - 1.0

2008-10-23 Thread Roman Yakovenko
e and didn't work reliably. I suggest you to follow GCCXML install instructions ( http://gccxml.org/HTML/Install.html ) and you will have it in less than 20 minutes. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANN]pygccxml - 1.0

2008-10-23 Thread Roman Yakovenko
ml installer, it is just a Python script, I wrote, that contains bug - it deletes directories. So you need to be very very careful with it. The bottom line - don't use it. It takes only 20 minutes to install it, once you have its source code and cmake. -- Roman Yakovenko C++ Python language

Re: Is there a python library to parse C++ code file?

2006-03-17 Thread Roman Yakovenko
age :-)! It has built-in support for type analisys, cache and .... -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: From Python to c++

2006-03-21 Thread Roman Yakovenko
c/html/variant.html http://boost.org/libs/any/index.html I hope this will help -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: boost python tutorial

2006-03-23 Thread Roman Yakovenko
hether you named you module as hello? BOOST_PYTHON_MODULE(hello) > Thanks, > -Justin > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: boost python tutorial

2006-03-23 Thread Roman Yakovenko
can use your mail or gmail you can send/recieve mails from it. > -- > http://mail.python.org/mailman/listinfo/python-list > -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: C++ and Python

2006-03-31 Thread Roman Yakovenko
e is try to use boost.python library. http://www.boost.org/libs/python/doc/tutorial/doc/html/index.html There are also few code generators available for it: pyplusplus and Pyste. > -- > http://mail.python.org/mailman/listinfo/python-list > -- Roman Yakovenko C++ Python language binding http://www.langu

Re: Giving your C/C++ Application a Python Command Line...

2006-04-10 Thread Roman Yakovenko
ns to Python. > > Does anyone know of any tutorials or example code that show how to do > this? You have few choices: boost.python http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html PyCXX ( embedding only ) http://cxx.sourceforge.net/ > Thanks, > > Andrew

Re: Problem Dynamic Loading Linux C++ .so module using python2.4

2006-04-10 Thread Roman Yakovenko
amic linking of the .so files (ie > mylibDBAccess.so). > > Any ideas on how to resolve this? I think you can not. I can not find the article, but I read that changes of LD_LIBRARY_PATH after program start, does not have any effects, because this variable is read only once - at progr

ANN: pyplusplus - v0.7.2

2006-04-17 Thread Roman Yakovenko
fixes Full list of changes you can find here: http://www.language-binding.net/pyplusplus/history/history.html Many thanks to Matthias Baas and Allen Bierbaum. They fixed bugs, wrote documentation, designed new user friendly API. Enjoy -- Roman Yakovenko C++ Python language binding http

ANN: pygccxml - 0.7.2

2006-04-17 Thread Roman Yakovenko
bugs and wrote documentation. Enjoy -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list