slbsl
Convert paths from Windows to UNIX and vice versa.
Written to slightly ease the pain of working in environments that use both like a bash on Windows. Do not pass arbitrary text to the tool, only a path (though it may be wrapped in quotation marks).
Installation
pip install slbsl
Dependencies
pyperclip for clipboard functionality.
Tests
You need pytest installed.
py.test test_slbsl -v
Usage
The package installs a few shell scripts that you can call:
sl [path] : Converts <path> or clipboard content to UNIX convention. bsl [path] : Converts <path> or clipboard content to Windows convention. fsl [path] : Flips slashes in <path> or clipboard content to their opposite individually. esl [path] : Equalizes slashes in <path> or clipboard content depending on the majority. In case of a draw, favors backslashes on Windows and slashes on UNIX.
The result is returned to the commandline and stored additionally in the clipboard.
Why the stupid name?
sl ash b ack sl ash
Metadata
Release files for slbsl 0.2.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| slbsl-0.2.31.zip | 6.2 kB | Without provenance | Details for slbsl-0.2.31.zip |
Release files / slbsl-0.2.31.zip
| Download URL | slbsl-0.2.31.zip |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
828dc5971a7202376ef2c90ffc8f9681f9c544642102c3599825873532d1716e
|
|
BLAKE2b-256 checksum How to use checksums |
03807dc52c807f66dfb025a75acce5ee770cd5bf58ef176816859950194f32fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for slbsl 0.2.31
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.