username-2.1.0
توضیحات
Get the current username
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | username-2.1.0 |
| نام | username |
| نسخه کتابخانه | 2.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Abraham Hernandez |
| ایمیل نویسنده | abraham@abranhe.com |
| آدرس صفحه اصلی | https://projects.abranhe.com/username |
| آدرس اینترنتی | https://pypi.org/project/username/ |
| مجوز | MIT |
<p align="center">
<a href="https://pypi.org/project/username"><img src="https://cdn.abranhe.com/projects/username/logo.svg"></a>
<br>
<br>
<br>
<a href="https://pypi.org/project/username"><b>username</b></a> get the current username
</p>
<p align="center">
<a href="https://github.com/abranhe/username/actions/workflows/main.yml">
<img src="https://github.com/abranhe/username/actions/workflows/main.yml/badge.svg" />
</a>
<a href="https://app.travis-ci.com/github/abranhe/username">
<img src="https://img.shields.io/travis/com/abranhe/username.svg?logo=travis" />
</a>
<a href="https://ci.appveyor.com/project/abranhe/username">
<img src="https://ci.appveyor.com/api/projects/status/8bp4dpqr76nx2nxt?svg=true" />
</a>
<a href="https://pypi.org/project/username">
<img src="https://img.shields.io/pypi/v/username">
</a>
<a href="https://github.com/abranhe/username/blob/master/license">
<img src="https://img.shields.io/github/license/abranhe/username.svg" />
</a>
</p>
## 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)
نحوه نصب
نصب پکیج whl username-2.1.0:
pip install username-2.1.0.whl
نصب پکیج tar.gz username-2.1.0:
pip install username-2.1.0.tar.gz