Welcome to openldap-schema-parser's documentation!¶
openldap-schema-parser¶
OpenLDAP の schema ファイルをパースします。
Repository¶
Document¶
Install¶
$ pip install openldap-schema-parser
Command Usage¶
Usage: schema-parser [OPTIONS] TARGET
Options:
--version Show the version and exit.
-h, --help Show this message and exit.
--expand-oid Expand ObjectIdentifier
Library Usage¶
from openldap_schema_parser.parser import parse
result = parse("test.schema")
print(result)
本モジュールはOpenLDAPで利用されるschemaファイルを構文解析し、 Pythonで扱えるクラスに変換するためのモジュールです。
schemaファイルに関しては以下のドキュメントを参照してください。 https://www.openldap.org/doc/admin25/schema.html