Metadata-Version: 2.4
Name: matlab-restfcnservice-client
Version: 26.2.3
Summary: A package to invoke MATLAB functions, from Python over HTTPS
Author: The MathWorks, Inc.
License: Copyright (c) 2024, The MathWorks, Inc.
        All rights reserved.
        Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
        1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
        2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
        3. In all cases, the software is, and all modifications and derivatives of the software shall be, licensed to you solely for use in conjunction with MathWorks products and service offerings. 
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Project-URL: Homepage, https://www.mathworks.com/
Classifier: Programming Language :: Python
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
License-File: protobuf3.rights
Requires-Dist: requests<3,>=2.32.5
Dynamic: license-file

# Python Client for MATLAB REST Function Service

The Python® Client for MATLAB® REST Function Service provides a package to call into MATLAB functions from Python over HTTPS. 

---
## Requirements
<!-- updated each release -->
* MATLAB R2026b Prerelease

For supported  Python version information, see [Versions of Python Compatible with MATLAB Products by Release](https://www.mathworks.com/support/requirements/python-compatibility.html).

---

## Install

The Python Client for MATLAB REST Function Service can be installed directly from the Python Package Index.

```bash
$ python -m pip install matlab-restfcnservice-client
```

---

## Getting Started

```python
>>> import matlab
>>> from matlab.rest_function_service.client import MWHttpClient
>>> client = MWHttpClient(
        ...     base_url="https://localhost:9920/feval/v1",
        ...     rest_personal_access_token="my_token",
        ...     certificate="/path/to/cert.pem",
        ...     timeout_sec=120
        ... )
>>> result = client.my_service.my_function(arg1, arg2)
```

See [documentation](https://www.mathworks.com/help/releases/R2026b/matlab/matlab_external/call-matlab-functions-from-python-using-rest-services.html) for more examples and getting started.

---

## Support
For technical issues or enhancement requests, contact MathWorks tech support [here](https://www.mathworks.com/support/contact_us.html).

---

Copyright © 2026 MathWorks, Inc. All rights reserved.

"Python" and the Python logos are trademarks or registered trademarks of the Python Software Foundation, used by MathWorks with permission from the Foundation.
