GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - deepghs/skpick: Picker

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
skpick
skpick
 
 
test
test
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
cloc.sh
cloc.sh
 
 
codecov.yml
codecov.yml
 
 
pytest.ini
pytest.ini
 
 
requirements-gpu.txt
requirements-gpu.txt
 
 
requirements-test.txt
requirements-test.txt
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

skpick

Picker for skpick, just bullshit

Installation

git clone https://github.com/deepghs/skpick.git
cd skpick
pip install -r requirements.txt

Usage

Extract from one zip file

from skpick.pick import pick_from_package

pick_from_package(
    '/your/package.zip',
    '/your/directory/to/save',
)

Extract from multiple zip file from a directory

from skpick.pick import pick_from_dir_of_packages

pick_from_dir_of_packages(
    '/your/packages/dir',
    '/your/directory/to/save',  # files from all the packages will be stored to this directory
)

Flatten all files (including archive files) to another directory

import os

from skpick.flatten import flatten_to_directory

src_dir = '/from/directory'
dst_dir = '/drive/f/ts'
os.makedirs(dst_dir, exist_ok=True)

if __name__ == '__main__':
    flatten_to_directory(src_dir, dst_dir)

About

Picker

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.