Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / yaml / __init__.pyc
Size: Mime:
ó
íEYc@sddlTddlTddlTddlTddlTddlTdZyddlTeZ	Wne
k
roeZ	nXed„Z
ed„Zed„Zed„Zed„Zed„Zd	„Zd
„Zdedddddd„Zdeddddddddddd
„Zded„Zdeddddddddddddd„Zded„Zdd„Zdd„Zdeed„Zdeed„Zed„Z ed„Z!ed„Z"ed„Z#de$fd„ƒYZ%de&fd„ƒYZ'dS(iÿÿÿÿ(t*s3.12ccs@||ƒ}z"x|jƒr,|jƒVqWWd|jƒXdS(s9
    Scan a YAML stream and produce scanning tokens.
    N(tcheck_tokent	get_tokentdispose(tstreamtLoadertloader((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytscans
ccs@||ƒ}z"x|jƒr,|jƒVqWWd|jƒXdS(s9
    Parse a YAML stream and produce parsing events.
    N(tcheck_eventt	get_eventR(RRR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytparses
cCs,||ƒ}z|jƒSWd|jƒXdS(sj
    Parse the first YAML document in a stream
    and produce the corresponding representation tree.
    N(tget_single_nodeR(RRR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytcompose)sccs@||ƒ}z"x|jƒr,|jƒVqWWd|jƒXdS(sb
    Parse all YAML documents in a stream
    and produce corresponding representation trees.
    N(t
check_nodetget_nodeR(RRR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytcompose_all4s
cCs,||ƒ}z|jƒSWd|jƒXdS(sd
    Parse the first YAML document in a stream
    and produce the corresponding Python object.
    N(tget_single_dataR(RRR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytload@sccs@||ƒ}z"x|jƒr,|jƒVqWWd|jƒXdS(s\
    Parse all YAML documents in a stream
    and produce corresponding Python objects.
    N(t
check_datatget_dataR(RRR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytload_allKs
cCs
t|tƒS(s†
    Parse the first YAML document in a stream
    and produce the corresponding Python object.
    Resolve only basic YAML tags.
    (Rt
SafeLoader(R((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyt	safe_loadWscCs
t|tƒS(s~
    Parse all YAML documents in a stream
    and produce corresponding Python objects.
    Resolve only basic YAML tags.
    (RR(R((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyt
safe_load_all_scCs¢d}|dkr7ddlm}	|	ƒ}|j}n||d|d|d|d|d|ƒ}
z"x|D]}|
j|ƒqkWWd|
jƒX|rž|ƒSdS(	sl
    Emit YAML parsing events into a stream.
    If stream is None, return the produced string instead.
    iÿÿÿÿ(tStringIOt	canonicaltindenttwidtht
allow_unicodet
line_breakN(tNoneRtgetvaluetemitR(teventsRtDumperRRRRRRRtdumpertevent((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyR gs	
sutf-8c
Csód
}
|d
krV|d
kr1ddlm}nddlm}|ƒ}|j}
n||d|d|d|d|d|d|d	|d
|d|	d|
ƒ
}z6|jƒx|D]}|j|ƒq²W|jƒWd
|jƒX|
rï|
ƒSd
S(s…
    Serialize a sequence of representation trees into a YAML stream.
    If stream is None, return the produced string instead.
    iÿÿÿÿ(RRRRRRtencodingtversionttagstexplicit_starttexplicit_endN(RRt	cStringIORtopent	serializetcloseR(tnodesRR"RRRRRR%R(R)R&R'RRR#tnode((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyt
serialize_all}s&		

cKst|g|d||S(sx
    Serialize a representation tree into a YAML stream.
    If stream is None, return the produced string instead.
    R"(R0(R/RR"tkwds((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyR,œscCsÿd}|dkrV|
dkr1ddlm}nddlm}|ƒ}|j}n||d|d|d|d|d|d|d	|	d
|
d|
d|d
|d|ƒ}z6|jƒx|D]}|j|ƒq¾W|jƒWd|jƒX|rû|ƒSdS(s
    Serialize a sequence of Python objects into a YAML stream.
    If stream is None, return the produced string instead.
    iÿÿÿÿ(Rt
default_styletdefault_flow_styleRRRRRR%R&R'R(R)N(RRR*RR+t	representR-R(t	documentsRR"R2R3RRRRRR%R(R)R&R'RRR#tdata((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytdump_all£s*
	

cKst|g|d||S(sr
    Serialize a Python object into a YAML stream.
    If stream is None, return the produced string instead.
    R"(R7(R6RR"R1((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pytdumpÅscKst||dt|S(s¡
    Serialize a sequence of Python objects into a YAML stream.
    Produce only basic YAML tags.
    If stream is None, return the produced string instead.
    R"(R7t
SafeDumper(R5RR1((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyt
safe_dump_allÌscKst|g|dt|S(s”
    Serialize a Python object into a YAML stream.
    Produce only basic YAML tags.
    If stream is None, return the produced string instead.
    R"(R7R9(R6RR1((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyt	safe_dumpÔscCs*|j|||ƒ|j|||ƒdS(sÙ
    Add an implicit scalar detector.
    If an implicit scalar value matches the given regexp,
    the corresponding tag is assigned to the scalar.
    first is a sequence of possible initial characters or None.
    N(tadd_implicit_resolver(ttagtregexptfirstRR"((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyR<ÜscCs*|j|||ƒ|j|||ƒdS(sÁ
    Add a path based resolver for the given tag.
    A path is a list of keys that forms a path
    to a node in the representation tree.
    Keys can be string values, integers, or None.
    N(tadd_path_resolver(R=tpathtkindRR"((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyR@çscCs|j||ƒdS(s¯
    Add a constructor for the given tag.
    Constructor is a function that accepts a Loader instance
    and a node object and produces the corresponding Python object.
    N(tadd_constructor(R=tconstructorR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRCñscCs|j||ƒdS(s
    Add a multi-constructor for the given tag prefix.
    Multi-constructor is called for a node if its tag starts with tag_prefix.
    Multi-constructor accepts a Loader instance, a tag suffix,
    and a node object and produces the corresponding Python object.
    N(tadd_multi_constructor(t
tag_prefixtmulti_constructorR((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyREùscCs|j||ƒdS(sÍ
    Add a representer for the given type.
    Representer is a function accepting a Dumper instance
    and an instance of the given data type
    and producing the corresponding representation node.
    N(tadd_representer(t	data_typetrepresenterR"((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRHscCs|j||ƒdS(sÞ
    Add a representer for the given type.
    Multi-representer is a function accepting a Dumper instance
    and an instance of the given data type or subtype
    and producing the corresponding representation node.
    N(tadd_multi_representer(RItmulti_representerR"((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRKstYAMLObjectMetaclasscBseZdZd„ZRS(s'
    The metaclass for YAMLObject.
    cCsntt|ƒj|||ƒd|krj|ddk	rj|jj|j|jƒ|jj	||j
ƒndS(Ntyaml_tag(tsuperRMt__init__Rtyaml_loaderRCRNt	from_yamltyaml_dumperRHtto_yaml(tclstnametbasesR1((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRPs(t__name__t
__module__t__doc__RP(((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRMst
YAMLObjectcBs\eZdZeZdZeZeZ	dZdZd„Z
ee
ƒZ
d„ZeeƒZRS(sa
    An object that can dump itself to a YAML stream
    and load itself from a YAML stream.
    cCs|j||ƒS(sC
        Convert a representation node to a Python object.
        (tconstruct_yaml_object(RURR/((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRR-scCs|j|j||d|jƒS(sC
        Convert a Python object to a representation node.
        t
flow_style(trepresent_yaml_objectRNtyaml_flow_style(RUR#R6((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyRT4s(N(RXRYRZRMt
__metaclass__t	__slots__RRQR"RSRRNR_RRtclassmethodRT(((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyR[s		N((terrorttokensR!R.RR#t__version__tcyamltTruet__with_libyaml__tImportErrortFalseRRR
RRRRRRRR"R R0R,R7R8R:R;R<R@RCRERHRKttypeRMtobjectR[(((sB/home/tvault/.virtenv/lib/python2.7/site-packages/yaml/__init__.pyt<module>s\