Do you plan to make this an installable module?
This tool is still more useful and better than the quite popular https://github.com/dbohdan/remarshal
Do you plan to make this an installable module?
This tool is still more useful and better than the quite popular https://github.com/dbohdan/remarshal
Thanks for your attention.
To be honest, I have never thought about it as I always use it from the commandline.
I'll think about it, but please don't hold you breath.
Just thinking aloud here:
I think it would be useful if each serialization method had its own file with a common API.
I think the current structure is OK. The main missing bit for API usage is a config object helper, which would be something like:
def build_config(input, output, **kwargs):
return SimpleNamespace(
input=input,
output=output,
force=False,
sort=False,
color=None,
).update(kwargs)
The other important aspect is tests, but that isnt necessary for the first PyPI release. Creating the tests might be a bit easier with some restructuring to make a common API, but I think that could be a gradual thing done in private modules until the new structure is ready to be made public.
Thanks!
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?