win_unc
A Python library for handling UNC paths on Windows.
With this library you can
Connect UNC directories to your Windows session
Connect UNC directories requiring authorization by providing credentials
Mount UNC directories (with or without credentials) to a local mount point
Disconnect/unmount UNC connections
Query existing UNC connections known by the Windows session
Full documentation is at http://covenanteyes.github.com/py_win_unc
Report any issues on the package’s GitHub page: http://github.com/CovenantEyes/py_win_unc
Installation
To install:
$ pip install win_unc
Sneak Preview
Below is a simple example:
from win_unc import UncDirectoryMount, UncDirectory, DiskDrive
conn = UncDirectoryMount(UncDirectory(r'\home\shared'), DiskDrive('Z:'))
conn.mount()
print 'Drive connected:', conn.is_mounted()
conn.unmount()
You can also provide credentials like this:
from win_unc import UncCredentials
unc = UncDirectory(r'\home\shared', UncCredentials('user', 'pwd'))
conn = UncDirectoryMount(unc, DiskDrive('Z:'))
Or just connect the path without mounting it:
from win_unc import UncDirectoryConnection conn = UncDirectoryConnection(r'\home\shared') conn.connect()
Metadata
Release files for win_unc 0.6.1
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 | |
|---|---|---|---|---|
| win_unc-0.6.1.zip | 24.0 kB | Without provenance | Details |
Release files / win_unc-0.6.1.zip
| Download URL | win_unc-0.6.1.zip |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eac6561b573a92b7114c49f5989d47f839348e5fc96e9f0feafb2b0a14784d72
|
|
BLAKE2b-256 checksum How to use checksums |
9daf5fc781393d85c96196c5eab4e1f4e8e6e20780ca1f22d318b3ca51ea8add
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for win_unc 0.6.1
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.