Classy Template
If you're reading this, it's probably because you want to do something that classy does not support natively.
We have prepared a GitHub template that you can use to start things off without having to worry about folder structure and so on.
Our template is built to seamlessly integrate with classy, for instance:
Any python module under
src/is automatically imported when running anyclassycommand. This way, you can, for example, register a new custom data format and start using it right away without needing to explicitly set it inside your configuration files.Any
.yamlfile underconfigurationsis automatically discovered byhydraand can be used interchangeably with the configurations provided byclassyitself.This is particularly useful when dealing with complex models / profiles (which we cover in the next section) which cannot fit inside
classy's main package.
We have also prepared a repository of examples that are
based on the template and on the contents of these guides to help you move your first steps with classy's advanced features.