Skip to main content

Natural language computational chemistry

Project description

nlcc

PyPI versiontests

Demo

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 help
  • ctrl-o reset context
  • ctrl-z execute python code
  • ctrl-t adjust temperature
  • ctrl-u status
  • ctrl-c quit
  • ctrl-x write to file (same output as copy to clipboard)
  • ctrl-l load from file
  • ctrl-n update number of code responses
  • ctrl-down Enter multiline. escape-enter to enter prompt or ctrl-down to leave
  • [insert] Add this to your multiline prompt to have completion inserted in a specific location

Project details


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 hashes)

Uploaded Source

Built Distribution

nlcc-0.6.0-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page