@classmethod<EOL><INDENT>def parse(cls, s, required=False):<DEDENT>
req = pkg_resources.Requirement.parse(s)<EOL>return cls(req, required=required)<EOL>
Parse string to create an instance

:param str s: String with requirement to parse
:param bool required: Is this requirement required to be fulfilled? If not, then it is a filter.