https://github.com/abranhe/username
😺 Get the current user name
https://github.com/abranhe/username
python user username
Last synced: 9 months ago
JSON representation
😺 Get the current user name
- Host: GitHub
- URL: https://github.com/abranhe/username
- Owner: abranhe
- License: mit
- Created: 2018-09-01T05:57:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T21:59:03.000Z (almost 5 years ago)
- Last Synced: 2025-04-04T15:05:55.577Z (over 1 year ago)
- Topics: python, user, username
- Language: Python
- Homepage: https://p.abran.co/username
- Size: 29.3 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
README
username get the current username
## Install
```console
$ pip install username
```
## Usage
```python
import username
print(username())
# 'abranhe'
```
## API
### username()
Get current username
## Related
- [username-cli](https://github.com/abranhe/username-cli): cli for this package.
## License
MIT © [Abraham Hernandez](https://github.com/abranhe)