OCaml codecs for Python INI file handling compatible with ConfigParser
at main 27 lines 847 B view raw
1(lang dune 3.21) 2(name init) 3 4(generate_opam_files true) 5 6(license ISC) 7(authors "Anil Madhavapeddy <anil@recoil.org>") 8(maintainers "Anil Madhavapeddy <anil@recoil.org>") 9(source (tangled anil.recoil.org/ocaml-init)) 10 11(package 12 (name init) 13 (synopsis "Declarative INI data manipulation for OCaml") 14 (description 15 "Init provides bidirectional codecs for INI files following Python's 16 configparser semantics. Features include multiline values, interpolation, 17 DEFAULT section inheritance, and layout preservation. 18 19 The core init library has no dependencies. The init.bytesrw 20 sub-library provides parsing/encoding with bytesrw. The init.eio 21 sub-library provides Eio file system integration.") 22 (depends 23 (ocaml (>= 4.14.0)) 24 (bytesrw (>= 0.1.0)) 25 (eio (>= 1.0)) 26 (bytesrw-eio (>= 0.1.0)) 27 (alcotest (and :with-test (>= 1.7.0)))))