purem 2.1.0__py3-none-any.whl → 2.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- purem/env_config.py +1 -1
- {purem-2.1.0.dist-info → purem-2.1.2.dist-info}/METADATA +13 -30
- {purem-2.1.0.dist-info → purem-2.1.2.dist-info}/RECORD +6 -6
- {purem-2.1.0.dist-info → purem-2.1.2.dist-info}/WHEEL +1 -1
- {purem-2.1.0.dist-info → purem-2.1.2.dist-info}/licenses/LICENSE +0 -0
- {purem-2.1.0.dist-info → purem-2.1.2.dist-info}/top_level.txt +0 -0
purem/env_config.py
CHANGED
@@ -38,7 +38,7 @@ class EnvConfig(BaseModel):
|
|
38
38
|
PUREM_CONFIG_URL: Optional[str] = Field(
|
39
39
|
..., description="Purem Instance Binary Config URL."
|
40
40
|
)
|
41
|
-
PUREM_VERBOSE: bool = Field(default="
|
41
|
+
PUREM_VERBOSE: bool = Field(default="none", description="Verbose Purem Mode.")
|
42
42
|
DEBUG: bool = Field(default=False, description="Debug Mode.")
|
43
43
|
|
44
44
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: purem
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.2
|
4
4
|
Summary: High-performance mapping function for mixed-type arrays
|
5
5
|
Author-email: Raman Marozau <raman@worktif.com>
|
6
6
|
License-Expression: BUSL-1.1
|
7
|
-
Project-URL: Homepage, https://github.com/
|
7
|
+
Project-URL: Homepage, https://github.com/worktif/purem
|
8
8
|
Project-URL: Documentation, https://worktif.com/docs/basic-usage
|
9
9
|
Keywords: mapping,performance,numpy,arrays
|
10
10
|
Classifier: Programming Language :: Python
|
@@ -55,7 +55,7 @@ Key Features
|
|
55
55
|
------------
|
56
56
|
|
57
57
|
Purem is a blazing-fast AI math engine that turns your Python formulas into native-speed vectorized execution.
|
58
|
-
Achieve up to
|
58
|
+
Achieve up to 429× faster performance on CPU/GPU/TPU – no rewrites, no dependencies, just speed.
|
59
59
|
Designed for ML researchers, scientific computing, and production-grade workloads that can’t afford to wait.
|
60
60
|
|
61
61
|
---
|
@@ -81,39 +81,20 @@ Setup takes less than a minute – we’re ready when you are: https://worktif.c
|
|
81
81
|
|
82
82
|
purem.configure(license_key='your-license-key') # Auto-downloads and configures backend
|
83
83
|
|
84
|
-
Alternatively, if you already have the backend ``.so`` file::
|
85
|
-
|
86
|
-
from purem import purem
|
87
|
-
|
88
|
-
purem.softmax([...]) # Initialized from local ./lib/libpurem.so
|
89
|
-
|
90
|
-
---
|
91
|
-
|
92
|
-
📁 Local Library Structure
|
93
|
-
---------------------------
|
94
|
-
|
95
|
-
If the backend ``.so`` is already downloaded manually, place it here::
|
96
|
-
|
97
|
-
your_project/
|
98
|
-
├── main.py
|
99
|
-
├── lib/
|
100
|
-
│ └── libpurem.so
|
101
|
-
|
102
84
|
---
|
103
85
|
|
104
86
|
🔐 License-Based Activation
|
105
87
|
----------------------------
|
106
88
|
|
107
|
-
|
89
|
+
The system will download the licensed native Purem engine:
|
108
90
|
|
109
91
|
1. Call ``purem.configure(license_key='<your-license-key>')``
|
110
|
-
2. The system will download the
|
92
|
+
2. The system will download the native Purem engine
|
111
93
|
3. All functions will become available instantly after initialization
|
112
94
|
|
113
95
|
Without a valid license key:
|
114
96
|
|
115
|
-
- No
|
116
|
-
- The library won't work unless you provide the ``.so`` manually
|
97
|
+
- No native Purem engine will be downloaded
|
117
98
|
|
118
99
|
---
|
119
100
|
|
@@ -124,6 +105,9 @@ After initialization, you can call::
|
|
124
105
|
|
125
106
|
from purem import purem
|
126
107
|
|
108
|
+
# Transforms a list of numbers into a probability distribution.
|
109
|
+
# Each output value is between 0 and 1, and all outputs sum to 1.
|
110
|
+
# Commonly used in classification tasks to interpret scores as probabilities.
|
127
111
|
purem.softmax([...])
|
128
112
|
...
|
129
113
|
|
@@ -134,10 +118,9 @@ Full function list: https://worktif.com/docs/basic-usage
|
|
134
118
|
📦 Packaging Notes
|
135
119
|
-------------------
|
136
120
|
|
137
|
-
This package does **not** bundle the
|
121
|
+
This package does **not** bundle the native Purem engine. You are required to:
|
138
122
|
|
139
123
|
- Use a license key to download it dynamically
|
140
|
-
- Alternatively, place it manually into ``./lib/`` folder before calling ``init()``
|
141
124
|
|
142
125
|
---
|
143
126
|
|
@@ -155,11 +138,10 @@ Visit the Benchmark Tutorial: https://worktif.com/#benchmarks
|
|
155
138
|
📧 Distribution and Licensing
|
156
139
|
------------------------------
|
157
140
|
|
158
|
-
|
159
|
-
All users must
|
141
|
+
The native Purem engine is distributed exclusively through license-based activation.
|
142
|
+
All users must:
|
160
143
|
|
161
144
|
- Use their license key to install
|
162
|
-
- Or receive ``.so`` file from verified sources
|
163
145
|
|
164
146
|
For access, contact us or visit: https://worktif.com/documents/terms-of-service
|
165
147
|
|
@@ -170,6 +152,7 @@ For access, contact us or visit: https://worktif.com/documents/terms-of-service
|
|
170
152
|
|
171
153
|
.. code-block:: python
|
172
154
|
|
155
|
+
# Import required modules
|
173
156
|
import numpy as np
|
174
157
|
from purem import purem
|
175
158
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
purem/__init__.py,sha256=-npGtjgo4iHpJHW1DabIA7aUXPDGzgDw8jClOVAg35I,142
|
2
2
|
purem/core.py,sha256=53S0D8TfzVl0TTm1Elf_zQRYFyTbZ3VlhdrpnVVNxEs,10036
|
3
|
-
purem/env_config.py,sha256=
|
3
|
+
purem/env_config.py,sha256=eWW1bqnDbo-nVYg-m4txk2PBoDmHm4Ch6-OkkoNOFFQ,2671
|
4
4
|
purem/file_structure.py,sha256=8PRP9uk6PApOHwKF5Pfyg7CbZfgqTVwzV4NrYLJkTjY,3341
|
5
5
|
purem/loader.py,sha256=F-4dFzBtmxnB8r4Y620WJhJ6-yAiBjmvZYCi8Z1ykkU,1274
|
6
6
|
purem/logger.py,sha256=bs7jtx1cHmyuM6Irdcq60gTMURCai2pi5MIUB3TQcSQ,1243
|
7
7
|
purem/utils.py,sha256=Kv0DPvt8SpSfKp4ar03ZP26Aj60dxW5Gf8B9FKKUrDc,927
|
8
|
-
purem-2.1.
|
9
|
-
purem-2.1.
|
10
|
-
purem-2.1.
|
11
|
-
purem-2.1.
|
12
|
-
purem-2.1.
|
8
|
+
purem-2.1.2.dist-info/licenses/LICENSE,sha256=btmdQkvGxH-SryIGO_D4TpIzD7dZ8Y6z9M33WxCb1rI,1633
|
9
|
+
purem-2.1.2.dist-info/METADATA,sha256=Wm9naDfgJskgPeDsoruqLFdOMo0utXZQ_wPvbmdJqF0,5116
|
10
|
+
purem-2.1.2.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
11
|
+
purem-2.1.2.dist-info/top_level.txt,sha256=EjS75KEpZUEKSV2TFGW6w5aLqY9nUyO6Gq2ATz-KeZM,6
|
12
|
+
purem-2.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|