safentic 1.0.0__tar.gz → 1.0.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.
Files changed (29) hide show
  1. safentic-1.0.1/PKG-INFO +54 -0
  2. safentic-1.0.1/README.md +33 -0
  3. {safentic-1.0.0 → safentic-1.0.1}/safentic/__init__.py +1 -1
  4. safentic-1.0.1/safentic.egg-info/PKG-INFO +54 -0
  5. {safentic-1.0.0 → safentic-1.0.1}/setup.py +1 -1
  6. safentic-1.0.0/PKG-INFO +0 -42
  7. safentic-1.0.0/README.md +0 -21
  8. safentic-1.0.0/safentic.egg-info/PKG-INFO +0 -42
  9. {safentic-1.0.0 → safentic-1.0.1}/MANIFEST.in +0 -0
  10. {safentic-1.0.0 → safentic-1.0.1}/requirements.txt +0 -0
  11. {safentic-1.0.0 → safentic-1.0.1}/safentic/LICENSE.txt +0 -0
  12. {safentic-1.0.0 → safentic-1.0.1}/safentic/config.py +0 -0
  13. {safentic-1.0.0 → safentic-1.0.1}/safentic/engine.py +0 -0
  14. {safentic-1.0.0 → safentic-1.0.1}/safentic/helper/__init__.py +0 -0
  15. {safentic-1.0.0 → safentic-1.0.1}/safentic/helper/auth.py +0 -0
  16. {safentic-1.0.0 → safentic-1.0.1}/safentic/layer.py +0 -0
  17. {safentic-1.0.0 → safentic-1.0.1}/safentic/logger/__init__.py +0 -0
  18. {safentic-1.0.0 → safentic-1.0.1}/safentic/logger/audit.py +0 -0
  19. {safentic-1.0.0 → safentic-1.0.1}/safentic/policies/.gitkeep +0 -0
  20. {safentic-1.0.0 → safentic-1.0.1}/safentic/policies/__init__.py +0 -0
  21. {safentic-1.0.0 → safentic-1.0.1}/safentic/policies/example_policy.txt +0 -0
  22. {safentic-1.0.0 → safentic-1.0.1}/safentic/policies/policy.yaml +0 -0
  23. {safentic-1.0.0 → safentic-1.0.1}/safentic/policy.py +0 -0
  24. {safentic-1.0.0 → safentic-1.0.1}/safentic/verifiers/__init__.py +0 -0
  25. {safentic-1.0.0 → safentic-1.0.1}/safentic/verifiers/sentence_verifier.py +0 -0
  26. {safentic-1.0.0 → safentic-1.0.1}/safentic.egg-info/SOURCES.txt +0 -0
  27. {safentic-1.0.0 → safentic-1.0.1}/safentic.egg-info/dependency_links.txt +0 -0
  28. {safentic-1.0.0 → safentic-1.0.1}/safentic.egg-info/top_level.txt +0 -0
  29. {safentic-1.0.0 → safentic-1.0.1}/setup.cfg +0 -0
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: safentic
3
+ Version: 1.0.1
4
+ Summary: Safentic SDK for behavior analysis
5
+ Home-page: https://safentic.com
6
+ Author: Safentic
7
+ Author-email: contact@safentic.com
8
+ License: Proprietary :: Safentic Commercial License
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: Other/Proprietary License
11
+ Classifier: Operating System :: OS Independent
12
+ Description-Content-Type: text/markdown
13
+ Dynamic: author
14
+ Dynamic: author-email
15
+ Dynamic: classifier
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: home-page
19
+ Dynamic: license
20
+ Dynamic: summary
21
+
22
+ # Safentic SDK
23
+
24
+ Safentic is a runtime guardrail SDK for agentic AI systems.
25
+ It intercepts and evaluates unsafe tool calls between agent **intent** and **execution**, enforcing custom safety policies.
26
+
27
+ ---
28
+
29
+ ## Installation
30
+
31
+ Install from PyPI:
32
+
33
+ pip install safentic
34
+
35
+ ---
36
+
37
+ ## API Key Required
38
+
39
+ Safentic requires a valid API key to function.
40
+ To obtain one, contact: contact@safentic.com
41
+
42
+ ---
43
+
44
+ ## Quick Start
45
+
46
+ ```python
47
+ from safentic import SafetyLayer, SafenticError
48
+
49
+ layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")
50
+
51
+ try:
52
+ layer.protect("send_email", {"body": "Refund me now!"})
53
+ except SafenticError as e:
54
+ print("Blocked by policy:", e)
@@ -0,0 +1,33 @@
1
+ # Safentic SDK
2
+
3
+ Safentic is a runtime guardrail SDK for agentic AI systems.
4
+ It intercepts and evaluates unsafe tool calls between agent **intent** and **execution**, enforcing custom safety policies.
5
+
6
+ ---
7
+
8
+ ## Installation
9
+
10
+ Install from PyPI:
11
+
12
+ pip install safentic
13
+
14
+ ---
15
+
16
+ ## API Key Required
17
+
18
+ Safentic requires a valid API key to function.
19
+ To obtain one, contact: contact@safentic.com
20
+
21
+ ---
22
+
23
+ ## Quick Start
24
+
25
+ ```python
26
+ from safentic import SafetyLayer, SafenticError
27
+
28
+ layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")
29
+
30
+ try:
31
+ layer.protect("send_email", {"body": "Refund me now!"})
32
+ except SafenticError as e:
33
+ print("Blocked by policy:", e)
@@ -5,4 +5,4 @@ __all__ = [
5
5
  "SafenticError",
6
6
  ]
