Skip to content


Frequently Asked Questions

Q: Where can I find more information about the CRIPT data model?

A: Please feel free to review the CRIPT data model document and the CRIPT research paper

Q: What does this error mean?

A: Please visit the Exceptions documentation

Q: Where do I report an issue that I encountered?

A: Please feel free to report issues to our GitHub repository. We are always looking for ways to improve and create software that is a joy to use!

Q: Where can I find more CRIPT examples?

A: Please visit CRIPT Scripts where there are many CRIPT examples ranging from CRIPT graphs drawn out from research papers, Python scripts, TypeScript scripts, and more!

Q: Where can I find more example code?

A: We have written a lot of tests for our software, and if needed, those tests can be referred to as example code to work with the Python SDK software. The Python SDK tests are located within the GitHub repository/tests, and there they are broken down to different kinds of tests

Q: How can I contribute to this project?

A: We would love to have you contribute! Please read our contributing guidelines and our code of conduct to get started. Feel free to contribute to any bugs you find, any issues within the GitHub repository, or any features you want.

Q: This repository is awesome, how can I build a plugin to add to it?

A: We have built this code with plugins in mind! Please visit the CRIPT Python SDK GitHub repository Wiki tab for developer documentation.

Q: Is there documentation detailing the internal workings of the code?

A: Absolutely! For an in-depth look at the CRIPT Python SDK code, consult the GitHub repository wiki internal documentation.

Q: I have this question that is not covered anywhere, where can I ask it?

A: Please visit the CRIPT Python SDK repository and ask your question within the discussions tab Q/A section

Q: Where is the best place where I can contact the CRIPT Python SDK team for questions or support?

A: We would love to hear from you! Please visit our CRIPT Python SDK Repository GitHub Discussions to easily send us questions. Our repository's issue page is also another good way to let us know about any issues or suggestions you might have. A GitHub account is required.

Q: How can I report security issues?

A: Please visit the CRIPT Python SDK GitHub repository security tab for any security issues.

Q: Where can I find the release notes for each SDK version?

A: The release notes can be found on our CRIPT Python SDK repository releases section

Q: Besides the user documentation, is there any developer documentation that I can read through on how the code is written to get a better grasp of it?

A: You bet! There are documentation for developers within the CRIPT Python SDK Wiki. There you will find documentation on everything from how our code is structure, how we aim to write our documentation, CI/CD, and more.

Q: What can I do, when my fails with a cript.nodes.exception.CRIPTJsonDeserializationError or similar?

A: _There is a solution for you. Sometimes CRIPT can contain nodes formatted in a way that the Python SDK does not understand. We can disable the automatic conversion from the API response into SDK nodes. Here is an example of how to achieve this:

# Create API object in with statement, here it assumes host, token, and storage token are in your environment variables
with cript.API() as api:
    # Find the paginator object, which is a python iterator over the search results.
    materials_paginator =, search_mode=cript.SearchModes.NODE_TYPE)
    # Usually you would do
    # `materials_list = list(materials_paginator)`
    # or
    # for node in materials_paginator:
    #    #do node stuff
    # But now we want more control over the iteration to ignore failing node decoding.
    # And store the result in a list of valid nodes
    materials_list = []
    # We use a while True loop to iterate over the results
    while True:
        # This first try catches, when we reach the end of the search results.
    # The `next()` function raises a StopIteration exception in that case
        # First we try to convert the current response into a node directly
                material_node = next(materials_paginator)
        # But if that fails, we catch the exception from CRIPT
            except cript.CRIPTException as exc:
                # In case of failure, we disable the auto_load_function temporarily
                materials_paginator.auto_load_nodes = False
        # And only obtain the unloaded node JSON instead
                material_json = next(materials_paginator)
        # Here you can inspect and manually handle the problem.
        # In the example, we just print it and ignore it otherwise
        print(exc, material_json)
        # After a valid node is loaded (try block didn't fail)
        # we store the valid node in the list
                materials_list += [material_node]
            # No matter what happened, for the next iteration we want to try to obtain
        # an auto loaded node again, so we reset the paginator state.
                materials_paginator.auto_load_nodes = True
        except StopIteration:
        # If next() of the paginator indicates an end of the search results, break the loop

We try to also have type hinting, comments, and docstrings for all the code that we work on so it is clear and easy for anyone reading it to easily understand.

if all else fails, contact us on our GitHub Repository.