SciScript libraries for Python and R
SciScript allows you to access CasJobs from Python and R programs. It supersedes the old CasJobs CLI tools.
SciScript is preinstalled in SciServer Compute
You can also download and build it to use directly in your own applications.
Source code on GitHub
Example Jupyter notebook (Python 3): Search data with CasJobs
Some more Python and R examples can be found in the source code repositories under /Examples.