Skip to content

Add a compress_file() convenience method #32

@tiwaleja

Description

@tiwaleja

For CLI and scripting use cases it would be nice to have:

result = engine.compress_file("path/to/large_output.json")

Instead of manually reading + passing to compress(). The method could auto-detect content type from the file extension and handle encoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions