api-utils-2019.9.18
توضیحات
API utils simplify life when creating or consuming APIs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | api-utils-2019.9.18 |
| نام | api-utils |
| نسخه کتابخانه | 2019.9.18 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://pypi.org/project/api-utils/ |
| آدرس اینترنتی | https://pypi.org/project/api-utils/ |
| مجوز | - |
# API utils
[](https://github.com/psf/black)
API utils simplify life when creating or consuming APIs
## Module: apiu.path
### Method: apiu.path.join()
Join one or more path components intelligently.
Rules:
- If any component starts with "http", all previous parts will be discarded.
- The returned path will always start with "/", except if it starts with "http".
- The returned path will never end with "/", except when ending in a protocol
notation ("://") or enforced (see below)
- A trailing slash can be enforced with a final component "/"
- Empty strings are skipped
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl api-utils-2019.9.18:
pip install api-utils-2019.9.18.whl
نصب پکیج tar.gz api-utils-2019.9.18:
pip install api-utils-2019.9.18.tar.gz