https://github.com/datalab-industries/datalab-cheminventory-plugin
A plugin that enables syncing between datalab instances and cheminventory.net
https://github.com/datalab-industries/datalab-cheminventory-plugin
datalab-plugin
Last synced: 4 months ago
JSON representation
A plugin that enables syncing between datalab instances and cheminventory.net
- Host: GitHub
- URL: https://github.com/datalab-industries/datalab-cheminventory-plugin
- Owner: datalab-industries
- License: mit
- Created: 2025-03-13T20:26:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-21T14:54:42.000Z (7 months ago)
- Last Synced: 2025-11-21T16:22:58.578Z (7 months ago)
- Topics: datalab-plugin
- Language: Python
- Homepage:
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
#
datalab ChemInventory Plugin
A plugin that enables two-way syncing between *datalab* instances and [cheminventory.net](https://www.cheminventory.net/).
## Installation
This plugin can be installed using [`uv`](https://astral.sh/uv), via:
```bash
git clone git@github.com:datalab-industries/datalab-cheminventory-plugin
cd datalab-cheminventory-plugin
uv sync
```
## Usage
This plugin can be run on a schedule from a datalab server, or as a user after
setting the relevant environment variables for the *datalab* instance and
cheminventory.
You can find additional documentation for cheminventory [API authentication](https://www.cheminventory.net/support/api/#apiauthentication)
and for [datalab API authentication](https://api-docs.datalab-org.io/en/stable/#authentication).
```bash
export CHEMINVENTORY_API_KEY="xxx"
export DATALAB_API_URL="https://example.datalab-org.io"
export DATALAB_API_KEY="xxx"
datalab-cheminventory-sync --dry-run
```