Docci

Latest version: v1.1.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3.0

Added

- docci.file.FileAttachment.name - name without restricted chars like \/:*?"<>|
- docci.file.FileAttachment.mimetype - mimetype like application/octet-stream from extension
- docci.file.list_dir_files - return directory name and its files as FileAttachment
- docci.zip.raw_to_zip - convert path, bytes, stream, FileAttachment to ZipFile
- docci.zip.zip_files - zip files into single archive
- docci.zip.zip_dirs - zip directories into single archive

0.2.0

Added

- docci.file.FileAttachment.content_disposition - convert name to Content-Disposition urlencoded headed

0.1.0

Added

- docci.file.FileAttachment - base class for document management - dataclass of file name and content
- docci.file.FileAttachment.content_stream - convert content to BytesIO stream
- docci.file.FileAttachment.content_base64 - convert content to base64 binary string
- docci.file.FileAttachment.load_from_base64 - decode base64 str, create FileAttachment with decoded content
- docci.file.FileAttachment.load/save - load/save FileAttachment to disk
- docci.file.FileAttachment.extension - return FileAttachment name extension
- docci.file.FileAttachment.name_without_extension - return FileAttachment name without extension
- docci.file.extract_file_name - extract file name from path
- docci.zip.list_zip_files - list zip archive files as FileAttachment

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.