Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abranhe/username
😺 Get the current user name
https://github.com/abranhe/username
python user username
Last synced: 23 days 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T21:59:03.000Z (about 3 years ago)
- Last Synced: 2024-10-12T12:15:14.030Z (about 1 month ago)
- Topics: python, user, username
- Language: Python
- Homepage: https://p.abran.co/username
- Size: 29.3 KB
- Stars: 13
- Watchers: 2
- 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 usernameprint(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)