datamitsu 0.0.12__py3-none-win_arm64.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.
datamitsu/__init__.py ADDED
@@ -0,0 +1 @@
1
+
datamitsu/__main__.py ADDED
@@ -0,0 +1,6 @@
1
+ import sys
2
+
3
+ from .main import main
4
+
5
+ if __name__ == "__main__":
6
+ sys.exit(main())
datamitsu/bin/.keep ADDED
File without changes
datamitsu/main.py ADDED
@@ -0,0 +1,41 @@
1
+ import os
2
+ import platform
3
+ import sys
4
+
5
+ ISSUE_URL = "https://github.com/datamitsu/datamitsu/issues/new"
6
+ ARCH_MAPPING = {
7
+ "amd64": "x86_64",
8
+ "x86_64": "x86_64",
9
+ "aarch64": "arm64",
10
+ "arm64": "arm64",
11
+ }
12
+
13
+
14
+ def main():
15
+ os_name = platform.system().lower()
16
+ arch = platform.machine().lower()
17
+ arch = ARCH_MAPPING.get(arch, arch)
18
+ ext = ".exe" if os_name == "windows" else ""
19
+ subfolder = f"datamitsu-{os_name}-{arch}"
20
+ executable = os.path.join(
21
+ os.path.dirname(__file__), "bin", subfolder, "datamitsu" + ext
22
+ )
23
+ if not os.path.isfile(executable):
24
+ print(
25
+ f"Couldn't find binary {executable}. "
26
+ f"Please create an issue: {ISSUE_URL}",
27
+ file=sys.stderr,
28
+ )
29
+ return 1
30
+
31
+ if os_name == "windows":
32
+ import subprocess
33
+
34
+ result = subprocess.run([executable] + sys.argv[1:])
35
+ sys.exit(result.returncode)
36
+ else:
37
+ try:
38
+ os.execvp(executable, [executable] + sys.argv[1:])
39
+ except OSError as e:
40
+ print(f"Failed to execute {executable}: {e}", file=sys.stderr)
41
+ return 1
@@ -0,0 +1,85 @@
1
+ Metadata-Version: 2.4
2
+ Name: datamitsu
3
+ Version: 0.0.12
4
+ Summary: Configuration management and binary distribution tool. JavaScript-configurable tool orchestration written in Go.
5
+ Project-URL: Documentation, https://datamitsu.com
6
+ Project-URL: Homepage, https://github.com/datamitsu/datamitsu
7
+ Project-URL: Issues, https://github.com/datamitsu/datamitsu/issues
8
+ Project-URL: Repository, https://github.com/datamitsu/datamitsu
9
+ Author-email: Alexander Svinarev <shibanet0@gmail.com>
10
+ License: MIT
11
+ Keywords: binary,config,datamitsu,golangci-lint,lefthook,linter,tools
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Software Development :: Quality Assurance
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+
26
+ # datamitsu - Python Package
27
+
28
+ Configuration management and binary distribution tool. JavaScript-configurable tool orchestration written in Go.
29
+
30
+ ## Installation
31
+
32
+ Install via uv:
33
+
34
+ ```bash
35
+ uv pip install datamitsu
36
+ ```
37
+
38
+ Or use uv tool for global installation:
39
+
40
+ ```bash
41
+ uv tool install datamitsu
42
+ ```
43
+
44
+ ## Usage
45
+
46
+ After installation, the `datamitsu` and `dm` commands are available:
47
+
48
+ ```bash
49
+ # Initialize datamitsu in your project
50
+ datamitsu init
51
+
52
+ # Run checks (fix + lint)
53
+ datamitsu check
54
+
55
+ # Fix issues automatically
56
+ datamitsu fix
57
+
58
+ # Lint without fixing
59
+ datamitsu lint
60
+
61
+ # Get version
62
+ datamitsu version
63
+ ```
64
+
65
+ You can also run datamitsu as a Python module:
66
+
67
+ ```bash
68
+ python -m datamitsu version
69
+ ```
70
+
71
+ ## Documentation
72
+
73
+ For full documentation, visit: https://datamitsu.com
74
+
75
+ ## Platform Support
76
+
77
+ This package includes pre-compiled binaries for:
78
+
79
+ - Linux (x86_64, ARM64)
80
+ - macOS (x86_64, ARM64)
81
+ - Windows (x86_64, ARM64)
82
+
83
+ ## License
84
+
85
+ MIT License - see https://github.com/datamitsu/datamitsu/blob/main/LICENSE
@@ -0,0 +1,9 @@
1
+ datamitsu/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
+ datamitsu/__main__.py,sha256=cwKJAAML0RRKT9Qbzcwf07HHcuSd8oh7kx4P1apndWQ,84
3
+ datamitsu/main.py,sha256=MhDAz6XsNEOEHRIVciBwA6r0xHSuVmUbTosiUuLAIhY,1127
4
+ datamitsu/bin/.keep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ datamitsu/bin/datamitsu-windows-arm64/datamitsu.exe,sha256=Tz_BOsGMQCLZA26oM3GmcxfeW5ZyxL6oU0t_tmpoFJo,23164416
6
+ datamitsu-0.0.12.dist-info/METADATA,sha256=S5-T2ectiDrJVsJ4KxDxGcVWovGB7Lvph_6BZBOo5ec,2165
7
+ datamitsu-0.0.12.dist-info/WHEEL,sha256=rYzjjqDxNfVoaAzib_XKsKilV1MJuYNAv8Q2Faxx1ys,93
8
+ datamitsu-0.0.12.dist-info/entry_points.txt,sha256=ADRp3f54ecPf5Uiz2ag-Hq1VfZEWeqqVoSdXal62bHA,75
9
+ datamitsu-0.0.12.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-win_arm64
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ datamitsu = datamitsu.main:main
3
+ dm = datamitsu.main:main