Skip to content

iscpy python3 library. Read and write to ISC-styled configuration file (DHCP, BIND)

License

Notifications You must be signed in to change notification settings

egberts/iscpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.5%
  • Red 21.5%