cortexhub 0.1.1__py3-none-any.whl → 0.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortexhub
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: CortexHub Python SDK - Policy-as-Code for AI Agents
5
5
  Project-URL: Homepage, https://cortexhub.ai
6
6
  Project-URL: Documentation, https://docs.cortexhub.ai
@@ -8,6 +8,7 @@ Project-URL: Repository, https://github.com/cortexhub/sdks
8
8
  Project-URL: Issues, https://github.com/cortexhub/sdks/issues
9
9
  Author-email: CortexHub <hello@cortexhub.ai>
10
10
  License: MIT
11
+ License-File: LICENSE
11
12
  Keywords: agents,ai,authorization,cedar,governance,policy
12
13
  Classifier: Development Status :: 4 - Beta
13
14
  Classifier: Intended Audience :: Developers
@@ -107,21 +108,16 @@ from langgraph.prebuilt import create_react_agent
107
108
  ## Configuration
108
109
 
109
110
  ```bash
110
- # Required: API key for telemetry
111
+ # Required: API key
111
112
  export CORTEXHUB_API_KEY=ch_live_...
112
113
 
113
- # Optional: Backend URL (defaults to production)
114
- export CORTEXHUB_API_URL=https://api.cortexhub.ai
115
-
116
- # Optional: provider keys for your framework or examples
117
- export OPENAI_API_KEY=sk-...
118
114
  ```
119
115
 
120
116
  ## Features
121
117
 
122
- - **Policy Enforcement** - Cedar-based policies, local evaluation
123
- - **PII Detection** - Presidio-powered, 50+ entity types, configurable
124
- - **Secrets Detection** - detect-secrets integration, 30+ secret types
118
+ - **Policy Enforcement** - Cloud configuration, local evaluation
119
+ - **PII Detection** - 50+ entity types, configurable
120
+ - **Secrets Detection** - 30+ secret types
125
121
  - **Configurable Guardrails** - Select specific PII/secret types to redact
126
122
  - **Custom Patterns** - Add company-specific regex patterns
127
123
  - **OpenTelemetry** - Industry-standard observability
@@ -183,16 +179,6 @@ The SDK applies your configuration automatically:
183
179
  # Only configured types are redacted
184
180
  ```
185
181
 
186
- ## Examples
187
-
188
- Examples live in the separate `cortexhub-examples` repository (the SDK package
189
- itself does not ship example scripts).
190
-
191
- ```bash
192
- git clone git@github.com:cortexhub/cortexhub-examples.git
193
- cd cortexhub-examples/langgraph # or crewai, openai-agents, claude-agents
194
- ```
195
-
196
182
  ## Important: Initialization Order
197
183
 
198
184
  **Always initialize CortexHub FIRST**, before importing your framework:
@@ -33,6 +33,7 @@ cortexhub/policy/models.py,sha256=81NPX36yru0AZ22Wivytv3uxlwir4VsTN4MZgq4bdiA,38
33
33
  cortexhub/policy/sync.py,sha256=7kAc3rd5WftipR8XKwvU8SwukIoY-0gcGW2fsf-ij_I,5999
34
34
  cortexhub/telemetry/__init__.py,sha256=RSY38hHnYtbRURLoWAhbYYxYMtCItVYZBNN6Bfny8uA,1049
35
35
  cortexhub/telemetry/otel.py,sha256=T2pC-K_S_KmrLvfcd3oHMbEwC5ibGZ-PXTZSY0xJgcQ,16633
36
- cortexhub-0.1.1.dist-info/METADATA,sha256=lul2lIUKl6SQVg_j0JHUsp9ZZXZjfMzgjBdaEt3ry0M,8281
37
- cortexhub-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
- cortexhub-0.1.1.dist-info/RECORD,,
36
+ cortexhub-0.1.3.dist-info/METADATA,sha256=5I-ScFx1nQpwS61_l5G_3kpnyHAUNe_wN1kGaY8B2Uw,7778
37
+ cortexhub-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
+ cortexhub-0.1.3.dist-info/licenses/LICENSE,sha256=R-lPsEVN69q2o19ge2_O9Vt9cJuGM557oEYX3XdnvIk,1066
39
+ cortexhub-0.1.3.dist-info/RECORD,,
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CortexHub
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.