from collections import OrderedDict
from toml import TomlEncoder
from toml import TomlDecoder
class TomlOrderedDecoder(TomlDecoder):
def __init__(self):
super(self.__class__, self).__init__(_dict=OrderedDict)
class TomlOrderedEncoder(TomlEncoder):
def __init__(self):
super(self.__class__, self).__init__(_dict=OrderedDict)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 723 B | 0644 |
|
| decoder.py | File | 38.03 KB | 0644 |
|
| encoder.py | File | 9.71 KB | 0644 |
|
| ordered.py | File | 354 B | 0644 |
|
| tz.py | File | 701 B | 0644 |
|