badge-2020.7.1
توضیحات
badge generator
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | badge-2020.7.1 |
| نام | badge |
| نسخه کتابخانه | 2020.7.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/andrewp-as-is/badge.py |
| آدرس اینترنتی | https://pypi.org/project/badge/ |
| مجوز | Unlicense |
<!--
https://readme42.com
-->
[](https://pypi.org/project/badge/)
[](https://unlicense.org/)
### Installation
```bash
$ [sudo] pip install badge
```
#### Features
+ **md** (default), **rst**, **html**
+ autoformat strings
+ **minimalistic design**
#### Examples
```python
>>> class Travis(badge.Badge):
title = "Travis"
image = "https://api.travis-ci.org/{fullname}.svg?branch={branch}"
link = "https://travis-ci.org/{fullname}/"
>>> Travis(fullname="owner/repo") # .md, Markdown by default
'[](https://travis-ci.org/owner/repo/)'
>>> Travis(fullname="owner/repo").rst # .rst, reStructuredText
'.. image: : https://api.travis-ci.org/owner/repo.svg?branch=master
: target: https://travis-ci.org/owner/repo/'
```
<p align="center">
<a href="https://readme42.com/">readme42.com</a>
</p>
نحوه نصب
نصب پکیج whl badge-2020.7.1:
pip install badge-2020.7.1.whl
نصب پکیج tar.gz badge-2020.7.1:
pip install badge-2020.7.1.tar.gz