uproot.writing.identify

This module defines a series of rules for identifying Python objects that can be written to ROOT files and preparing them for writing.

The uproot.writing.identify.add_to_directory function is the most general in that it recognizes data that could be converted into a TTree or into a normal object. It also adds the data to a uproot.WritableDirectory.

The uproot.to_writable function recognizes all static objects (everything but TTrees) as a series of rules, returning a uproot.Model but not adding it to any uproot.WritableDirectory.

The (many) other functions in this module construct writable uproot.Model objects from Python builtins and other writable models.