Install & Compatibility
Where this runs
tested against v0.9.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 231.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.6s · import 0.000s · 223MB
231MB installed
● package 231MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Param
✓ from paramz import Param
Correct import for the main parameter class; note that paramz is not namespaced.
ParamArray
✓ from paramz import ParamArray
✗ from paramz.core import ParamArray
ParamArray is directly exposed in the top-level package, not in core.
Model
✓ from paramz import Model
✗ from paramz.model import Model
Model is a top-level class, not a submodule.
Create a model with a parameter and display its values.
from paramz import Param, Model
import numpy as np
class MyModel(Model):
def __init__(self):
super().__init__()
self.param = Param('x', np.array([1.0, 2.0]))
m = MyModel()
print(m)
print(m.param.values)
Upgrade
Version history
0.9.6latest on PyPI · released Jan 12, 2024
Audit
Dependencies
No dependency data recorded yet.