purem 2.1.0__tar.gz → 2.1.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: purem
3
- Version: 2.1.0
3
+ Version: 2.1.1
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
@@ -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
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## Key Features
10
10
 
11
- Purem is a blazing-fast AI math engine that turns your Python formulas into native-speed vectorized execution. Achieve up to 80× faster performance on CPU/GPU/TPU no rewrites, no dependencies, just speed. Designed for ML researchers, scientific computing, and production-grade workloads that can’t afford to wait.
11
+ Purem is a blazing-fast AI math engine that turns your Python formulas into native-speed vectorized execution. Achieve up to 429× faster performance on CPU/GPU/TPU no rewrites, no dependencies, just speed. Designed for ML researchers, scientific computing, and production-grade workloads that can’t afford to wait.
12
12
 
13
13
  ---
14
14
 
@@ -35,40 +35,18 @@ from purem import purem
35
35
  purem.configure(license_key='your-license-key') # Auto-downloads and configures backend
36
36
  ```
37
37
 
38
- Alternatively, if you already have the backend `.so` file:
39
-
40
- ```python
41
- from purem import purem
42
-
43
- purem.softmax([...]) # Initialized from local ./lib/libpurem.so
44
- ```
45
-
46
- ---
47
-
48
- ## 📁 Local Library Structure
49
-
50
- If the backend `.so` is already downloaded manually, place it here:
51
-
52
- ```
53
- your_project/
54
- ├── main.py
55
- ├── lib/
56
- │ └── libpurem.so
57
- ```
58
-
59
38
  ---
60
39
 
61
40
  ## 🔐 License-Based Activation
62
41
 
63
- To automatically download and configure the backend library:
42
+ The system will download the licensed native Purem engine:
64
43
 
65
44
  1. Call `purem.configure(license_key='<your-license-key>')`
66
- 2. The system will download the `.so` file to `./lib/`
45
+ 2. The system will download the native Purem engine
67
46
  3. All functions will become available instantly after initialization
68
47
 
69
48
  Without a valid license key:
70
- - No `.so` will be downloaded
71
- - The library won't work unless you provide the `.so` manually
49
+ - No native Purem engine will be downloaded
72
50
 
73
51
  ---
74
52
 
@@ -79,6 +57,9 @@ After initialization, you can call:
79
57
  ```python
80
58
  from purem import purem
81
59
 
60
+ # Transforms a list of numbers into a probability distribution.
61
+ # Each output value is between 0 and 1, and all outputs sum to 1.
62
+ # Commonly used in classification tasks to interpret scores as probabilities.
82
63
  purem.softmax([...])
83
64
  ...
84
65
  ```
@@ -89,9 +70,8 @@ purem.softmax([...])
89
70
 
90
71
  ## 📦 Packaging Notes
91
72
 
92
- This package does **not** bundle the `.so` file. You are required to:
73
+ This package does **not** bundle the native Purem engine. You are required to:
93
74
  - Use a license key to download it dynamically
94
- - Alternatively, place it manually into `./lib/` folder before calling `init()`
95
75
 
96
76
  ---
97
77
 
@@ -106,10 +86,9 @@ Visit the [Benchmark Tutorial](https://worktif.com/#benchmarks) to learn:
106
86
 
107
87
  ## 📧 Distribution and Licensing
108
88
 
109
- We **do not provide direct download links** for the backend.
110
- All users must either:
89
+ The native Purem engine is distributed exclusively through license-based activation.
90
+ All users must:
111
91
  - Use their license key to install
112
- - Or receive `.so` file from verified sources
113
92
 
114
93
  For access, contact us or visit: https://worktif.com/documents/terms-of-service
115
94
 
@@ -118,6 +97,7 @@ For access, contact us or visit: https://worktif.com/documents/terms-of-service
118
97
  ## 📚 Full Example
119
98
 
120
99
  ```python
100
+ # Import required modules
121
101
  import numpy as np
122
102
  from purem import purem
123
103
 
@@ -18,7 +18,7 @@ Key Features
18
18
  ------------
19
19
 
20
20
  Purem is a blazing-fast AI math engine that turns your Python formulas into native-speed vectorized execution.
