The registry Module

Creates Registries (YAML schemas) for EPA data by introspecting downloaded files

class EPAConfig(doc)[source]

Creates a new object

Parameters
  • subclass – A concrete class containing configuration information Configuration options must be defined as class memebers with names, starting with one ‘_’ characters and values be instances of :class Argument:

  • description – Optional text to use as description. If not specified, then it is extracted from subclass documentation

output

Output path for schema

data

Path to a data file to introspect

table

Name of the table

class Registry(context: Optional[EPAConfig] = None)[source]

This class parses File Transfer Summary files and creates YAML data model. It can either update built-in registry or write the model to a designated path

update()[source]
static create_domain_yaml() Dict[source]
create_table_yaml()[source]