Natural language computational chemistry
Project description
nlcc
Install
pip install nlcc
You must have either an OpenAI Codex key or HuggingFace API key (minimum plan level is Community Pro). Make sure they are set via
export OPENAI_API_KEY=<your key here>
or export HUGGINGFACE_API_KEY=<your key here>
then nlcc
citation
Please cite our preprint
@article{hocky2022natural,
title={Natural language processing models that automate programming will transform chemistry research and teaching},
author={Hocky, Glen M and White, Andrew D},
journal={Digital Discovery},
year={2022},
publisher={Royal Society of Chemistry}
}
key bindings
ctrl-w
copy to clipboard (Note, you may need to install xsel on linux)ctrl-q
helpctrl-o
reset contextctrl-z
execute python codectrl-t
adjust temperaturectrl-u
statusctrl-c
quitctrl-x
write to file (same output as copy to clipboard)ctrl-l
load from filectrl-n
update number of code responsesctrl-down
Enter multiline.escape-enter
to enter prompt orctrl-down
to leave[insert]
Add this to your multiline prompt to have completion inserted in a specific location
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nlcc-0.6.0.tar.gz
(13.9 kB
view details)
Built Distribution
nlcc-0.6.0-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file nlcc-0.6.0.tar.gz
.
File metadata
- Download URL: nlcc-0.6.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0475dc39b04c16205d4f72e21896bbce8fb7b7b634d6ccb3aa8173cd47a0b431 |
|
MD5 | e5dd9781030200e23bad0b2b9ba6b96d |
|
BLAKE2b-256 | 7631488052fd06be8d54c6b248de98a9eef4cb1eacc2ceef12a0bb29c0ed3559 |
File details
Details for the file nlcc-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: nlcc-0.6.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c10b6f3bb23ad5e3e412df024e1b39c6fd71df8c55845e38729cd30c22bddc |
|
MD5 | 7893dd1b9295bca5bfe935bb75f94d39 |
|
BLAKE2b-256 | af9351d6aef676b90afaab8f22efc9f189c88c4019d231a5839ad6156e9527c2 |