chem_nor 0.1.5 copy "chem_nor: ^0.1.5" to clipboard
chem_nor: ^0.1.5 copied to clipboard

A Dart package to find relevant chemical compounds using AI and PubChem.

ChemNOR #

A Dart package that finds relevant chemical compounds using AI (Gemini) and PubChem. Note : A Google Cloud [apiKey] is required for all requests.

Installation #

dependencies:
    chem_nor: ^0.1.5

usages #

import 'package:chem_nor/chem_nor.dart';

void main() async {
  final finder = ChemNOR(genAiApiKey: 'your-api-key');
  final results = await finder.findListOfCompounds('carboxylic acid compounds');
  print(results);
}
import 'package:chem_nor/chem_nor.dart';

void main() async {
  final finder = ChemNOR(genAiApiKey: 'your-api-key');
  final results = await finder.getSubstructureCids('CC');
  print(results);
}
import 'package:chem_nor/chem_nor.dart';

void main() async {
  final finder = ChemNOR(genAiApiKey: 'your-api-key');
  final results = await finder.getRelevantSmiles('carboxylic acid compounds');
  print(results);
}
import 'package:chem_nor/chem_nor.dart';

void main() async {
  final finder = ChemNOR(genAiApiKey: 'your-api-key');
  final results = await finder.getCompoundProperties('carboxylic acid compounds');
  print(results);
}
1
likes
0
points
254
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package to find relevant chemical compounds using AI and PubChem.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

google_generative_ai, http, intl

More

Packages that depend on chem_nor