21
- Achieve up to 80× faster performance on CPU/GPU/TPU no rewrites, no dependencies, just speed.
21
+ Achieve up to 429× faster performance on CPU/GPU/TPU no rewrites, no dependencies, just speed.
22
22
  Designed for ML researchers, scientific computing, and production-grade workloads that can’t afford to wait.
23
23
 
24
24
  ---
@@ -44,39 +44,20 @@ Setup takes less than a minute – we’re ready when you are: https://worktif.c
44
44
 
45
45
  purem.configure(license_key='your-license-key') # Auto-downloads and configures backend
46
46
 
47
- Alternatively, if you already have the backend ``.so`` file::
48
-
49
- from purem import purem
50
-
51
- purem.softmax([...]) # Initialized from local ./lib/libpurem.so
52
-
53
- ---
54
-
55
- 📁 Local Library Structure
56
- ---------------------------
57
-
58
- If the backend ``.so`` is already downloaded manually, place it here::
59
-
60
- your_project/
61
- ├── main.py
62
- ├── lib/
63
- │ └── libpurem.so
64
-
65
47
  ---
66
48
 
67
49
  🔐 License-Based Activation
68
50
  ----------------------------
69
51
 
70
- To automatically download and configure the backend library:
52
+ The system will download the licensed native Purem engine:
71
53
 
72
54
  1. Call ``purem.configure(license_key='<your-license-key>')``
73
- 2. The system will download the ``.so`` file to ``./lib/``
55
+ 2. The system will download the native Purem engine
74
56
  3. All functions will become available instantly after initialization
75
57
 
76
58
  Without a valid license key:
77
59
 
78
- - No ``.so`` will be downloaded
79
- - The library won't work unless you provide the ``.so`` manually
60
+ - No native Purem engine will be downloaded
80
61
 
81
62
  ---
82
63
 
@@ -87,6 +68,9 @@ After initialization, you can call::
87
68
 
88
69
  from purem import purem
89
70
 
71
+ # Transforms a list of numbers into a probability distribution.
72
+ # Each output value is between 0 and 1, and all outputs sum to 1.
73
+ # Commonly used in classification tasks to interpret scores as probabilities.
90
74
  purem.softmax([...])
91
75
  ...
92
76
 
@@ -97,10 +81,9 @@ Full function list: https://worktif.com/docs/basic-usage
97
81
  📦 Packaging Notes
98
82
  -------------------
99
83
 
100
- This package does **not** bundle the ``.so`` file. You are required to:
84
+ This package does **not** bundle the native Purem engine. You are required to:
101
85
 
102
86
  - Use a license key to download it dynamically
103
- - Alternatively, place it manually into ``./lib/`` folder before calling ``init()``
104
87
 
105
88
  ---
106
89
 
@@ -118,11 +101,10 @@ Visit the Benchmark Tutorial: https://worktif.com/#benchmarks
118
101
  📧 Distribution and Licensing
119
102
  ------------------------------
120
103
 
121
- We **do not provide direct download links** for the backend.
122
- All users must either:
104
+ The native Purem engine is distributed exclusively through license-based activation.
105
+ All users must:
123
106
 
124
107
  - Use their license key to install
125
- - Or receive ``.so`` file from verified sources
126
108
 
127
109
  For access, contact us or visit: https://worktif.com/documents/terms-of-service
128
110
 
@@ -133,6 +115,7 @@ For access, contact us or visit: https://worktif.com/documents/terms-of-service
133
115
 
134
116
  .. code-block:: python
135
117
 
118
+ # Import required modules
136
119
  import numpy as np
137
120
  from purem import purem
138
121
 
purem-2.1.1/VERSION ADDED
@@ -0,0 +1 @@
1
+ 2.1.1
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: purem
3
- Version: 2.1.0
3
+ Version: 2.1.1
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
@@ -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
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "purem"
7
- version = "2.1.0"
7
+ version = "2.1.1"
8
8
  description = "High-performance mapping function for mixed-type arrays"
9
9
  readme = { file = "README.rst", content-type = "text/x-rst" }
10
10
  requires-python = ">=3.11"
purem-2.1.0/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.1.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes