This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Convert paths from Windows to UNIX and vice versa.

Project Description

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

Release History

Release History

This version
History Node

0.2.31

History Node

0.2.3

History Node

0.2.1

History Node

0.2.0

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
slbsl-0.2.31.zip (6.2 kB) Copy SHA256 Checksum SHA256 Source Oct 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting