DirectAdminAPI-SGS-shohani-0.0.3


توضیحات

DirectAdmin API for Python
ویژگی مقدار
سیستم عامل OS Independent
نام فایل DirectAdminAPI-SGS-shohani-0.0.3
نام DirectAdminAPI-SGS-shohani
نسخه کتابخانه 0.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Sadegh Ghanbari Shohani <sadegh.tkd@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/DirectAdminAPI-SGS-shohani/
مجوز -
# DirectAdmin API for Python This package help you manage DirectAdmin control panel via API. ## Installation ``` pip install DirectAdminAPI-SGS-shohani ``` ## Sample usage ``` from DirectAdminAPI_SGS_shohani.api import PrettyAPI api = PrettyAPI(username=admin_da_user,password=admin_da_pwd,server=da_url,json=True) #Get list of users that has access to a protected folder in DirectAdmin da_users = api.get_protected_directory_users('/domains/test.com/public_html/manager') users = da_users['users'] for key in users: print(users[key]) #search recursively for test.txt in root path da_files = api.search_files( '/','test.txt' , recursive=True) for key in da_files: print(da_files[key]) ```


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl DirectAdminAPI-SGS-shohani-0.0.3:

    pip install DirectAdminAPI-SGS-shohani-0.0.3.whl


نصب پکیج tar.gz DirectAdminAPI-SGS-shohani-0.0.3:

    pip install DirectAdminAPI-SGS-shohani-0.0.3.tar.gz