indygreg / indygreg/python-zstandard
Provide runpy invocation in Python lib
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 642
- Forks
- 116
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 5
Description
It would be nice if there were a way to invoke python -m zstandard and get behavior similar to python -m zipfile or even better something like what the tar command offers. The primary use-case would be to enable decompressing and extracting all files from a .tar.zst without needing to copy several lines of Python, lines which can't be re-written as as a series of expressions as a parameter to python -c.
I'd be happy with just support for -e <zst_file> [output_dir].
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the package entry point for python -m zstandard and any existing command-line or extraction code. Compare the requested behavior with python -m zipfile and tar; support the stated -e <zst_file> [output_dir] use case and verify that a .tar.zst can be decompressed and extracted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100