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 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="1", description="Verbose Purem Mode.")
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.0
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/morozow/purem
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 80× faster performance on CPU/GPU/TPU no rewrites, no dependencies, just speed.
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
- To automatically download and configure the backend library:
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 ``.so`` file to ``./lib/``
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 ``.so`` will be downloaded
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 ``.so`` file. You are required to:
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
- We **do not provide direct download links** for the backend.
159
- All users must either:
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=J5J_zSRzPYUCSUPZGd8m6dz6AmShgG9e0s7ll0BZL4Q,2668
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.0.dist-info/licenses/LICENSE,sha256=btmdQkvGxH-SryIGO_D4TpIzD7dZ8Y6z9M33WxCb1rI,1633
9
- purem-2.1.0.dist-info/METADATA,sha256=Ppf1aPNuvJqxBS1obXUfC6WJQoYMGaomg2nZagvKgd0,5424
10
- purem-2.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
- purem-2.1.0.dist-info/top_level.txt,sha256=EjS75KEpZUEKSV2TFGW6w5aLqY9nUyO6Gq2ATz-KeZM,6
12
- purem-2.1.0.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (78.1.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5