Get the current username
Project description
username get the current username
Install
$ pip install username
Usage
import username
print(username())
# 'abranhe'
API
username()
Get current username
Related
- username-cli: cli for this package.
License
MIT © Abraham Hernandez
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
username-2.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file username-2.1.0.tar.gz
.
File metadata
- Download URL: username-2.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e3d3dfdc3e41d8c5351854bf0d7236e596315082f57277033acb40792808715 |
|
MD5 | 1ed232875170832f57923d5c7b1f8f53 |
|
BLAKE2b-256 | 9c9e236d179f14fa30e29b92705dad2631224e5aa58b1f15a07f6a556f3ed580 |
File details
Details for the file username-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: username-2.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e818b2e6b035d9265888d143cc1fcd70a6733a2efabe9b06158dbdce4d112a8b |
|
MD5 | ba2f99df5b89d9460f895cc4a3617ebc |
|
BLAKE2b-256 | 9531402b50bacb157e904f9505612112b5492432c794ace3d8f93211d9a65403 |