UNC2URL
A UNC to URL Converter.
Table of Contents
Install
$ pip3 install unc2url
# or
$ git clone https://github.com/alexanderwillner/unc2url && cd unc2url && make install
Examples
% unc2url '\\example.org\foo\bar'
smb://example.org/foo/bar
% unc2url --file '\\example.org\foo\bar'
file://example.org/foo/bar
% unc2url --reverse 'file://example.org/foo/bar'
\\example.org\foo\bar
% unc2url -h
usage: unc2url.py [-h] [-r] [-f] [--version] unc
Simple UNC to URL tool.
positional arguments:
unc An Uniform Naming Convention (UNC) link
optional arguments:
-h, --help show this help message and exit
-r, --reverse Reverse the conversation (url2unc)
-f, --file File URL (file://)
--version, -v show program's version number and exit
Alfred Workflow
To activate this workflow use the default keyword unc2url and enter the UNC you want to get translated. You can also press ⌘+⇧+U to translate what is in your clipboard. Pressing Enter will copy the translations to the clipboard. Pressing ⇧+Enter will open the SMB link.
Metadata
Release files for unc2url 0.1.0
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 |
|---|---|---|---|---|
| unc2url-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for unc2url-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unc2url-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for unc2url-0.1.0-py3-none-any.whl |
Total release size: 8.3 kB
Release files / unc2url-0.1.0.tar.gz
| Download URL | unc2url-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bef40424d1188e410ada4b16850b16fab6dc97892edfca8fb0434f4c0be9663b
|
|
BLAKE2b-256 checksum How to use checksums |
f650f4ad37555b2a00bd3c8f6638344ad3e40f953d654e592b95c31750a86816
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / unc2url-0.1.0-py3-none-any.whl
| Download URL | unc2url-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b4fd1669965b10aa904aeda715665089fee59308bb68c3695d93c113f280c1b
|
|
BLAKE2b-256 checksum How to use checksums |
9546553235b7a50e48a5e6e427c4b6abed59a01c7547493390c972f06628b13d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for unc2url 0.1.0
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.