OpenLDAP の schema ファイルをパースします。
https://github.com/mypaceshun/openldap-schema-parser
https://openldap-schema-parser.readthedocs.io/ja/latest/
$ pip install openldap-schema-parser
Usage: schema-parser [OPTIONS] TARGET Options: --version Show the version and exit. -h, --help Show this message and exit. --expand-oid Expand ObjectIdentifier
from openldap_schema_parser.parser import parse result = parse("test.schema") print(result)