ai1wm-1.2.3
توضیحات
Packs/Unpacks `All-in-One WP Migration` packages
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ai1wm-1.2.3 |
| نام | ai1wm |
| نسخه کتابخانه | 1.2.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sander Wang |
| ایمیل نویسنده | sw.online@outlook.com |
| آدرس صفحه اصلی | https://github.com/sanderwang/ai1wm |
| آدرس اینترنتی | https://pypi.org/project/ai1wm/ |
| مجوز | MIT |
# Pack/Unpack All-in-One WP Migration Packages
This library provides helper classes for packing/unpacking WordPress [All-in-One WP Migration](
https://wordpress.org/plugins/all-in-one-wp-migration/) packages.
# Examples
## Unpack a File
```python
from ai1wm import Ai1wmPackage
package = Ai1wmPackage('/path/to/the/destination/dir')
package.unpack_from('/path/to/the/source/wpress/file')
```
## Pack a Directory
```python
from ai1wm import Ai1wmPackage
package = Ai1wmPackage('/path/to/the/source/dir')
package.pack_to('/path/to/the/destination/wpress/file')
```
نحوه نصب
نصب پکیج whl ai1wm-1.2.3:
pip install ai1wm-1.2.3.whl
نصب پکیج tar.gz ai1wm-1.2.3:
pip install ai1wm-1.2.3.tar.gz