Skip to main content

jezip-tar

A package for save zip/tar file in memory buffer(not write in file)

Usage:

from jezt import ZipFile MyZip = ZipFile()  
# The Type of the ZipFile:  
# MyZip = ZipFile(ZipFile.BZIP) BZIP, LZMA, DELATED, STORED(default DEFLATED)  
MyZip.add('fn1', 'bytes or str') MyZip.get('fn1')  
# 'bytes or str' MyZip.addf('myfile.txt')  
MyZip.get('myfile.txt') # The content of the file  
# Save the zip file  
import io  
bf = io.BytesIO() # Also can be io.FileIO(filename, 'wb')  
MyZip.flush(bf)  
# if there's no IO given, return a BytesIO object  
bf.getvalue()  # The content of the file The TarFile is the same  

Release files for jetar-zip 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jetar-zip 0.0.4
File Size Uploaded
jetar-zip-0.0.4.linux-armv7l.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jetar-zip 0.0.4
File Interpreter ABI Platform
jetar_zip-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / jetar-zip-0.0.4.linux-armv7l.tar.gz

Download URL jetar-zip-0.0.4.linux-armv7l.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ed96dd59c2b68f480c0f3e230c895b7772cf0fadd6ffb5b3d5da02aefc2530fa
BLAKE2b-256 checksum
How to use checksums
2e35c5275b11ba4ff39d9ac41b1f8cf9ec332dab221b94aa37070bed71bcdfdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.4

Release files / jetar_zip-0.0.4-py3-none-any.whl

Download URL jetar_zip-0.0.4-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41cdd4f25eb83a8f76578363e5a0cb421d980d17dc368c6c1f28a1727e213a09
BLAKE2b-256 checksum
How to use checksums
74cf03702e4911903c7021856dc6c7f20d09874521c9efa8913788c659096af9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page