FMM Directory Compressor
Compress a directory into a single .FSA file. This library was build for the Filmage Media Manager to create project directory structures.
Installation
Linux
Debian/Ubuntu
sudo apt-get install fmm-directory-compressor
Python API
pip install fmmpy-directory-compressor
Note the pip refers to the Python 3 package manager. In environment where Python 2 is also available the correct command may be pip3.
Usage
CLI
Compress directory
fmm-directory-compressor compress-directory path/to/src path/to/dst
You'll be asked to provide a filename. A .fsa file will be generated.
If you are using windows, the compression might fail when your source directory contains paths that are longer than 260 characters. These file paths can be ignored with the --skip-long-paths flag, but with this method these files/directories wont be present in the compressed file.
Decompress directory
fmm-directory-compressor decompress-directory path/to/file.fsa path/to/dst
You'll be asked to provide a root directory name. The directory structure will be rebuild.
Python API
The python wrapper yields the same functionality as the CLI application. Just include the library and you're ready to go.
import fmm_directory_compressor
## Compress directory
fmm_directory_compressor.compress_directory("path/to/src", "yourfilename", "path/to/dst")
## Decompress directory
fmm_directory_compressor.decompress_directory("root-directory-name", "path/to/yourfile.fsa", "path/to/dst")
Support
If you found a problem with the software, please create an issue on GitHub.
Maintainer
This project is maintained by Wibo Kuipers.
The source has been setup to work with Linux and Windows. Mac OS has not been tested yet.
Metadata
Release files for fmmpy-directory-compressor 0.1.0.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fmmpy-directory-compressor-0.1.0.post2.tar.gz | 4.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fmmpy_directory_compressor-0.1.0.post2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 MB
Release files / fmmpy-directory-compressor-0.1.0.post2.tar.gz
| Download URL | fmmpy-directory-compressor-0.1.0.post2.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0206af2ca383565694e9061ab520f21c1c953ba2e11c6407670ee9dd354064e7
|
|
BLAKE2b-256 checksum How to use checksums |
1633dd7bda3e2ada8408cbd0f325a4530a3b3258bbbd60ff9a7c8246ebd5b7b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / fmmpy_directory_compressor-0.1.0.post2-py3-none-any.whl
| Download URL | fmmpy_directory_compressor-0.1.0.post2-py3-none-any.whl |
|---|---|
| Size | 4.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa6525d2de8b056c4e630216d6c4f9e3b6c76472af1094c4e2c3c0db5ed944dc
|
|
BLAKE2b-256 checksum How to use checksums |
ec1b07e6255d1716ac8d68679db4b2064a1233e75a1e3cd490a36abb5b293a55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|