# 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))
```
Raw data
{
"_id": null,
"home_page": null,
"name": "dataall-core",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "dataall, aws",
"author": "Amazon Web Services",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/25/8d/9ced84159eab94da783c32969cced4cee0b41f55f726bc9340417b90c491/dataall_core-0.4.2.tar.gz",
"platform": null,
"description": "# data.all core package\n\nThis is a package containing dataall_core modules used in both data.all CLI and SDK.\n\n\n# generate schema from a data.all deployments\n\n* Copy and run the following script in `data.all/backend` directory...\n```python\nfrom dataall.base.loader import load_modules, ImportMode\nfrom graphql import introspection_from_schema\nfrom dataall.base.api import get_executable_schema\nimport json\n\nload_modules(modes={ImportMode.API})\nSCHEMA = get_executable_schema()\nt = introspection_from_schema(SCHEMA)\n\n# Write schema to JSON file\nwith open('./schema.json', 'w') as f:\nf.write(json.dumps(t))\n```\n\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "AWS data.all core",
"version": "0.4.2",
"project_urls": null,
"split_keywords": [
"dataall",
" aws"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cfb63c8e357cf47145e9963547f45479f0f40d4c2b69ccb1a9f3df25805f33af",
"md5": "40250e2b5e32456b2af9c6796220a83b",
"sha256": "33a0d9267ae58afee56a396d8c23df2777df656abcf21ea286c417674723cb54"
},
"downloads": -1,
"filename": "dataall_core-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "40250e2b5e32456b2af9c6796220a83b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 128627,
"upload_time": "2025-07-10T13:46:16",
"upload_time_iso_8601": "2025-07-10T13:46:16.476913Z",
"url": "https://files.pythonhosted.org/packages/cf/b6/3c8e357cf47145e9963547f45479f0f40d4c2b69ccb1a9f3df25805f33af/dataall_core-0.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "258d9ced84159eab94da783c32969cced4cee0b41f55f726bc9340417b90c491",
"md5": "716bdcb8c9ac69d38883a3f9d25bc117",
"sha256": "e209be48d4f858dd575562aacf2a1345a65ce1badd3e80c9f2a46b345acbf693"
},
"downloads": -1,
"filename": "dataall_core-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "716bdcb8c9ac69d38883a3f9d25bc117",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 113455,
"upload_time": "2025-07-10T13:46:17",
"upload_time_iso_8601": "2025-07-10T13:46:17.935060Z",
"url": "https://files.pythonhosted.org/packages/25/8d/9ced84159eab94da783c32969cced4cee0b41f55f726bc9340417b90c491/dataall_core-0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-10 13:46:17",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dataall-core"
}