pertype 0.1.0__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.
pertype/__init__.py ADDED
@@ -0,0 +1,10 @@
1
+ # SPDX-License-Identifier: AGPL-3.0-or-later
2
+ # Copyright (C) 2026 Craig Beech. Dual-licensed: AGPL-3.0-or-later, or a commercial license
3
+ # (see COMMERCIAL.md). This program is free software under the AGPL; see LICENSE.
4
+ """Per-file-type trained lossless pertype.
5
+
6
+ A trained dictionary + LZ + arithmetic-coding pipeline for text/byte data, plus specialist
7
+ codecs for images, audio, video, scientific arrays, columnar records and delimited tables.
8
+ See ``pertype.cli`` (the ``pertype`` command) and ``README.md``.
9
+ """
10
+ __version__ = "0.1.0"
pertype/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ """Entry point for ``python -m pertype`` (mirrors the installed ``pertype`` command)."""
2
+ from pertype.cli import main
3
+
4
+ if __name__ == "__main__":
5
+ main()