Metadata-Version: 2.1
Name: ord-schema
Version: 0.3.21
Summary: Schema for the Open Reaction Database
Home-page: https://github.com/Open-Reaction-Database/ord-schema
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: docopt (>=0.6.2)
Requires-Dist: flask (>=1.1.2)
Requires-Dist: jinja2 (>=2.0.0)
Requires-Dist: joblib (>=1.0.0)
Requires-Dist: numpy (>=1.18.1)
Requires-Dist: openpyxl (>=3.0.5)
Requires-Dist: pandas (>=1.0.4)
Requires-Dist: protobuf (<3.20,>=3.13.0)
Requires-Dist: pygithub (>=1.51)
Requires-Dist: python-dateutil (>=1.10.0)
Requires-Dist: rdkit (>=2021.9.5)
Requires-Dist: xlrd (>=2.0.1)
Requires-Dist: xlwt (>=1.3.0)
Provides-Extra: examples
Requires-Dist: glob2 (>=0.7) ; extra == 'examples'
Requires-Dist: matplotlib (>=3.3.4) ; extra == 'examples'
Requires-Dist: scikit-learn (>=0.24.1) ; extra == 'examples'
Requires-Dist: tensorflow (>=2.4.1) ; extra == 'examples'
Requires-Dist: tqdm (>=4.61.2) ; extra == 'examples'
Requires-Dist: wget (>=3.2) ; extra == 'examples'
Provides-Extra: tests
Requires-Dist: black[jupyter] (>=22.3.0) ; extra == 'tests'
Requires-Dist: coverage (>=5.2.1) ; extra == 'tests'
Requires-Dist: pylint (>=2.13.9) ; extra == 'tests'
Requires-Dist: pytest (>=7.1.1) ; extra == 'tests'
Requires-Dist: pytest-cov (>=3.0.0) ; extra == 'tests'
Requires-Dist: pytype (>=2022.5.19) ; extra == 'tests'
Requires-Dist: treon (>=0.1.3) ; extra == 'tests'

# Open Reaction Database: Schema (ord-schema)

![CI](https://github.com/Open-Reaction-Database/ord-schema/workflows/CI/badge.svg?branch=main)
[![codecov](https://codecov.io/gh/Open-Reaction-Database/ord-schema/branch/main/graph/badge.svg)](https://codecov.io/gh/Open-Reaction-Database/ord-schema)

This repository contains the schema for the Open Reaction Database initiative; please see the documentation
at https://docs.open-reaction-database.org.

This repository does not contain the database itself; that is stored
in [ord-data](https://github.com/open-reaction-database/ord-data). Rather, `ord-schema` is
designed to store the database schema and tools for creating, validating, and submitting data to the database.

## Installation

```shell
$ pip install ord-schema
```

To install in editable/development mode:

```shell
$ git clone https://github.com/open-reaction-database/ord-schema.git
$ cd ord-schema
$ pip install -e .  # Or `pip install -e .`.
```

If you make changes to the protocol buffer definitions, [install](https://grpc.io/docs/protoc-installation/) `protoc` 
and run `./compile_proto_wrappers.sh` to rebuild the wrappers.

## Examples

The `examples/` directory contains examples of dataset creation and use. To run locally, install with:

```shell
$ pip install "ord-schema[examples]"
```

Click here to run the examples with
Binder: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/open-reaction-database/ord-schema/HEAD?filepath=examples)
