pypleski 0.0.7 - under development
Pypleski (Pythonic Plesk Interface) is a collection of functions and classes that aim to ease the use of the Plesk XML API. The most important classes being PleskRequestPacket and PleskResponsePacket which are designed to represent the Request and Response Packets defined by Plesk.
Bugfixes:
- Fixed the Filter bug in get and delete related functions of the database and the customer module
Changes:
- Merged PyPleskiApiClient with PleskApiClient.
- New Documentation is online: https://pypleski.codingcow.de
- Removed the Managers entirely
- Removed the 'Meta' classes from all modules.
- PleskApiClient
Added Modules
- Webhosting
TODO
Core Imporvements:
- Implement Logging in Api Client Classes
- Clean up Api Client Classes
- Review all Modules
- Improve the Docs
Planned Modules:
- reseller
- reseller_plan
- webspace
- service_plan
- service_plan_addon
Managers module deprecated.
The managers module was removed with version 0.0.5.
Use the PleskApiClient Class's request method to retrieve in conjunction with the several plypleski modules functions.
We moved away from building ManagerClasses and instead provide a functions based approach
this allows usage like this and makes managers obsolete
python
from pypleski.core import PleskApiClient
from pypleski.datbase import get_database
#create client object
client = PleskApiClient("localhost")
#add your token or use set_credentials method
client.set_access_token("IamAValidTokenLOL")
#make your request
datbase_info = client.request(get_database("webspace-name", "domain.name"))
#print out the response
print(database_info)
See https://pypleski.codingcow.de to read the docs.
Release files for pypleski 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypleski-0.0.7.tar.gz | 36.7 kB | Details |
Release files / pypleski-0.0.7.tar.gz
| Download URL | pypleski-0.0.7.tar.gz |
|---|---|
| Size | 36.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54bb02412b4c739cab1648c557296e031a13efa525ccbef12fb165f73fde2f7a
|
|
BLAKE2b-256 checksum How to use checksums |
7bfc5fc0f9d79ca567dca6f10fa6696dde65f8c2b6bafe30691a9a6c443a1983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|