Summary :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = ["git-big-picture==1.3.0", "pygraphviz==2.0.3"] | |
| # /// | |
| """Revision graph styled like TortoiseGit, drawn by git-big-picture + Graphviz. | |
| Colors and node style are TortoiseGit's defaults, taken from its source | |
| (src/TortoiseProc/Colors.cpp and src/Utils/Graphviz.cpp). | |
| Graphviz comes bundled in the pygraphviz wheel, so it does not need to be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fsspec | |
| import xarray as xr | |
| import xpublish | |
| from xpublish.routers import base_router, zarr_router | |
| from xpublish_wms import cf_wms_router | |
| fp = "arpege.json" | |
| fs = fsspec.filesystem("reference", fo=str(fp)) | |
| m = fs.get_mapper("") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import shutil | |
| from pathlib import Path | |
| import xarray as xr | |
| import fsspec | |
| import ujson | |
| from kerchunk.grib2 import scan_grib | |
| from kerchunk.combine import MultiZarrToZarr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Put relative path in mp3u music playlists | |
| """ | |
| import os | |
| import shutil | |
| PLAYLIST_BASE_DIR = '/home/cloud/steph/files/Musique/' | |
| SOURCE_BASEPATH = 'C:\\Bench\\cloud\\Musique\\' |