# iscpy **Repository Path**: strong-heweiwei/iscpy ## Basic Information - **Project Name**: iscpy - **Description**: iscpy python3 library. Read and write to ISC-styled configuration file (DHCP, BIND) - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-11 - **Last Updated**: 2024-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python3-iscpy iscpy Python3 library. Reads and writes ISC-syled configuration files such as ISC BIND8/BIND9 and ISC-DHCP server/client. Additional features such as adding zone and write to file ## Usage ``` ParseISCString(isc_string) ``` Returns `parsed bind config file` in python dictionary format(ISC dictionary) and `keys` without childkeys e.g. include ``` AddZone(json_zone, isc_dict) ``` Adding zone. Input is in json string. Returns ISC dictionary with added zone. This method doesn't include writing to output file ``` WriteToFile(isc_dict, isc_specialkeys, filename) ``` Write ISC dictionary to a file