Metadata-Version: 2.5
Name: linked-codebook
Version: 0.11.0
Summary: Read, write and check codebooks of tables whose variables are linked to concepts.
Project-URL: Homepage, https://github.com/bennokr/linked-codebook
Project-URL: Documentation, https://bennokr.github.io/linked-codebook/docs/
Project-URL: Changelog, https://bennokr.github.io/linked-codebook/docs/changelog
Project-URL: Issues, https://github.com/bennokr/linked-codebook/issues
License-Expression: MIT
Keywords: JSON-LD,REDCap,SSSOM,codebook,data dictionary,linked data,metadata
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# linked-codebook (Python)

Read, write and check codebooks of tables whose variables are linked to concepts.

```bash
pip install linked-codebook
```

No dependencies; Python 3.11 or later; also runs in [Pyodide](https://pyodide.org). It installs the command `linked-codebook`, and
there is a [TypeScript package](https://www.npmjs.com/package/linked-codebook) that gives the same output.

```python
from linked_codebook import build, from_redcap, validate

profile = from_redcap(open("dictionary.csv").read())  # a REDCap data dictionary
document = build(profile)  # DSV JSON-LD
assert validate(document) == []
```

Documentation: <https://bennokr.github.io/linked-codebook/docs/>. Source: <https://github.com/bennokr/linked-codebook>.
