Zipminator is a lightweight Python package for compressing, encrypting, and deleting password-protected Pandas DataFrames.
Project description
Zipminator
Zipminator is a lightweight python package with two main functionalities; Zipndel or Unzipndel, for zipping or unzipping a password-protected pandas DataFrame file, and then deleting the original file.
Example usage
pip install zipminator
zipit
from zipminator.zipit import Zipndel
import pandas as pd
import getpass
import zipfile
import os
create instance of Zipndel and call zipit method
zipndel = Zipndel(file_name='df', file_format='csv')
df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6], 'C': [7, 8, 9]})
zipndel.zipit(df)
unzipit
from zipminator.unzipit import Unzipndel
create instance of Unzipndel and call unzipit method
unzipndel = Unzipndel(file_name='df', file_format='csv')
df = unzipndel.unzipit()
df
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zipminator-0.3.0.tar.gz
(31.8 kB
view hashes)
Built Distribution
zipminator-0.3.0-py3-none-any.whl
(42.9 kB
view hashes)
Close
Hashes for zipminator-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bdfc8669f2ca34a4338df3f951476474f791ab749680ce11aead7b8a2f26d31 |
|
MD5 | ec867b24ed37c544fb6244e26c39b58f |
|
BLAKE2b-256 | 601dd0dada40aae3f43cd90045c3e05dd5022fc47b6a55a543fa8fd39bc2d618 |