posty.post module

class posty.post.Post(payload, config=None)[source]

Bases: posty.model.Model

Representation of a post

classmethod from_yaml(file_contents, config=None)[source]

Returns a Post from the given file_contents

path_on_disk()[source]
to_yaml()[source]

Returns the YAML and text representation of this Post. This is the reverse of from_yaml()

url()[source]
validate()[source]