fairo 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.
Potentially problematic release.
This version of fairo might be problematic. Click here for more details.
- fairo-0.1/PKG-INFO +29 -0
- fairo-0.1/README.md +7 -0
- fairo-0.1/fairo/__init__.py +17 -0
- fairo-0.1/fairo/core/__init__.py +1 -0
- fairo-0.1/fairo/core/agent/__init__.py +1 -0
- fairo-0.1/fairo/core/agent/base_agent.py +875 -0
- fairo-0.1/fairo/core/agent/code_analysis_agent.py +24 -0
- fairo-0.1/fairo/core/agent/output/__init__.py +0 -0
- fairo-0.1/fairo/core/agent/output/base_output.py +27 -0
- fairo-0.1/fairo/core/agent/output/google_drive.py +65 -0
- fairo-0.1/fairo/core/agent/tools/__init__.py +1 -0
- fairo-0.1/fairo/core/agent/tools/base_tools.py +523 -0
- fairo-0.1/fairo/core/agent/tools/code_analysis.py +29 -0
- fairo-0.1/fairo/core/agent/tools/utils.py +142 -0
- fairo-0.1/fairo/core/agent/utils.py +169 -0
- fairo-0.1/fairo/core/client/__init__.py +0 -0
- fairo-0.1/fairo/core/client/client.py +24 -0
- fairo-0.1/fairo/core/exceptions.py +7 -0
- fairo-0.1/fairo/core/execution/__init__.py +0 -0
- fairo-0.1/fairo/core/execution/executor.py +126 -0
- fairo-0.1/fairo/core/models/__init__.py +0 -0
- fairo-0.1/fairo/core/models/custom_field_value.py +15 -0
- fairo-0.1/fairo/core/models/resources.py +9 -0
- fairo-0.1/fairo/core/workflow/__init__.py +0 -0
- fairo-0.1/fairo/core/workflow/base_workflow.py +251 -0
- fairo-0.1/fairo/core/workflow/dependency.py +149 -0
- fairo-0.1/fairo/core/workflow/utils.py +191 -0
- fairo-0.1/fairo/metrics/__init__.py +0 -0
- fairo-0.1/fairo/metrics/fairness_object.py +196 -0
- fairo-0.1/fairo/metrics/metrics.py +901 -0
- fairo-0.1/fairo/settings.py +69 -0
- fairo-0.1/fairo/tests/__init__.py +0 -0
- fairo-0.1/fairo/tests/test_metrics.py +218 -0
- fairo-0.1/fairo.egg-info/PKG-INFO +29 -0
- fairo-0.1/fairo.egg-info/SOURCES.txt +38 -0
- fairo-0.1/fairo.egg-info/dependency_links.txt +1 -0
- fairo-0.1/fairo.egg-info/requires.txt +8 -0
- fairo-0.1/fairo.egg-info/top_level.txt +1 -0
- fairo-0.1/pyproject.toml +38 -0
- fairo-0.1/setup.cfg +4 -0
fairo-0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fairo
|
|
3
|
+
Version: 0.1
|
|
4
|
+
Summary: SDK for interfacing with Fairo SaaS platform.
|
|
5
|
+
Author-email: "Fairo Systems, Inc." <support@fairo.ai>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: homepage, https://www.fairo.ai
|
|
8
|
+
Keywords: fairo,AI,agents,governance,fairness,metrics,security,compliance,risk
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: mlflow==2.21.2
|
|
15
|
+
Requires-Dist: langchain==0.3.21
|
|
16
|
+
Requires-Dist: langchain-aws==0.2.18
|
|
17
|
+
Requires-Dist: langchain-community==0.3.20
|
|
18
|
+
Requires-Dist: langchain-core==0.3.49
|
|
19
|
+
Requires-Dist: langchain-text-splitters==0.3.7
|
|
20
|
+
Requires-Dist: psycopg2-binary==2.9.10
|
|
21
|
+
Requires-Dist: langchain-postgres==0.0.3
|
|
22
|
+
|
|
23
|
+
# Fairo SDK
|
|
24
|
+
|
|
25
|
+
Fairo SDK for interfacing with Fairo SaaS platform.
|
|
26
|
+
|
|
27
|
+
Please read our [documentation](https://fairo.readme.io/docs/) to get started.
|
|
28
|
+
|
|
29
|
+
For more information about Fairo, or to start a free trial, please visit our [website](http://www.fairo.ai).
|
fairo-0.1/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def extract_tag_release_id():
|
|
5
|
+
# Get the full reference from the environment variable
|
|
6
|
+
full_ref = os.getenv('GITHUB_REF')
|
|
7
|
+
|
|
8
|
+
# Check if the GITHUB_REF is set and it's a tag
|
|
9
|
+
if full_ref and full_ref.startswith('refs/tags/'):
|
|
10
|
+
# Extract the tag name
|
|
11
|
+
tag_name = full_ref.split('/')[-1]
|
|
12
|
+
return tag_name.replace('release-v', '')
|
|
13
|
+
else:
|
|
14
|
+
return "0.1"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = extract_tag_release_id()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Core module
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Agent core module
|