Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for compressed archives #26

Open
Teque5 opened this issue Sep 8, 2023 · 2 comments
Open

Support for compressed archives #26

Teque5 opened this issue Sep 8, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Teque5
Copy link
Collaborator

Teque5 commented Sep 8, 2023

Back when this repo was the spec, we considered it out-of-scope to handle the compression side, but I think if we wanted we could support .sigmf.7z and .sigmf.zip files with this module. If anyone thinks this is a good idea I can work up a PR.

@aromanielloNTIA
Copy link
Contributor

This would be an excellent addition!

@Teque5 Teque5 added enhancement New feature or request help wanted Extra attention is needed labels Dec 20, 2024
@Teque5
Copy link
Collaborator Author

Teque5 commented Jan 7, 2025

For my own reference this can easily be done with our existing implementation using tarfile.TarFile which should allow x.sigmf.gz, x.sigmf.bz2, and x.sigmf.xz.

To allow x.sigmf.zip I believe we would need to use the similar zipfile.ZipFile object.

To allow x.sigmf.7z I see there is py7zr.SevenZipFile although I need to investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants