indygreg / indygreg/python-zstandard

Provide runpy invocation in Python lib

Open
#186 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.