safentic 1.0.0__tar.gz → 1.0.2__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 (30) hide show
  1. safentic-1.0.2/PKG-INFO +60 -0
  2. safentic-1.0.2/README.md +33 -0
  3. {safentic-1.0.0 → safentic-1.0.2}/safentic/__init__.py +1 -1
  4. safentic-1.0.2/safentic.egg-info/PKG-INFO +60 -0
  5. {safentic-1.0.0 → safentic-1.0.2}/safentic.egg-info/SOURCES.txt +1 -0
  6. safentic-1.0.2/safentic.egg-info/requires.txt +5 -0
  7. {safentic-1.0.0 → safentic-1.0.2}/setup.py +8 -2
  8. safentic-1.0.0/PKG-INFO +0 -42
  9. safentic-1.0.0/README.md +0 -21
  10. safentic-1.0.0/safentic.egg-info/PKG-INFO +0 -42
  11. {safentic-1.0.0 → safentic-1.0.2}/MANIFEST.in +0 -0
  12. {safentic-1.0.0 → safentic-1.0.2}/requirements.txt +0 -0
  13. {safentic-1.0.0 → safentic-1.0.2}/safentic/LICENSE.txt +0 -0
  14. {safentic-1.0.0 → safentic-1.0.2}/safentic/config.py +0 -0
  15. {safentic-1.0.0 → safentic-1.0.2}/safentic/engine.py +0 -0
  16. {safentic-1.0.0 → safentic-1.0.2}/safentic/helper/__init__.py +0 -0
  17. {safentic-1.0.0 → safentic-1.0.2}/safentic/helper/auth.py +0 -0
  18. {safentic-1.0.0 → safentic-1.0.2}/safentic/layer.py +0 -0
  19. {safentic-1.0.0 → safentic-1.0.2}/safentic/logger/__init__.py +0 -0
  20. {safentic-1.0.0 → safentic-1.0.2}/safentic/logger/audit.py +0 -0
  21. {safentic-1.0.0 → safentic-1.0.2}/safentic/policies/.gitkeep +0 -0
  22. {safentic-1.0.0 → safentic-1.0.2}/safentic/policies/__init__.py +0 -0
  23. {safentic-1.0.0 → safentic-1.0.2}/safentic/policies/example_policy.txt +0 -0
  24. {safentic-1.0.0 → safentic-1.0.2}/safentic/policies/policy.yaml +0 -0
  25. {safentic-1.0.0 → safentic-1.0.2}/safentic/policy.py +0 -0
  26. {safentic-1.0.0 → safentic-1.0.2}/safentic/verifiers/__init__.py +0 -0
  27. {safentic-1.0.0 → safentic-1.0.2}/safentic/verifiers/sentence_verifier.py +0 -0
  28. {safentic-1.0.0 → safentic-1.0.2}/safentic.egg-info/dependency_links.txt +0 -0
  29. {safentic-1.0.0 → safentic-1.0.2}/safentic.egg-info/top_level.txt +0 -0
  30. {safentic-1.0.0 → safentic-1.0.2}/setup.cfg +0 -0
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: safentic
3
+ Version: 1.0.2
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
+ Requires-Dist: requests
14
+ Requires-Dist: PyYAML==6.0
15
+ Requires-Dist: sentence-transformers==3.2.1
16
+ Requires-Dist: sqlalchemy
17
+ Requires-Dist: python-dotenv
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: classifier
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: license
25
+ Dynamic: requires-dist
26
+ Dynamic: summary
27
+
28
+ # Safentic SDK
29
+
30
+ Safentic is a runtime guardrail SDK for agentic AI systems.
31
+ It intercepts and evaluates unsafe tool calls between agent **intent** and **execution**, enforcing custom safety policies.
32
+
33
+ ---
34
+
35
+ ## Installation
36
+
37
+ Install from PyPI:
38
+
39
+ pip install safentic
40
+
41
+ ---
42
+
43
+ ## API Key Required
44
+
45
+ Safentic requires a valid API key to function.
46
+ To obtain one, contact: contact@safentic.com
47
+
48
+ ---
49
+
50
+ ## Quick Start
51
+
52
+ ```python
53
+ from safentic import SafetyLayer, SafenticError
54
+
55
+ layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")
56
+
57
+ try:
58
+ layer.protect("send_email", {"body": "Refund me now!"})
59
+ except SafenticError as e:
60
+ 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.2"
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: safentic
3
+ Version: 1.0.2
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
+ Requires-Dist: requests
14
+ Requires-Dist: PyYAML==6.0
15
+ Requires-Dist: sentence-transformers==3.2.1
16
+ Requires-Dist: sqlalchemy
17
+ Requires-Dist: python-dotenv
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: classifier
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: license
25
+ Dynamic: requires-dist
26
+ Dynamic: summary
27
+
28
+ # Safentic SDK
29
+
30
+ Safentic is a runtime guardrail SDK for agentic AI systems.
31
+ It intercepts and evaluates unsafe tool calls between agent **intent** and **execution**, enforcing custom safety policies.
32
+
33
+ ---
34
+
35
+ ## Installation
36
+
37
+ Install from PyPI:
38
+
39
+ pip install safentic
40
+
41
+ ---
42
+
43
+ ## API Key Required
44
+
45
+ Safentic requires a valid API key to function.
46
+ To obtain one, contact: contact@safentic.com
47
+
48
+ ---
49
+
50
+ ## Quick Start
51
+
52
+ ```python
53
+ from safentic import SafetyLayer, SafenticError
54
+
55
+ layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")
56
+
57
+ try:
58
+ layer.protect("send_email", {"body": "Refund me now!"})
59
+ except SafenticError as e:
60
+ print("Blocked by policy:", e)
@@ -11,6 +11,7 @@ safentic/policy.py
11
11
  safentic.egg-info/PKG-INFO
12
12
  safentic.egg-info/SOURCES.txt
13
13
  safentic.egg-info/dependency_links.txt
14
+ safentic.egg-info/requires.txt
14
15
  safentic.egg-info/top_level.txt
15
16
  safentic/helper/__init__.py
16
17
  safentic/helper/auth.py
@@ -0,0 +1,5 @@
1
+ requests
2
+ PyYAML==6.0
3
+ sentence-transformers==3.2.1
4
+ sqlalchemy
5
+ python-dotenv
@@ -2,9 +2,15 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="safentic",
5
- version="1.0.0",
5
+ version="1.0.2",
6
6
  packages=find_packages(),
7
- install_requires=[],
7
+ install_requires=[
8
+ "requests",
9
+ "PyYAML==6.0",
10
+ "sentence-transformers==3.2.1",
11
+ "sqlalchemy",
12
+ "python-dotenv"
13
+ ],
8
14
  include_package_data=True,
9
15
  license="Proprietary :: Safentic Commercial License", # Custom classifier
10
16
  classifiers=[
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