7
7
 
8
- __version__ = "0.3"
8
+ __version__ = "1.0.1"
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: safentic
3
+ Version: 1.0.1
4
+ Summary: Safentic SDK for behavior analysis
5
+ Home-page: https://safentic.com
6
+ Author: Safentic
7
+ Author-email: contact@safentic.com
8
+ License: Proprietary :: Safentic Commercial License
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: Other/Proprietary License
11
+ Classifier: Operating System :: OS Independent
12
+ Description-Content-Type: text/markdown
13
+ Dynamic: author
14
+ Dynamic: author-email
15
+ Dynamic: classifier
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: home-page
19
+ Dynamic: license
20
+ Dynamic: summary
21
+
22
+ # Safentic SDK
23
+
24
+ Safentic is a runtime guardrail SDK for agentic AI systems.
25
+ It intercepts and evaluates unsafe tool calls between agent **intent** and **execution**, enforcing custom safety policies.
26
+
27
+ ---
28
+
29
+ ## Installation
30
+
31
+ Install from PyPI:
32
+
33
+ pip install safentic
34
+
35
+ ---
36
+
37
+ ## API Key Required
38
+
39
+ Safentic requires a valid API key to function.
40
+ To obtain one, contact: contact@safentic.com
41
+
42
+ ---
43
+
44
+ ## Quick Start
45
+
46
+ ```python
47
+ from safentic import SafetyLayer, SafenticError
48
+
49
+ layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")
50
+
51
+ try:
52
+ layer.protect("send_email", {"body": "Refund me now!"})
53
+ except SafenticError as e:
54
+ print("Blocked by policy:", e)
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="safentic",
5
- version="1.0.0",
5
+ version="1.0.1",
6
6
  packages=find_packages(),
7
7
  install_requires=[],
8
8
  include_package_data=True,
safentic-1.0.0/PKG-INFO DELETED
@@ -1,42 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: safentic
3
- Version: 1.0.0
4
- Summary: Safentic SDK for behavior analysis
5
- Home-page: https://safentic.com
6
- Author: Safentic
7
- Author-email: contact@safentic.com
8
- License: Proprietary :: Safentic Commercial License
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: Other/Proprietary License
11
- Classifier: Operating System :: OS Independent
12
- Description-Content-Type: text/markdown
13
- Dynamic: author
14
- Dynamic: author-email
15
- Dynamic: classifier
16
- Dynamic: description
17
- Dynamic: description-content-type
18
- Dynamic: home-page
19
- Dynamic: license
20
- Dynamic: summary
21
-
22
- # SAFENTIC-V0
23
-
24
- Safentic is a runtime guardrail SDK for agentic AI.
25
- It intercepts unsafe tool calls between agent **intent** and **execution**.
26
-
27
- ## To Run Locally with Docker
28
-
29
- ### Prerequisites
30
-
31
- - [Docker Desktop](https://www.docker.com/products/docker-desktop) installed
32
-
33
- ---
34
-
35
- ### Build and Run with Docker
36
-
37
- Make sure docker desktop is running on your device, then do the following:
38
- ```
39
- 1. git clone https://github.com/type0-1/safentic-v0.git
40
- 2. cd safentic-v0
41
- 3. docker compose up --build
42
- ```
safentic-1.0.0/README.md DELETED
@@ -1,21 +0,0 @@
1
- # SAFENTIC-V0
2
-
3
- Safentic is a runtime guardrail SDK for agentic AI.
4
- It intercepts unsafe tool calls between agent **intent** and **execution**.
5
-
6
- ## To Run Locally with Docker
7
-
8
- ### Prerequisites
9
-
10
- - [Docker Desktop](https://www.docker.com/products/docker-desktop) installed
11
-
12
- ---
13
-
14
- ### Build and Run with Docker
15
-
16
- Make sure docker desktop is running on your device, then do the following:
17
- ```
18
- 1. git clone https://github.com/type0-1/safentic-v0.git
19
- 2. cd safentic-v0
20
- 3. docker compose up --build
21
- ```
@@ -1,42 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: safentic
3
- Version: 1.0.0
4
- Summary: Safentic SDK for behavior analysis
5
- Home-page: https://safentic.com
6
- Author: Safentic
7
- Author-email: contact@safentic.com
8
- License: Proprietary :: Safentic Commercial License
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: Other/Proprietary License
11
- Classifier: Operating System :: OS Independent
12
- Description-Content-Type: text/markdown
13
- Dynamic: author
14
- Dynamic: author-email
15
- Dynamic: classifier
16
- Dynamic: description
17
- Dynamic: description-content-type
18
- Dynamic: home-page
19
- Dynamic: license
20
- Dynamic: summary
21
-
22
- # SAFENTIC-V0
23
-
24
- Safentic is a runtime guardrail SDK for agentic AI.
25
- It intercepts unsafe tool calls between agent **intent** and **execution**.
26
-
27
- ## To Run Locally with Docker
28
-
29
- ### Prerequisites
30
-
31
- - [Docker Desktop](https://www.docker.com/products/docker-desktop) installed
32
-
33
- ---
34
-
35
- ### Build and Run with Docker
36
-
37
- Make sure docker desktop is running on your device, then do the following:
38
- ```
39
- 1. git clone https://github.com/type0-1/safentic-v0.git
40
- 2. cd safentic-v0
41
- 3. docker compose up --build
42
- ```
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes