welcome to the community.
what’s a “TD” a tower defense?
i don’t know how to do that in python. maybe you can use the asset registry.
there’s also the asset validator, which sounds more like the thing you might want to use.
i haven’t used it, but a search online might give you good results.