[SciPy-Dev] Pythran 0.9.3 - Hañv

Serge Guelton serge.guelton at telecom-bretagne.eu
Mon Aug 19 09:13:44 EDT 2019


Hi folks,

I just released version 0.9.3 of the Pythran package,

Short reminder: Pythran is an ahead-of-time compiler for scientific Python,
with a focus on high-level numerical kernels, parallelism and vectorisation.

Here is a simple kernel example, with a pythran annotation. Note that that
kernel is still Python-compatible (from https://stackoverflow.com/questions/57199248/) :

    import numpy as np
    #pythran export col_sum(int[:,:] or float[:,:], int[:])
    def col_sum(data, idx):
        return data.T[idx].sum(0)

The Pythran package is available on PyPI, Github and Conda

    https://pypi.org/project/pythran/
    https://anaconda.org/conda-forge/pythran
    https://github.com/serge-sans-paille/pythran

The interested reader can have a look to the changelog for details

    https://pythran.readthedocs.io/en/latest/Changelog.html

Long story short: bug fixes and better 32bit arch support. Plus (Thanks to Miro
Hrončok), pythran is now available on Fedora \o/

Huge thanks to all contributors and bug reporters:

    Jean Laroche
    Yann Diorcet
    DWesl
    Miro Hrončok
    Piotr Bartmann
    Jochen Schröder
    Sylwester Arabas
    Marti Bosch
    rorroiga
    Pierre Augier
    Anubhab Haldar
    nbecker

    


More information about the SciPy-Dev mailing list