https://github.com/jonathanporta/safe_extractor
Some code that supposedly extracts zip/tar archives safely.
https://github.com/jonathanporta/safe_extractor
Last synced: over 1 year ago
JSON representation
Some code that supposedly extracts zip/tar archives safely.
- Host: GitHub
- URL: https://github.com/jonathanporta/safe_extractor
- Owner: JonathanPorta
- Created: 2017-11-19T06:55:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:45:30.000Z (over 3 years ago)
- Last Synced: 2025-02-25T16:47:54.839Z (over 1 year ago)
- Language: Shell
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# safe_extractor
Some code that supposedly extracts zip/tar archives safely.
No guarantees.
## Install
`pip install safe_extractor`
## Usage
```
from safe_extractor import safe_extractor
safe_extractor.untar_it("myfile.tar.gz", extract_path='.')
safe_extractor.unzip_it("myfile.zip", extract_path='.')
```