You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
723B

  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