# 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
```python
from zipminator.zipit import Zipndel
import pandas as pd
import getpass
import zipfile
import os
```
### create instance of Zipndel and call zipit method
```python
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
```python
from zipminator.unzipit import Unzipndel
```
### create instance of Unzipndel and call unzipit method
```python
unzipndel = Unzipndel(file_name='df', file_format='csv')
df = unzipndel.unzipit()
df
```
Raw data
{
"_id": null,
"home_page": "https://qdaria.github.io/zipminator/",
"name": "zipminator",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "pandas,compression,encryption,data-security",
"author": "Daniel Mo Houshmand",
"author_email": "mo@qdaria.com",
"download_url": "https://files.pythonhosted.org/packages/1b/b3/4ca0e5b818c2b68b4f7480f471c471de0a3484bade49c9587758d2ecd883/zipminator-0.3.0.tar.gz",
"platform": null,
"description": "# Zipminator\n\nZipminator 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.\n\n\n# Example usage\n`pip install zipminator`\n## zipit\n\n```python\nfrom zipminator.zipit import Zipndel\nimport pandas as pd\nimport getpass\nimport zipfile\nimport os\n```\n\n### create instance of Zipndel and call zipit method\n\n```python\nzipndel = Zipndel(file_name='df', file_format='csv')\ndf = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6], 'C': [7, 8, 9]})\nzipndel.zipit(df)\n```\n\n## unzipit\n\n```python\nfrom zipminator.unzipit import Unzipndel\n```\n\n### create instance of Unzipndel and call unzipit method\n\n```python\nunzipndel = Unzipndel(file_name='df', file_format='csv')\ndf = unzipndel.unzipit()\ndf\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Zipminator is a lightweight Python package for compressing, encrypting, and deleting password-protected Pandas DataFrames.",
"version": "0.3.0",
"split_keywords": [
"pandas",
"compression",
"encryption",
"data-security"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "601dd0dada40aae3f43cd90045c3e05dd5022fc47b6a55a543fa8fd39bc2d618",
"md5": "ec867b24ed37c544fb6244e26c39b58f",
"sha256": "3bdfc8669f2ca34a4338df3f951476474f791ab749680ce11aead7b8a2f26d31"
},
"downloads": -1,
"filename": "zipminator-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec867b24ed37c544fb6244e26c39b58f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 42930,
"upload_time": "2023-03-12T23:26:03",
"upload_time_iso_8601": "2023-03-12T23:26:03.935610Z",
"url": "https://files.pythonhosted.org/packages/60/1d/d0dada40aae3f43cd90045c3e05dd5022fc47b6a55a543fa8fd39bc2d618/zipminator-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1bb34ca0e5b818c2b68b4f7480f471c471de0a3484bade49c9587758d2ecd883",
"md5": "da07457351fe1240531b71f5657acf9e",
"sha256": "5b9db20539ec8a4d77ba25fa930563b0bde9430433028e7288b08931de3a7f7c"
},
"downloads": -1,
"filename": "zipminator-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "da07457351fe1240531b71f5657acf9e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 31838,
"upload_time": "2023-03-12T23:26:05",
"upload_time_iso_8601": "2023-03-12T23:26:05.607456Z",
"url": "https://files.pythonhosted.org/packages/1b/b3/4ca0e5b818c2b68b4f7480f471c471de0a3484bade49c9587758d2ecd883/zipminator-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-12 23:26:05",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "zipminator"
}