sourcemeta-jsonschema 12.9.2__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.

Potentially problematic release.


This version of sourcemeta-jsonschema might be problematic. Click here for more details.

File without changes
@@ -0,0 +1,20 @@
1
+ import os, platform, subprocess, sys
2
+
3
+ def main():
4
+ arch_map = {
5
+ 'amd64': 'x86_64'
6
+ }
7
+
8
+ system = platform.system().lower()
9
+ arch = platform.machine().lower()
10
+ arch = arch_map.get(arch, arch)
11
+ key = f"{system}-{arch}"
12
+ fn = f"jsonschema-{key}.exe" if system=="windows" else f"jsonschema-{key}"
13
+ path = os.path.join(os.path.dirname(__file__), fn)
14
+ if not os.path.exists(path):
15
+ print(f"Unsupported platform: {key}", file=sys.stderr)
16
+ sys.exit(1)
17
+ subprocess.run([path]+sys.argv[1:], check=True)
18
+
19
+ if __name__=="__main__":
20
+ main()
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: sourcemeta_jsonschema
3
+ Version: 12.9.2
4
+ Summary: The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines
5
+ Home-page: https://github.com/sourcemeta/jsonschema
6
+ Author: Sourcemeta
7
+ Author-email: hello@sourcemeta.com
8
+ License: AGPL-3.0
9
+ Requires-Python: >=3.7
10
+ Dynamic: author
11
+ Dynamic: author-email
12
+ Dynamic: home-page
13
+ Dynamic: license
14
+ Dynamic: requires-python
15
+ Dynamic: summary
@@ -0,0 +1,12 @@
1
+ sourcemeta_jsonschema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ sourcemeta_jsonschema/__main__.py,sha256=W5sT5vV3s5m8-v6bF06S5Tca8m2BDL06L1vxUUgr490,594
3
+ sourcemeta_jsonschema/jsonschema-darwin-arm64,sha256=jrBE72cHiwnj8dZndHlFLtuWLf46SyOEXUeqaw3Hxdo,4946728
4
+ sourcemeta_jsonschema/jsonschema-darwin-x86_64,sha256=TIbYfCYPSVz_KZHLO6l16LXXHEsVaDte4tyvU4HF8vY,5366624
5
+ sourcemeta_jsonschema/jsonschema-linux-arm64,sha256=Nr3C9AG2bFu1Q84OZGBlVvy96IhD_24vPNvq6PpPN9o,6794752
6
+ sourcemeta_jsonschema/jsonschema-linux-x86_64,sha256=lOoyqECk-zVsHm_7m805a6-W9h4IJWJElfG7wC1iD5w,7763208
7
+ sourcemeta_jsonschema/jsonschema-windows-x86_64.exe,sha256=lRr5jRhsIY7XvuLPgqhpooNr5Ts93200Sx_RTCPrdIk,3883520
8
+ sourcemeta_jsonschema-12.9.2.dist-info/METADATA,sha256=uCSUK7wKap39BsioDs452qQDy3vsuoXscWdM2iGVZrA,474
9
+ sourcemeta_jsonschema-12.9.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ sourcemeta_jsonschema-12.9.2.dist-info/entry_points.txt,sha256=rDMOsvsXgScs1CMHTPSpNwb_1pZjgoNGHaBHZO74C50,67
11
+ sourcemeta_jsonschema-12.9.2.dist-info/top_level.txt,sha256=RM8Cvr1ERjL0V44CFy7Kw4wGLZ_oGv8R6ndpHez2fTU,22
12
+ sourcemeta_jsonschema-12.9.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ jsonschema = sourcemeta_jsonschema.__main__:main
@@ -0,0 +1 @@
1
+ sourcemeta_jsonschema