Loopy lets you easily generate the tedious, complicated code that is necessary to get good performance out of GPUs and multi-core CPUs. Loopy’s core idea is that a computation should be described simply and then transformed into a version that gets high performance. This transformation takes place under user control, from within Python.
It can capture the following types of optimizations:
Vector and multi-core parallelism in the OpenCL/CUDA model
Data layout transformations (structure of arrays to array of structures)
Loop unrolling
Loop tiling with efficient handling of boundary cases
Prefetching/copy optimizations
Instruction level parallelism
and many more!
Loopy targets array-type computations, such as the following:
dense linear algebra,
convolutions,
n-body interactions,
PDE solvers, such as finite element, finite difference, and Fast-Multipole-type computations.
It is not (and does not want to be) a general-purpose programming language.
Loopy is licensed under the liberal MIT license and free for commercial, academic, and private use. All of Loopy’s dependencies can be automatically installed from the package index after using:
pip install loopy
In addition, Loopy is compatible with and enhances pyopencl.
—
Places on the web related to Loopy:
Python Package Index (download releases)
Documentation (read how things work)
Github (get latest source code, file bugs)
Metadata
Release files for loopy 2025.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| loopy-2025.2.tar.gz | 624.7 kB | Without provenance | Details for loopy-2025.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loopy-2025.2-py3-none-any.whl | Python 3 | none | any | Details for loopy-2025.2-py3-none-any.whl |
Total release size: 1.2 MB
Release files / loopy-2025.2.tar.gz
| Download URL | loopy-2025.2.tar.gz |
|---|---|
| Size | 624.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bbeebf3a9e37a589a92ac4434d9e60d1382529ff2d4a07a209b1ff51fdd9830
|
|
BLAKE2b-256 checksum How to use checksums |
05ed1b455d2fa2fd2c014f3533ca7b8bcbb387cc0679f2d145ac1666e4d40a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / loopy-2025.2-py3-none-any.whl
| Download URL | loopy-2025.2-py3-none-any.whl |
|---|---|
| Size | 552.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a337be5ae09c56df5a7d09f24df20fa780c2e6daa25deb5d18f317cbdd54033
|
|
BLAKE2b-256 checksum How to use checksums |
d0efd2686194757335314db5c0b1d708902baac9d6e275479121a720fc5af3a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for loopy 2025.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.