Metadata-Version: 2.3
Name: dataall-core
Version: 0.4.1
Summary: AWS data.all core
License: Apache-2.0
Keywords: dataall,aws
Author: Amazon Web Services
Requires-Python: >=3.9, <4.0
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
Requires-Dist: ariadne (>=0.22,<1.0.0)
Requires-Dist: atomicfile (>=1.0.1,<2.0.0)
Requires-Dist: beautifulsoup4 (>=4.12.2,<5.0.0)
Requires-Dist: boto3 (>=1.28.22,<2.0.0)
Requires-Dist: botocore (>=1.31.22,<2.0.0)
Requires-Dist: build (>=0.10.0,<1.0.0)
Requires-Dist: certifi (>=2024.7.4)
Requires-Dist: click (>=8.1.6,<9.0.0)
Requires-Dist: configparser (>=6.0.0,<7.0.0)
Requires-Dist: graphql-core (>=3.2.3,<4.0.0)
Requires-Dist: httpx (>=0.27.0,<1.0.0)
Requires-Dist: packaging (>=21.1,<24.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Requires-Dist: requests-mock (>=1.12.1,<2.0.0)
Requires-Dist: requests-oauthlib (>=2.0.0,<3.0.0)
Requires-Dist: retrying (>=1.3.4,<2.0.0)
Requires-Dist: setuptools ; python_version >= "3.12"
Requires-Dist: typing-extensions (>=4.4.0,<5.0.0)
Description-Content-Type: text/markdown

# data.all core package

This is a package containing dataall_core modules used in both data.all CLI and SDK.


# generate schema from a data.all deployments

* Copy and run the following script in `data.all/backend` directory...
```python
from dataall.base.loader import load_modules, ImportMode
from graphql import introspection_from_schema
from dataall.base.api import get_executable_schema
import json

load_modules(modes={ImportMode.API})
SCHEMA = get_executable_schema()
t = introspection_from_schema(SCHEMA)

# Write schema to JSON file
with open('./schema.json', 'w') as f:
f.write(json.dumps(t))
```


