Module Expr Str Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str TryExcept body ImportFrom alias ImportFrom alias ImportFrom alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Raise ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict If CompareIn Str AttributeLoad NameLoad attr body Print TupleLoad Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str If NameLoad body Assign AttributeStore NameLoad attr BinOpMod AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad NameLoad body Break orelse Assign NameStore Dict If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Continue If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str If CompareGt SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Continue Expr Call AttributeLoad NameLoad attr Str NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num Num While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num Num Return Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Contains classes and utilities that help publishing a hyde website to
a filesystem using PyFilesystem FS objects.

This publisher provides an easy way to publish to FTP, SFTP, WebDAV or other
servers by specifying a PyFS filesystem URL.  For example, the following
are valid URLs that can be used with this publisher:

    ftp://my.server.com/~username/my_blog/
    dav:https://username:password@my.server.com/path/to/my/site

 N/A getpass N/A hashlib hyde._compat basestring input hyde.publisher Publisher commando.util getLoggerWithNullHandler N/A logger N/A getLoggerWithNullHandler hyde.ext.publishers.pyfs N/A N/A fs.osfs OSFS fs.path pathjoin fs.opener fsopendir N/A N/A N/A ImportError N/A N/A N/A N/A logger error The PyFS publisher requires PyFilesystem v0.4 or later. N/A N/A N/A logger error `pip install -U fs` to get it. N/A PyFS N/A Publisher N/A initialize N/A N/A self settings N/A N/A N/A N/A self settings settings N/A N/A self url N/A settings url N/A N/A self check_mtime N/A getattr settings check_mtime False N/A N/A self check_etag N/A getattr settings check_etag False N/A N/A N/A self check_etag N/A N/A isinstance N/A self check_etag basestring N/A N/A N/A ValueError check_etag must name the etag algorithm N/A N/A N/A self prompt_for_credentials N/A N/A self fs N/A fsopendir N/A self url N/A prompt_for_credentials N/A N/A self N/A N/A N/A credentials N/A N/A N/A %(username)s N/A self url N/A N/A N/A Username:  N/A N/A credentials N/A username N/A N/A N/A input strip N/A N/A %(password)s N/A self url N/A N/A N/A credentials N/A password N/A N/A getpass getpass Password:  N/A credentials N/A N/A N/A self url N/A N/A self url credentials N/A publish N/A N/A self N/A N/A N/A N/A N/A N/A super PyFS self publish N/A deploy_fs N/A OSFS N/A N/A N/A N/A self site config deploy_root_path path N/A N/A dirnm local_filenms N/A N/A deploy_fs walk N/A N/A N/A N/A logger info Making directory: %s dirnm N/A N/A N/A N/A self fs makedir dirnm allow_recreate True N/A remote_fileinfos N/A N/A N/A self fs listdirinfo dirnm files_only True N/A filenm local_filenms N/A N/A filepath N/A pathjoin dirnm filenm N/A N/A nm info remote_fileinfos N/A N/A N/A nm filenm N/A N/A N/A N/A info N/A N/A N/A N/A self check_etag N/A etag info N/A N/A N/A N/A deploy_fs open filepath rb f N/A N/A local_etag N/A N/A self _calculate_etag f N/A N/A N/A info N/A etag local_etag N/A N/A N/A N/A logger info Skipping file [etag]: %s filepath N/A N/A N/A N/A self check_mtime N/A modified_time info N/A N/A local_mtime N/A N/A N/A deploy_fs getinfo filepath N/A modified_time N/A N/A N/A info N/A modified_time local_mtime N/A N/A N/A N/A logger info Skipping file [mtime]: %s filepath N/A N/A N/A N/A logger info Uploading file: %s filepath N/A N/A N/A deploy_fs open filepath rb f N/A N/A N/A N/A N/A self fs setcontents filepath f N/A N/A filenm info remote_fileinfos N/A N/A filepath N/A pathjoin dirnm filenm N/A N/A filenm local_filenms N/A N/A N/A N/A logger info Removing file: %s filepath N/A N/A N/A N/A self fs remove filepath N/A _calculate_etag N/A N/A self f N/A N/A N/A hasher N/A N/A getattr hashlib N/A N/A N/A self check_etag lower N/A data N/A N/A f read N/A 1024 64 N/A data N/A N/A N/A N/A hasher update data N/A data N/A N/A f read N/A 1024 64 N/A N/A N/A hasher hexdigest N/A N/A