libpymcr
libpymcr is a Python module for loading a compiled Matlab ctf archive and running functions within it in Python.
Whilst there is an official Mathworks binding for Python, libpymcr provides a few benefits over the official package:
- It is compatible with versions of Python not supported by Matlab (e.g. 3.10, 3.11, 3.12). Moreover, the supported Python versions are not locked to the Matlab versions, unlike with the official packages.
- When converting data between Matlab and Python it avoids data copies where ever possible by wrapping the underlying arrays
in the target type (
numpyor MatlabmxArray). In the official bindings, a data copy is required when converting data from Python to Matlab (inputs to functions). - It provides a simpler syntax, and if you include the provided
call.mandcall_python.mexfiles in your compiled package, you will also be able to access Matlab objects transparently in Python, and pass Python callables to Matlab to evaluate (e.g. in a fitting routine).
Getting started
You can install the package using:
pip install libpymcr
You must create a compiled Matlab archive (ctf file) of your program using the
Matlab Compiler SDK toolbox,
using the mcc command:
mcc -W CTF:your_program_name -U mfile1 mfile2 mfile3
Then in Python, you can load this and call the Matlab functions with:
import libpymcr
m = libpymcr.Matlab('your_program_name.ctf')
m.mfile1()
The functions, mfile1, mfile2 etc. are exposed to Python can can be called as methods of the Matlab() object.
Metadata
Release files for libpymcr 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 5.8 MB
Release files / libpymcr-0.2.1-cp313-cp313-win_amd64.whl
| Download URL | libpymcr-0.2.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 234.6 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b1fb8ca475e82880b7ed89edbcca3436ec719b653c0c4eca95a27274a0b50325
|
|
BLAKE2b-256 checksum How to use checksums |
7383f278780bd0a6b388f100933534898ca4d2b78a0bf2ef52e1b664354cd87d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libpymcr-0.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 278.1 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
184a901f1362101886c806488439ec23cd84ac129a69072f61d36ee6157c58fe
|
|
BLAKE2b-256 checksum How to use checksums |
6276527636bfb1586bfde12a6539a0f9d96a8a9c4f29031af9764ec24324eca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | libpymcr-0.2.1-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 213.7 kB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4c37cb5b555b0caa943e08b68fdb93aca199acecdc93394a86a0aa7d5ef0c261
|
|
BLAKE2b-256 checksum How to use checksums |
415e2abea3ed2eca0ab74e45ad7caae8cc52dde052dbed2f6879902a52dda84e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp313-cp313-macosx_11_0_x86_64.whl
| Download URL | libpymcr-0.2.1-cp313-cp313-macosx_11_0_x86_64.whl |
|---|---|
| Size | 236.3 kB |
| Tags | CPython 3.13 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
d3a1e49cb67729e9a4fc5aa15a2282375881ef606b2fbdccb2c00b5d38671154
|
|
BLAKE2b-256 checksum How to use checksums |
e16e3f1d8d54b245b43ac62839b318147b09fab8132e776ece7aabcc4cca18ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp312-cp312-win_amd64.whl
| Download URL | libpymcr-0.2.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 234.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dd9fcab25d544551b68af8c8d07e2cc748d9edbf261f0fa2a73cf8109aa50ebd
|
|
BLAKE2b-256 checksum How to use checksums |
3fd1a8a427978871e0ff0559e772c52cc181bfc5e7e31d0c0b559e5aa7468ef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libpymcr-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 278.1 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c3cd27a9782131e0c7d7898fc99ec9f86765b22331f5ad42b7f3ea05bc2f15f9
|
|
BLAKE2b-256 checksum How to use checksums |
5b33b76df24a2b5902476652f3319d151262383508e52b0d4b0457344543af32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | libpymcr-0.2.1-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 213.7 kB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8dfe18811f9a075ca5e3aa0b468415f15c277e84bcaa4d10b7b9fa15d9909689
|
|
BLAKE2b-256 checksum How to use checksums |
85fd450aec80098e48d5e113e6887f1b2f227c57dc8c030630a258749b969703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | libpymcr-0.2.1-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 236.2 kB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
345dae9dd494c3ef43ba30fdcd308e2d1f1bb001e1d90883ce7bdc5ce3a5c4bb
|
|
BLAKE2b-256 checksum How to use checksums |
4bbf7ee4895dbde82a6e1ae4320b75015f122544541302866cc52cd03e0ea2cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp311-cp311-win_amd64.whl
| Download URL | libpymcr-0.2.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 234.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6cd2c909d4c5c139664e6d0b6f3cf7085c92ef638b5b6a33213878659bd7256d
|
|
BLAKE2b-256 checksum How to use checksums |
a9fe591dd6348af2febb6c3832ea090a9e19c7a7f51ec021b1747ce604fcaa4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libpymcr-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 279.8 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f4544a1a4aaa1b67edfddf5b2dd73b1abb413088407879558c9fc6cb097aa21
|
|
BLAKE2b-256 checksum How to use checksums |
b9af72ff6c3c281cfdd999d002d201caf5137086347d906e623fe811d3ae543b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp311-cp311-macosx_14_0_arm64.whl
| Download URL | libpymcr-0.2.1-cp311-cp311-macosx_14_0_arm64.whl |
|---|---|
| Size | 214.2 kB |
| Tags | CPython 3.11 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
244e4e742b887e310e55f92c14ef2d1e0d716ff3f3d7b5a8f607b046fde36b47
|
|
BLAKE2b-256 checksum How to use checksums |
541c7ab3882a4ff675553dfb3773dc386cd434a316c090a497a9b9934560f1d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp311-cp311-macosx_11_0_x86_64.whl
| Download URL | libpymcr-0.2.1-cp311-cp311-macosx_11_0_x86_64.whl |
|---|---|
| Size | 237.0 kB |
| Tags | CPython 3.11 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
f80824c156aa184730f80fa33c62fcc644c80e4e64525b2a2553c200dde80462
|
|
BLAKE2b-256 checksum How to use checksums |
76d2010bcf9cd9af3fe03311c98b9ea21ca53c0ad1f5e0e80df811bc1800ffa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp310-cp310-win_amd64.whl
| Download URL | libpymcr-0.2.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 233.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d2c9c07c3f14e13e5bf80f29fc48af187ed65bdf2382a843dedff0416f239370
|
|
BLAKE2b-256 checksum How to use checksums |
f05549bbbe5f5d8f293843659e10ad8e385bca2a2b92f82ba56206e58ad1ae78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libpymcr-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 277.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2571a02039c7d1aa203f5598f10a9234fc57ad9e5c2e29e34aba034722d79cc4
|
|
BLAKE2b-256 checksum How to use checksums |
187f21ac49536028d39632799d8f5c4ba5458c366d87bb0dd2643f2776906f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp310-cp310-macosx_14_0_arm64.whl
| Download URL | libpymcr-0.2.1-cp310-cp310-macosx_14_0_arm64.whl |
|---|---|
| Size | 212.6 kB |
| Tags | CPython 3.10 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9506423a6c30609669b45edb6a83770bf95e1c7e2cc700bf52cc0b081f737d2b
|
|
BLAKE2b-256 checksum How to use checksums |
d922720c09f39b67fd6d84aaa8f849a8f1eeb9795543af0e56fae2c2eeca9a61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp310-cp310-macosx_11_0_x86_64.whl
| Download URL | libpymcr-0.2.1-cp310-cp310-macosx_11_0_x86_64.whl |
|---|---|
| Size | 235.7 kB |
| Tags | CPython 3.10 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c775511682470f192cdb716e2ce494caac19cc497058a871a0ed0e1ab0613ed4
|
|
BLAKE2b-256 checksum How to use checksums |
92152844723228141e8c0e03bc3fb22e9f277611dab7f7883163f1d2b744f826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp39-cp39-win_amd64.whl
| Download URL | libpymcr-0.2.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 233.7 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
44aecf4606ed7b42a82fd0639557f18c95cb787f6d3c5538c53b20ce1aad5a2c
|
|
BLAKE2b-256 checksum How to use checksums |
1cc2725067941833e7d4ec33535aa6d31c3547ea805c70200e98ca43190c4237
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libpymcr-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 278.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1d9849cf7ce95d38885fc541cdf25ef6653290ff65d9362e9f952924d58d8609
|
|
BLAKE2b-256 checksum How to use checksums |
9ccb54d1b21f5d085a9added64d3b55ca2b5275b64fd1c626189173ea32d625e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp39-cp39-macosx_14_0_arm64.whl
| Download URL | libpymcr-0.2.1-cp39-cp39-macosx_14_0_arm64.whl |
|---|---|
| Size | 212.6 kB |
| Tags | CPython 3.9 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b8fb7566749c9c06e154d43e83122e9f52a8281c6fa22b3c88d69f00f8071430
|
|
BLAKE2b-256 checksum How to use checksums |
be46e9322a8b7ee9ad1fd79d16faa83a8103d6ea37f2313133fa1039ee2f071a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp39-cp39-macosx_11_0_x86_64.whl
| Download URL | libpymcr-0.2.1-cp39-cp39-macosx_11_0_x86_64.whl |
|---|---|
| Size | 235.8 kB |
| Tags | CPython 3.9 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
377632222928c38b98d3d124584964b3778134388af24a63c103e3b3d3724d72
|
|
BLAKE2b-256 checksum How to use checksums |
27139ae00310f075524d2bac67fa3934a34b2621d798a4389a93237ebc633e1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp38-cp38-win_amd64.whl
| Download URL | libpymcr-0.2.1-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 233.2 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
384b88ef00d7e62d3ab0a668bb456b93a88e9dc89f13aa563436687f77fcbcd5
|
|
BLAKE2b-256 checksum How to use checksums |
a83ef0b75320cd79e4b507bda475baa8592ef8dea7fb8c16942df572888e684c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libpymcr-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 278.3 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bc8d4ceb34c81d808aaec8e641307edd9a0c05029eaf05ba61ce579d45724a34
|
|
BLAKE2b-256 checksum How to use checksums |
afb622e2ce38c68ebc78c4686410fa7fa2e3180c26c7d2e57c17d78c0fc9e29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp38-cp38-macosx_14_0_arm64.whl
| Download URL | libpymcr-0.2.1-cp38-cp38-macosx_14_0_arm64.whl |
|---|---|
| Size | 212.3 kB |
| Tags | CPython 3.8 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7a4e211d8283c2aafb2326b9eee11c006932e03ea71f98a1cd12f8c518ff9a68
|
|
BLAKE2b-256 checksum How to use checksums |
8b719b4ac731db5dde7b8d7f1de490d1d5f58006a18ee6be0b052b057f6bb081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / libpymcr-0.2.1-cp38-cp38-macosx_11_0_x86_64.whl
| Download URL | libpymcr-0.2.1-cp38-cp38-macosx_11_0_x86_64.whl |
|---|---|
| Size | 235.6 kB |
| Tags | CPython 3.8 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
b2d946e8d4f6f66f042222b5a20c24b4bec2868489367d43aef3c86a560c9f66
|
|
BLAKE2b-256 checksum How to use checksums |
63c86e1200a59d9e456138f07a2b2929f335c4d7f9f93f7b151100a9560ad415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for libpymcr 0.2.1
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.