init: 폴더구조 설계 및 인프라 설계

This commit is contained in:
DongHyeonka
2026-07-24 14:31:53 +09:00
parent 34ad612281
commit f9c463f87a
1839 changed files with 323096 additions and 1 deletions
@@ -0,0 +1,20 @@
"""Objects shared by modules in the pptx.opc sub-package."""
from __future__ import annotations
class CaseInsensitiveDict(dict):
"""Mapping type like dict except it matches key without respect to case.
For example, D['A'] == D['a']. Note this is not general-purpose, just complete
enough to satisfy opc package needs. It assumes str keys for example.
"""
def __contains__(self, key):
return super(CaseInsensitiveDict, self).__contains__(key.lower())
def __getitem__(self, key):
return super(CaseInsensitiveDict, self).__getitem__(key.lower())
def __setitem__(self, key, value):
return super(CaseInsensitiveDict, self).__setitem__(key.lower(), value)