birdhouse-toolbox-3.4.0
توضیحات
Command line tools to automate various processes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | birdhouse-toolbox-3.4.0 |
| نام | birdhouse-toolbox |
| نسخه کتابخانه | 3.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alex Seitsinger |
| ایمیل نویسنده | software@alexseitsinger.com |
| آدرس صفحه اصلی | https://www.alexseitsinger.com/packages/python/birdhouse-toolbox |
| آدرس اینترنتی | https://pypi.org/project/birdhouse-toolbox/ |
| مجوز | BSD 2-Clause License |
# Birdhouse Toolbox
## Description
Command line tools to automate various processes.
## Installation
```
pipx install birdhouse-toolbox
```
or
```
pipenv install birdhouse-toolbox
```
or
```
pip install birdhouse-toolbox
```
## Usage
#### Wordpress
* **create-post**
Adds a new post using the title and body provided, by duplicating the last published post.
```
bht --url <site_url> wp create --title <title> --content <content> --slug <slug> --slug <slug> --category <category> --category <category>
```
* **authenticate**
Authenticates the username and password with the website, saves the credentials, and a JSON web token for future use. Will re-use saved credentials if none are provided.
```
bht --url <site_url> wp auth --username <username> --password <password>
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | click |
| - | python-slugify |
| - | maya |
| - | google-api-python-client |
| - | bs4 |
| - | validators |
نحوه نصب
نصب پکیج whl birdhouse-toolbox-3.4.0:
pip install birdhouse-toolbox-3.4.0.whl
نصب پکیج tar.gz birdhouse-toolbox-3.4.0:
pip install birdhouse-toolbox-3.4.0.tar.gz