Metadata-Version: 2.3
Name: cognite-neat
Version: 0.111.2
Summary: Knowledge graph transformation
License: Apache-2.0
Author: Nikola Vasiljevic
Author-email: nikola.vasiljevic@cognite.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Provides-Extra: all
Provides-Extra: docs
Provides-Extra: google
Provides-Extra: oxi
Requires-Dist: PyYAML
Requires-Dist: backports.strenum (>=1.2,<2.0) ; python_version < "3.11"
Requires-Dist: cognite-sdk (>=7.71.2,<8.0.0)
Requires-Dist: elementpath (>=4.0.0,<5.0.0)
Requires-Dist: exceptiongroup (>=1.1.3,<2.0.0) ; python_version < "3.11"
Requires-Dist: google-api-python-client ; extra == "google"
Requires-Dist: google-auth-oauthlib ; extra == "google"
Requires-Dist: gspread ; extra == "google"
Requires-Dist: jsonpath-python (>=1.0.6,<2.0.0)
Requires-Dist: lxml (>=5.3.0,<6.0.0) ; extra == "all"
Requires-Dist: mistune (==3.0.2) ; extra == "docs"
Requires-Dist: mixpanel (>=4.10.1,<5.0.0)
Requires-Dist: mkdocs ; extra == "docs"
Requires-Dist: mkdocs-autorefs (>=0.5.0,<0.6.0) ; extra == "docs"
Requires-Dist: mkdocs-git-authors-plugin ; extra == "docs"
Requires-Dist: mkdocs-git-revision-date-localized-plugin ; extra == "docs"
Requires-Dist: mkdocs-gitbook ; extra == "docs"
Requires-Dist: mkdocs-glightbox ; extra == "docs"
Requires-Dist: mkdocs-jupyter ; extra == "docs"
Requires-Dist: mkdocs-material-extensions ; extra == "docs"
Requires-Dist: mkdocstrings[python] ; extra == "docs"
Requires-Dist: networkx (>=3.4.2,<4.0.0)
Requires-Dist: openpyxl
Requires-Dist: oxrdflib[oxigraph] (>=0.4.0,<0.5.0) ; extra == "oxi" or extra == "all"
Requires-Dist: packaging (>=22.0,<25.0)
Requires-Dist: pandas
Requires-Dist: pydantic (>=2,<3)
Requires-Dist: pymdown-extensions ; extra == "docs"
Requires-Dist: pyoxigraph (==0.4.3) ; extra == "oxi" or extra == "all"
Requires-Dist: pyvis (>=0.3.2,<0.4.0)
Requires-Dist: rdflib
Requires-Dist: requests
Requires-Dist: rich[jupyter] (>=13.7.1,<14.0.0)
Requires-Dist: tomli (>=2.0.1,<3.0.0) ; python_version < "3.11"
Requires-Dist: typing_extensions (>=4.8,<5.0) ; python_version < "3.11"
Requires-Dist: urllib3 (>=2,<3)
Project-URL: Documentation, https://cognite-neat.readthedocs-hosted.com/
Project-URL: Homepage, https://cognite-neat.readthedocs-hosted.com/
Project-URL: Repository, https://github.com/cognitedata/neat
Description-Content-Type: text/markdown

# kNowlEdge grAph Transformer (NEAT)

[![release](https://img.shields.io/github/actions/workflow/status/cognitedata/neat/release.yaml?style=for-the-badge)](https://github.com/cognitedata/neat/actions/workflows/release.yaml)
[![Documentation Status](https://readthedocs.com/projects/cognite-neat/badge/?version=latest&style=for-the-badge)](https://cognite-neat.readthedocs-hosted.com/en/latest/?badge=latest)
[![Github](https://shields.io/badge/github-cognite/neat-green?logo=github&style=for-the-badge)](https://github.com/cognitedata/neat)
[![PyPI](https://img.shields.io/pypi/v/cognite-neat?style=for-the-badge)](https://pypi.org/project/cognite-neat/)
[![Downloads](https://img.shields.io/pypi/dm/cognite-neat?style=for-the-badge)](https://pypistats.org/packages/cognite-neat)
[![Docker Pulls](https://img.shields.io/docker/pulls/cognite/neat?style=for-the-badge)](https://hub.docker.com/r/cognite/neat)
[![GitHub](https://img.shields.io/github/license/cognitedata/neat?style=for-the-badge)](https://github.com/cognitedata/neat/blob/master/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge)](https://github.com/ambv/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&style=for-the-badge)](https://github.com/astral-sh/ruff)
[![mypy](https://img.shields.io/badge/mypy-checked-000000.svg?style=for-the-badge&color=blue)](http://mypy-lang.org)

NEAT is a domain expert centric and developer friendly solution for rapid:

- semantic data modeling
- creation, transformation and enrichment of knowledge graphs
- and ingestion of the models and graphs into [Cognite Data Fusion](https://www.cognite.com/en/product/cognite_data_fusion_industrial_dataops_platform)

NEAT is using open and globally recognized standards maintained by the [World Wide Web Consortium (W3C)](https://www.w3.org/RDF/).
NEAT represents an essential tool for creation of standardized, machine-actionable, linked and semantic (meta)data.

> NEAT is an acronym derived from k**N**owl**Ed**ge gr**A**ph **T**ransformer hallucinated by GenAI.

## Installation

```bash
pip install cognite-neat
```

## Usage

The user interface for `NEAT` is a notebook-based environment. Once you have set up your notebook
environment, you start by creating a `CogniteClient` and instantiate a `NeatSession` object.

```python
from cognite.neat import NeatSession, get_cognite_client

client = get_cognite_client(".env")

neat = NeatSession(client)

neat.read.cdf.data_model(("my_space", "MyDataModel", "v1"))
```

## Documentation

For more information, see the [documentation](https://cognite-neat.readthedocs-hosted.com/en/latest/)

