posty.importers module

Functions to import from various other static site generators

class posty.importers.Importer(site, src_path)[source]

Bases: posty.model.ABC

Base class for all importers

Parameters:
  • site – Site object for the destination
  • src_path – Path to the thing to import
ensure_directories()[source]
run()[source]
class posty.importers.Posty1Importer(site, src_path)[source]

Bases: posty.importers.Importer

Importer to pull from a Posty 1.x site

import_media()[source]
import_pages()[source]
import_posts()[source]
import_templates()[source]
run()[source]