This repository contains Python scripts for virtual workshops, self-guided workshops, videos and educational tutorials. The scripts leverage the toolkit found within the CCDC portfolio that are accessible via the CSD Python API.
The purpose of this platform is to distribute knowledge and allow for scientific collaborations. Scripts are provided on an as-is basis and while their use is not supported we do welcome feedback on potential improvements. All scripts are tested against the latest version of the CSD Python API as installed with the CSD Portfolio.
For feedback or to report any issues please contact support@ccdc.cam.ac.uk
.
├─ assets # Images for documentation
├─ scripts # Python scripts
├─ LICENSE
└─ README.md
Valid CSD Portfolio licence is required for all scripts, some will require additional licence levels for use, such as Discovery and Materials. Requirements are clearly displayed in the ReadMe
that accompanies each script.
Don’t have a licence? Contact us here to request a quote or demonstration.
We advise that users fork
the repository to ensure they can keep up to date with any modification.
If you don't want to worry about having a GitHub account or are not confident with Git, you can download the scripts straight from this webpage.
The following section will outline how to download multiple or individual scripts:
Whilst in the main repository window click Code
and select Download Zip
:
Once you've found a script/file you wish to download, click on it. This will show you the content of the file. In the top right of the file click on the download button.
This will open a file explorer. Click "Save As..."
to save the script.
This requires you to already have the CSD Python API installed. Activate the environment as described in this FAQ on activating the CSD Python API then run
python script_example.py
in the same command prompt / terminal window.