You can use the AllenSDK (http://alleninstitute.github.io/AllenSDK/) to access stimulus templates and/or parameters to recreate these stimuli with your favorite experimental control software.
An example Jupyter notebook demonstrating how to access the Natural Scenes, Natural Movies, and Locally Sparse Noise stimuli used in the Brain Observatory: Visual Coding is available here:
http://alleninstitute.github.io/AllenSDK/_static/examples/nb/brain_observatory_stimuli.html
At this time, our stimulus code is not available for sharing, due to the level to which it has been optimized for our custom hardware and data acquisition protocols. We are currently exploring how to best share this code and hope to make this available in the future.