Xontrib-macro

Latest version: v0.3.5

Safety actively analyzes 627364 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.5

Fix links.

0.3.4

Added `format` to `data.Write`:

xsh
from xontrib.macro.data import Write

with! Write('/tmp/t/hello.xsh', chmod=0o700, replace=True, makedir=True, format={'name': 'world'}, verbose=True):
echo {name}

Make directories: /tmp/t
Write to file: /tmp/t/hello.xsh
Set chmod: rw- --- ---
Set exec: rwx --- ---

/tmp/t/hello.xsh
world

0.3.3

Fix `Path.expanduser`.

0.3.2

Added `macro.data.XmlBlock`.

0.3.1

0.3.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.