cortexhub 0.1.1__tar.gz → 0.1.3__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.
Files changed (40) hide show
  1. cortexhub-0.1.3/LICENSE +21 -0
  2. {cortexhub-0.1.1 → cortexhub-0.1.3}/PKG-INFO +6 -20
  3. {cortexhub-0.1.1 → cortexhub-0.1.3}/README.md +4 -19
  4. {cortexhub-0.1.1 → cortexhub-0.1.3}/pyproject.toml +3 -1
  5. {cortexhub-0.1.1 → cortexhub-0.1.3}/.gitignore +0 -0
  6. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/__init__.py +0 -0
  7. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/adapters/__init__.py +0 -0
  8. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/adapters/base.py +0 -0
  9. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/adapters/claude_agents.py +0 -0
  10. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/adapters/crewai.py +0 -0
  11. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/adapters/langgraph.py +0 -0
  12. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/adapters/openai_agents.py +0 -0
  13. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/audit/__init__.py +0 -0
  14. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/audit/events.py +0 -0
  15. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/auto_protect.py +0 -0
  16. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/backend/__init__.py +0 -0
  17. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/backend/client.py +0 -0
  18. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/client.py +0 -0
  19. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/config.py +0 -0
  20. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/context/__init__.py +0 -0
  21. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/context/enricher.py +0 -0
  22. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/errors.py +0 -0
  23. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/frameworks.py +0 -0
  24. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/guardrails/__init__.py +0 -0
  25. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/guardrails/injection.py +0 -0
  26. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/guardrails/pii.py +0 -0
  27. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/guardrails/secrets.py +0 -0
  28. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/interceptors/__init__.py +0 -0
  29. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/interceptors/llm.py +0 -0
  30. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/interceptors/mcp.py +0 -0
  31. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/pipeline.py +0 -0
  32. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/policy/__init__.py +0 -0
  33. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/policy/effects.py +0 -0
  34. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/policy/evaluator.py +0 -0
  35. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/policy/loader.py +0 -0
  36. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/policy/models.py +0 -0
  37. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/policy/sync.py +0 -0
  38. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/telemetry/__init__.py +0 -0
  39. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/telemetry/otel.py +0 -0
  40. {cortexhub-0.1.1 → cortexhub-0.1.3}/src/cortexhub/version.py +0 -0
@@ -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.
@@ -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:
@@ -47,21 +47,16 @@ from langgraph.prebuilt import create_react_agent
47
47
  ## Configuration
48
48
 
49
49
  ```bash
50
- # Required: API key for telemetry
50
+ # Required: API key
51
51
  export CORTEXHUB_API_KEY=ch_live_...
52
52
 
53
- # Optional: Backend URL (defaults to production)
54
- export CORTEXHUB_API_URL=https://api.cortexhub.ai
55
-
56
- # Optional: provider keys for your framework or examples
57
- export OPENAI_API_KEY=sk-...
58
53
  ```
59
54
 
60
55
  ## Features
61
56
 
62
- - **Policy Enforcement** - Cedar-based policies, local evaluation
63
- - **PII Detection** - Presidio-powered, 50+ entity types, configurable
64
- - **Secrets Detection** - detect-secrets integration, 30+ secret types
57
+ - **Policy Enforcement** - Cloud configuration, local evaluation
58
+ - **PII Detection** - 50+ entity types, configurable
59
+ - **Secrets Detection** - 30+ secret types
65
60
  - **Configurable Guardrails** - Select specific PII/secret types to redact
66
61
  - **Custom Patterns** - Add company-specific regex patterns
67
62
  - **OpenTelemetry** - Industry-standard observability
@@ -123,16 +118,6 @@ The SDK applies your configuration automatically:
123
118
  # Only configured types are redacted
124
119
  ```
125
120
 
126
- ## Examples
127
-
128
- Examples live in the separate `cortexhub-examples` repository (the SDK package
129
- itself does not ship example scripts).
130
-
131
- ```bash
132
- git clone git@github.com:cortexhub/cortexhub-examples.git
133
- cd cortexhub-examples/langgraph # or crewai, openai-agents, claude-agents
134
- ```
135
-
136
121
  ## Important: Initialization Order
137
122
 
138
123
  **Always initialize CortexHub FIRST**, before importing your framework:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cortexhub"
3
- version = "0.1.1"
3
+ version = "0.1.3"
4
4
  description = "CortexHub Python SDK - Policy-as-Code for AI Agents"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10,<3.14"
@@ -95,11 +95,13 @@ build-backend = "hatchling.build"
95
95
 
96
96
  [tool.hatch.build.targets.wheel]
97
97
  packages = ["src/cortexhub"]
98
+ include = ["LICENSE"]
98
99
 
99
100
  [tool.hatch.build.targets.sdist]
100
101
  include = [
101
102
  "/src",
102
103
  "/README.md",
104
+ "/LICENSE",
103
105
  ]
104
106
 
105
107
  [tool.pytest.ini_options]
File without changes