Welcome to openldap-schema-parser's documentation!

PyPI - Python Version https://badge.fury.io/py/openldap-schema-parser.svg https://github.com/mypaceshun/openldap-schema-parser/workflows/Test/badge.svg?branch=main&event=push https://codecov.io/gh/mypaceshun/openldap-schema-parser/branch/main/graph/badge.svg?token=1H6ZVS122O https://static.pepy.tech/badge/openldap-schema-parser Documentation Status

openldap-schema-parser

OpenLDAP の schema ファイルをパースします。

Repository

https://github.com/mypaceshun/openldap-schema-parser

Document

https://openldap-schema-parser.readthedocs.io/ja/latest/

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

Document

API Reference

Chagelog