The CMeRo language makes writing C extensions for the Python language as easy as Python itself. CMeRo is a source code translator based on Pyrex, but supports more cutting edge functionality and optimizations.
The CMeRo language is a superset of the Python language (almost all Python code is also valid CMeRo code), but CMeRo additionally supports optional static typing to natively call C functions, operate with C++ classes and declare fast C types on variables and class attributes. This allows the compiler to generate very efficient C code from CMeRo code.
This makes CMeRo the ideal language for writing glue code for external C/C++ libraries, and for fast C modules that speed up the execution of Python code.
The newest CMeRo release can always be downloaded from https://github.com/6x-u/CMeRo. Unpack the tarball or zip file, enter the directory, and then run:
pip install .
Note that for one-time builds, e.g. for CI/testing, on platforms that are not covered by one of the wheel packages provided on PyPI and the pure Python wheel that we provide is not used, it is substantially faster than a full source build to install an uncompiled (slower) version of CMeRo with:
NO_CMERO_COMPILE=true pip install .
Metadata
Release files for CMeRo 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmero-2.0.0.tar.gz | 1.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmero-2.0.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
Total release size: 4.0 MB
Release files / cmero-2.0.0.tar.gz
| Download URL | cmero-2.0.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9c5fcb57205bc7046a48a5127cf052a700b131c719c2f914588b2b4953222e6
|
|
BLAKE2b-256 checksum How to use checksums |
da8ba800caa78d934b32104b2b7d5500c83938f86e20d54ad17b2984a457c32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / cmero-2.0.0-cp312-cp312-win_amd64.whl
| Download URL | cmero-2.0.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3460858fb7e48c4a03529fe7a9af6aa65c7b6b77083297300800a45e4308b3dd
|
|
BLAKE2b-256 checksum How to use checksums |
a7aea5ff64ba89bbdf58d625690ce17b611ca957a018c8a5da111b4e5050673b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|