socratic-morality 0.0.2b0__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.
@@ -0,0 +1 @@
1
+ """Socratic Morality - Constitutional AI Governance Framework"""
@@ -0,0 +1,91 @@
1
+ Metadata-Version: 2.4
2
+ Name: socratic-morality
3
+ Version: 0.0.2b0
4
+ Summary: Constitutional AI Governance Framework - Grounded in Socratic Philosophy
5
+ Author-email: Anthropic <support@anthropic.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/Nireus79/Socratic-morality
8
+ Project-URL: Documentation, https://socratic-morality.readthedocs.io
9
+ Project-URL: Repository, https://github.com/Nireus79/Socratic-morality.git
10
+ Project-URL: Issues, https://github.com/Nireus79/Socratic-morality/issues
11
+ Keywords: constitutional-ai,governance,socratic-philosophy,ethical-ai,multi-agent,llm-safety
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: pydantic>=2.0
25
+ Requires-Dist: pyyaml>=6.0
26
+ Requires-Dist: typing-extensions>=4.0
27
+ Provides-Extra: anthropic
28
+ Requires-Dist: anthropic>=0.40; extra == "anthropic"
29
+ Provides-Extra: openai
30
+ Requires-Dist: openai>=1.0; extra == "openai"
31
+ Provides-Extra: storage-sqlite
32
+ Requires-Dist: aiosqlite>=0.19; extra == "storage-sqlite"
33
+ Provides-Extra: storage-postgres
34
+ Requires-Dist: psycopg2>=2.9; extra == "storage-postgres"
35
+ Provides-Extra: langchain
36
+ Requires-Dist: langchain>=0.1; extra == "langchain"
37
+ Provides-Extra: autogen
38
+ Requires-Dist: pyautogen>=0.2; extra == "autogen"
39
+ Provides-Extra: crewai
40
+ Requires-Dist: crewai>=0.1; extra == "crewai"
41
+ Provides-Extra: dev
42
+ Requires-Dist: pytest>=7.0; extra == "dev"
43
+ Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
44
+ Requires-Dist: pytest-cov>=4.0; extra == "dev"
45
+ Requires-Dist: black>=23.0; extra == "dev"
46
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
47
+ Requires-Dist: mypy>=1.0; extra == "dev"
48
+ Requires-Dist: pre-commit>=3.0; extra == "dev"
49
+ Provides-Extra: docs
50
+ Requires-Dist: sphinx>=5.0; extra == "docs"
51
+ Requires-Dist: sphinx-rtd-theme>=1.0; extra == "docs"
52
+ Requires-Dist: sphinx-autodoc-typehints>=1.0; extra == "docs"
53
+ Dynamic: license-file
54
+
55
+ # Socratic Morality
56
+
57
+ **Constitutional AI Governance Framework** - Building trustworthy, accountable multi-agent systems grounded in Socratic philosophy.
58
+
59
+ > "It is better to suffer injustice than to commit it." — Plato's Gorgias
60
+
61
+ ## Quick Start
62
+
63
+ ```bash
64
+ pip install socratic-morality
65
+ ```
66
+
67
+ ```python
68
+ from socratic_morality import Governor
69
+
70
+ governor = Governor(constitution="constitution.yaml", llm_provider="anthropic")
71
+ decision = await governor.evaluate(
72
+ action="Access user's private data",
73
+ purpose="Personalization",
74
+ actor="recommendation_agent",
75
+ context={"user_id": "user_123"}
76
+ )
77
+ ```
78
+
79
+ ## Documentation
80
+
81
+ - [API Reference](docs/)
82
+ - [Philosophy Guide](docs/)
83
+ - [Examples](examples/)
84
+
85
+ ## Status
86
+
87
+ **Phase 1**: Foundation Library Extraction - In Progress
88
+
89
+ ## License
90
+
91
+ MIT License - See [LICENSE](LICENSE) for details
@@ -0,0 +1,6 @@
1
+ socratic_morality/__init__.py,sha256=yuG7eP7lpKR0DZ2pdQdaRd0s4CAF1jmijYAdpX_foDY,65
2
+ socratic_morality-0.0.2b0.dist-info/licenses/LICENSE,sha256=Z9mXeoP1pzFmofBnIIST2pK7MSrA51SxvySCEYDvA-E,1066
3
+ socratic_morality-0.0.2b0.dist-info/METADATA,sha256=oOO45EDt1epzlObgYSILRSUZb3vx_LBWbjA-8rsPNpk,3170
4
+ socratic_morality-0.0.2b0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ socratic_morality-0.0.2b0.dist-info/top_level.txt,sha256=r1zid3qOApDyIXpJnjm9ZJCzxk4cxF-N_cB6CBIeZyM,18
6
+ socratic_morality-0.0.2b0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Anthropic
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.
@@ -0,0 +1 @@
1
+ socratic_morality