Buckets:
| import json, subprocess, sys, os | |
| assert len(sys.argv) >= 2 | |
| [_, pattern, *rest] = sys.argv | |
| print(subprocess.check_output( | |
| [ | |
| "python", | |
| os.path.join( | |
| os.path.dirname(os.path.realpath(__file__)), | |
| "json_schema_to_grammar.py"), | |
| *rest, | |
| "-", | |
| "--raw-pattern", | |
| ], | |
| text=True, | |
| input=json.dumps({ | |
| "type": "string", | |
| "pattern": pattern, | |
| }, indent=2))) | |
Xet Storage Details
- Size:
- 431 Bytes
- Xet hash:
- 3fe6605e5b6a906a7a77fc75c06dd09d61cf9247eb056b87c70658e080a4fda8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.