14 papers · ranked by Valyu relevance
Isabella Basso Amaral, Renato Cordeiro Ferreira, Alfredo Goldman
—The Python programming language is best known for its syntax and scientific libraries, but it is also notorious for its slow interpreter. Optimizing critical sections in Python entails special knowledge of the binary interactions between program ming languages, and can be cumbersome to interface manually, with…
Nir Goren, Efi Fogel, Dan Halperin
We introduce Python bindings that enable the convenient, efficient, and reliable use of software modules of Cgal (The Computational Geometry Algorithms Library), which are written in C++, from within code written in Python. There are different tools that facilitate the creation of such bindings. We present a short…
Andreas Dedner, Martin Nolte
In this paper we present the new Dune-Python module which provides Python bindings for the Dune core, which is a C++ environment for solving partial differential equations. The aim of this new module is to firstly provide the general infrastructure for exporting realizations of statically polymorphic interfaces based…
Dorota Jarecka, Sylwester Arabas, Davide Del Vento
This technical note introduces the Python bindings for libcloudph++. The libcloudph++ is a C++ library of algorithms for representing atmospheric cloud microphysics in numerical models. The bindings expose the complete functionality of the library to the Python users. The bindings are implemented using the Boost.Python…
Patrick Stowell, Robert Foster, Almahdi Elhamri
GEANT4 is a particle physics simulation tool used to develop and optimize radiation detectors. While C++-based examples exist, Python's growing popularity necessitates the development of a more accessible Python bindings interface. This work demonstrates the use of cppyy, the automated C++-Python binding package, to…
Saul Shanabrook
E-graphs have emerged as a versatile data structure with applications in synthesis, optimization, and verification through techniques such as equality saturation. This paper introduces Python bindings for the experimental egg-smol library, which aims to bring the benefits of e-graphs to the Python ecosystem. The…
P. Fernique, Christophe Pradal
Most of Python and R scientific packages incorporate compiled scientific libraries to speed up the code and reuse legacy libraries. While several semiautomatic solutions exist to wrap these compiled libraries, the process of wrapping a large library is cumbersome and time consuming. In this paper, we introduce AutoWIG…
Hui Zhou, Ken Raffenetti, Wesley Bland, Yanfei Guo
The MPI Forum has recently adopted a Python scripting engine for generating the API text in the standard document. As a by-product, it made available reliable and rich descriptions of all MPI functions that are suited for scripting tools. Using these extracted API information, we developed a Python code generation…
Hao Li, Gopi Krishnan Rajbahadur, Cor‐Paul Bezemer
Learning Software Quality Authors: ['Hao Li' 'Gopi Krishnan Rajbahadur' 'Cor‐Paul Bezemer'] Bindings for machine learning frameworks (such as TensorFlow and PyTorch) allow developers to integrate a framework's functionality using a programming language different from the framework's default language (usually Python).…
Tianyang Wang, Ziqian Bi, Keyu Chen, Jiawei Xu + 11 more
Management: Object-Oriented Programming Authors: ['Tianyang Wang' 'Ziqian Bi' 'Keyu Chen' 'Jiawei Xu' 'Qian Niu' 'Junyu Liu' 'Benji Peng' 'Ming Li' 'Sen Zhang' 'Xiaoyong Pan' 'Jinlang Wang' 'Pohsun Feng' 'Caitlyn Heqi Yin' 'Yizhu Wen' 'Ming Liu'] | III | Advancing Your Skills | | 9 | | --- | --- | --- | --- | | 1 |…
Stefan Richthofer
—Jython is a Java based Python implementation and the most seamless way to integrate Python and Java. However, it does not support native extensions written for CPython like NumPy or SciPy. Since most scientific Python code fundamentally depends on exactly such native extensions directly or indirectly, it usually…
Berk Ekmekci, Charles E. McAnany, Cameron Mura
Computing has revolutionized the biological sciences over the past several decades, such that virtually all contemporary research in molecular biology, biochemistry, and other biosciences utilizes computer programs. The computational advances have come on many fronts, spurred by fundamental developments in hardware…
Edd Barrett, Carl Friedrich Bolz, Lukas Diekmann, Laurence Tratt
Although run-time language composition is common, it normally takes the form of a crude Foreign Function Interface (FFI). While useful, such compositions tend to be coarse-grained and slow. In this paper we introduce a novel fine-grained syntactic composition of PHP and Python which allows users to embed each language…
Chen Zhang, Lecheng Jia, Wei Zhang, Wen Ning
Pipeline Integration Authors: ['Chen Zhang' 'Lecheng Jia' 'Wei Zhang' 'Wen Ning'] As the preferred programming language for artificial intelligence (AI), Python has gained immense popularity due to its versatile syntax, flexibility of multiple programming paradigms, as well as the robust community support. This…