Skip to main content

No project description provided

Project description

Pyccel : write Python code, get Fortran speed

Linux unit tests MacOSX unit tests Windows unit tests Anaconda-Linux Anaconda-Windows Intel unit tests codacy DOI

Pyccel stands for Python extension language using accelerators.

The aim of Pyccel is to provide a simple way to generate automatically, parallel low level code. The main uses would be:

  1. Convert a Python code (or project) into a Fortran or C code.
  2. Accelerate Python functions by converting them to Fortran or C functions.

Pyccel can be viewed as:

  • Python-to-Fortran/C converter
  • a compiler for a Domain Specific Language with Python syntax

Pyccel comes with a selection of extensions allowing you to convert calls to some specific Python packages to Fortran/C. The following packages will be (partially) covered:

  • numpy
  • scipy

Pyccel's acceleration capabilities lead to much faster code. Comparisons of Python vs Pyccel or other tools can be found in the benchmarks repository. The results for the devel branch currently show the following performance on Python 3.10: Pyccel execution times for devel branch

If you are eager to try Pyccel out, we recommend reading our quick-start guide.

Citing Pyccel

If Pyccel has been significant in your research, and you would like to acknowledge the project in your academic publication, we would ask that you cite the following paper:

Bourne, Güçlü, Hadjout and Ratnani (2023). Pyccel: a Python-to-X transpiler for scientific high-performance computing. Journal of Open Source Software, 8(83), 4991, https://doi.org/10.21105/joss.04991

The associated bibtex can be found here.

Installation

Pyccel has a few system requirements to ensure that the system where it is installed is capable of compiling Fortran code. These requirements are detailed in the documentation. Once all requirements are satisfied, the simplest way to install Pyccel is using PyPI. Simply run:

python3 -m pip install --user pyccel

Alternative installation methods such as installing from source, or installing with a docker are described in the documentation.

Contributing

We welcome any and all contributions.

There are many ways to help with the Pyccel project which are more or less involved. A summary can be found in the documentation.

We can also be contacted via the Pyccel Discord Server.

User Documentation

Developer Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyccel-1.11.2.tar.gz (653.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyccel-1.11.2-py3-none-any.whl (501.7 kB view details)

Uploaded Python 3

File details

Details for the file pyccel-1.11.2.tar.gz.

File metadata

  • Download URL: pyccel-1.11.2.tar.gz
  • Upload date:
  • Size: 653.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pyccel-1.11.2.tar.gz
Algorithm Hash digest
SHA256 0582723f5f7d632ca5c2892248d31dde735f0bde6778721457c91671288f2a61
MD5 99a73e7437efcab6c2c16ad4b70fb2d6
BLAKE2b-256 fceb4578c2f6e7a2962d948fb82cb5535c2aff446536e53108cefc2f45a3cb5a

See more details on using hashes here.

File details

Details for the file pyccel-1.11.2-py3-none-any.whl.

File metadata

  • Download URL: pyccel-1.11.2-py3-none-any.whl
  • Upload date:
  • Size: 501.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pyccel-1.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c7e9c33c560f475aac30d36e7cc4ed656ed744ccb9ac4b269af03b2a03f943
MD5 2c861e2a3eb745ea081b49a716f914e2
BLAKE2b-256 f516c120647494c3a73c925fc475eafa90bf5d5bf0c87aa9741217ab33b7d90d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page