MCPcopy Create free account
hub / github.com/scanny/python-pptx / nsuri

Function nsuri

src/pptx/oxml/ns.py:109–117  ·  view source on GitHub ↗

Return the namespace URI corresponding to `nspfx`. Example: >>> nsuri("p") "http://schemas.openxmlformats.org/presentationml/2006/main"

(nspfx: str)

Source from the content-addressed store, hash-verified

107
108
109def nsuri(nspfx: str):
110 """Return the namespace URI corresponding to `nspfx`.
111
112 Example:
113
114 >>> nsuri("p")
115 "http://schemas.openxmlformats.org/presentationml/2006/main"
116 """
117 return _nsmap[nspfx]
118
119
120def qn(namespace_prefixed_tag: str) -> str:

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…