Skip to main content

A simple tool for converting a folder to a file and the other way around.

Project description

🎒 Backpack (bkpk)

A super simple and lightweight zip alternative. No encryption, compression or anything, just a simple file packer and unpacker using the Python builtin pickle. Supports files of pretty much any type.

Installation

Pip (recommended)

pip install bkpk

or

python -m pip install bkpk

Manual (advanced users only)

git clone https://github.com/nsde/bkpk.git
python bkpk 

Please note that this won't create a shell command, so you need to write python /home/user/Downloads/bkpk/bkpk (replace the example with your according values!) instead of just bkpk. Linux users add rights to the bkpk.sh using sudo chmod +x bkpk.sh and copy the file using sudo cp bkpk.sh /usr/bin/bkpk

Commands

Zipping a folder / Creating a backpack

bkpk example/

This will create a example.bkpk in your current directory.

Unzipping a backpack

bkpk example.bkpk

This will create all directories and files which are stored in the backpack.

Python API

import bkpk

bkpk.save('example/')
bkpk.load('example.bkpk')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bkpk-0.2.24.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page