Python Mimetic Operators Library Enhanced
Project description
PyMOLE
Python implementation of MOLE (Mimetic Operators Library Enhanced)
Description
PyMOLE is a Python implementation of the SDSU's MOLE library, providing mimetic operators for numerical calculations. It offers both pure Python and C++ implementations, allowing users to choose between ease of installation and maximum performance.
Installation
Basic installation (Python-only):
pip install pymole
Full installation (with C++ backend):
pip install pymole[cpp]
Usage
import pymole
import numpy as np
# Create a gradient operator (uses Python backend by default)
grad = pymole.create_gradient(100, 0.1)
# Switch to C++ backend for performance
pymole.use_backend('cpp')
grad = pymole.create_gradient(100, 0.1)
# Apply operator
x = np.random.rand(100)
result = grad @ x
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Acknowledgments
Based on the original MOLE library:
- Repository: https://github.com/csrc-sdsu/mole
- License: GPL-3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymole-0.1.0a0.tar.gz.
File metadata
- Download URL: pymole-0.1.0a0.tar.gz
- Upload date:
- Size: 45.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b30f2b293fc3876c9521a65a96e27fe09e2acdf4b983778e1849c730f9e17d0b
|
|
| MD5 |
6530e56df067de8a9de77ea7c2837777
|
|
| BLAKE2b-256 |
6f10c20515c909e68666e316dad30b60e5a6967c140b4167a29d7b135b901999
|
File details
Details for the file pymole-0.1.0a0-py3-none-any.whl.
File metadata
- Download URL: pymole-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 33.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e0c300a6803a4c2c01c3b941c2421af1ac0712e46bbde9f499b488dad54b957
|
|
| MD5 |
44fe1192f5547bf68f9b3e3c04758117
|
|
| BLAKE2b-256 |
f79c97698e007f3854b4bf2241d04ae0291c016ff8a9e7f0bdb6444952cf16bd
|