mkpfs 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mkpfs/__init__.py +4 -0
- mkpfs/__main__.py +21 -0
- mkpfs/cli.py +1063 -0
- mkpfs/consts.py +70 -0
- mkpfs/logging.py +64 -0
- mkpfs/pbar.py +103 -0
- mkpfs/pfs.py +4323 -0
- mkpfs/utils.py +111 -0
- mkpfs-0.0.1.dist-info/METADATA +1170 -0
- mkpfs-0.0.1.dist-info/RECORD +13 -0
- mkpfs-0.0.1.dist-info/WHEEL +4 -0
- mkpfs-0.0.1.dist-info/entry_points.txt +2 -0
- mkpfs-0.0.1.dist-info/licenses/LICENSE +674 -0
mkpfs/__init__.py
ADDED
mkpfs/__main__.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""MKPFS CLI main() hook."""
|
|
2
|
+
|
|
3
|
+
from mkpfs.cli import cli_mkpfs_main
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def main(argv: list[str] | None = None) -> int:
|
|
7
|
+
"""Entrypoint for ``python -m mkpfs``.
|
|
8
|
+
|
|
9
|
+
Args:
|
|
10
|
+
argv: Optional argument vector. When omitted, sys.argv is used by
|
|
11
|
+
the argument parser.
|
|
12
|
+
|
|
13
|
+
Returns:
|
|
14
|
+
The integer exit code from the CLI handler.
|
|
15
|
+
"""
|
|
16
|
+
return cli_mkpfs_main(argv)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# When executed as a script, run the main entrypoint.
|
|
20
|
+
if __name__ == "__main__":
|
|
21
|
+
raise SystemExit(main())
|