@classmethod<EOL><INDENT>def from_strings(<EOL>cls, pipfile_str: str, pipfile_lock_str: str = None, *, runtime_environment: RuntimeEnvironment = None<EOL>):<DEDENT>
pipfile = Pipfile.from_string(pipfile_str)<EOL>pipfile_lock = None<EOL>if pipfile_lock_str:<EOL><INDENT>pipfile_lock = PipfileLock.from_string(pipfile_lock_str, pipfile)<EOL><DEDENT>if runtime_environment:<EOL><INDENT>return cls(pipfile, pipfile_lock, runtime_environment=runtime_environment)<EOL><DEDENT>return cls(pipfile, pipfile_lock)<EOL>
Create project from Pipfile and Pipfile.lock loaded into strings.