LightBridge
A PyBridge extension to manipulate FileSystem locations on any platform
Installation
pip install LightBridge-hbisneto
Linux
Use LightBridge to path directories on Linux
Linux Directories
- Desktop
- Documents
- Downloads
- Music
Example
The code below shows how to use LightBridge on Linux environments
import LightBridge
from LightBridge import Linux
print(Linux.Desktop)
print(Linux.Documents)
Output:
/home/YOUR_USER/Desktop/
/home/YOUR_USER/Documents/
Mac
Use LightBridge to path directories on Mac
Mac Directories
- Applications
- Desktop
- Documents
- Downloads
- Movies
- Music
- Pictures
- Public
Example
The code below shows how to use LightBridge on Mac environments
import LightBridge
from LightBridge import Mac
print(Mac.Desktop)
print(Mac.Documents)
Output:
/Users/YOUR_USER/Desktop/
/Users/YOUR_USER/Documents/
Windows
Use LightBridge to path directories on Windows
Windows Directories
- ApplicationData
- Desktop
- Documents
- Downloads
- LocalAppData
- Temp
- Pictures
- Favorites
Example
The code below shows how to use LightBridge on Windows environments
import LightBridge
from LightBridge import Windows
print(Windows.Desktop)
print(Windows.Documents)
Output:
C:\Users\YOUR_USER/Desktop/
C:\Users\YOUR_USER/Documents/
Android
Use LightBridge to path directories on Android
Android Directories
Internal Storage Access
- Home
- Alarms
- DCIM
- Documents
- Downloads
- Movies
- Music
- Notifications
- Pictures
- Podcasts
- Ringtones
Example
The code below shows how to use LightBridge on Android environments
import LightBridge
from LightBridge import Android
print(Android.CurrentPath)
print(Android.InternalStorage.Home)
print(Android.InternalStorage.Documents)
print(Android.InternalStorage.Downloads)
print(Android.InternalStorage.Movies)
print(Android.InternalStorage.Pictures)
Output:
/storage/emulated/0/PYTHON_APP_FOR_ANDROID
/storage/emulated/0/
/storage/emulated/0/Documents/
/storage/emulated/0/Download/
/storage/emulated/0/Movies/
/storage/emulated/0/Pictures/
Copyright © 2021-2022 Heitor Bisneto. All rights reserved.
Metadata
Release files for LightBridge-hbisneto 1.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 | Actions |
|---|---|---|---|---|
| LightBridge-hbisneto-1.1.tar.gz | 3.7 kB | Without provenance | Details for LightBridge-hbisneto-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| LightBridge_hbisneto-1.1-py3-none-any.whl | Python 3 | none | any | Details for LightBridge_hbisneto-1.1-py3-none-any.whl |
Total release size: 8.6 kB
Release files / LightBridge-hbisneto-1.1.tar.gz
| Download URL | LightBridge-hbisneto-1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1e698f33a53a5c2773ca11b0cdf078b71d19c5b6edbe52b3bc369daa785d649
|
|
BLAKE2b-256 checksum How to use checksums |
73a4e0546456eeab7f7bbb40c26d383c5108a9859acf112deb87f5fe10b6cb5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / LightBridge_hbisneto-1.1-py3-none-any.whl
| Download URL | LightBridge_hbisneto-1.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a77a76ef4445415f770d35dc3a15fb89f515ef086dc13e7a9c193a04e033433d
|
|
BLAKE2b-256 checksum How to use checksums |
3b067c2260e5f36a6d7ead2453bf6919bae6e3e600da79c1c04699c7f8e68a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for LightBridge-hbisneto 1.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.