__init__.py 723 B

12345678910111213141516171819202122232425
  1. """Python module which parses and emits TOML.
  2. Released under the MIT license.
  3. """
  4. from toml import encoder
  5. from toml import decoder
  6. __version__ = "0.10.2"
  7. _spec_ = "0.5.0"
  8. load = decoder.load
  9. loads = decoder.loads
  10. TomlDecoder = decoder.TomlDecoder
  11. TomlDecodeError = decoder.TomlDecodeError
  12. TomlPreserveCommentDecoder = decoder.TomlPreserveCommentDecoder
  13. dump = encoder.dump
  14. dumps = encoder.dumps
  15. TomlEncoder = encoder.TomlEncoder
  16. TomlArraySeparatorEncoder = encoder.TomlArraySeparatorEncoder
  17. TomlPreserveInlineDictEncoder = encoder.TomlPreserveInlineDictEncoder
  18. TomlNumpyEncoder = encoder.TomlNumpyEncoder
  19. TomlPreserveCommentEncoder = encoder.TomlPreserveCommentEncoder
  20. TomlPathlibEncoder = encoder.TomlPathlibEncoder