distrowatchapi-0.1
توضیحات
Take a top of distributions from distrowatch.com
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | distrowatchapi-0.1 |
| نام | distrowatchapi |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | vovsss |
| ایمیل نویسنده | vova4ka@internet.ru |
| آدرس صفحه اصلی | https://github.com/vovsss/DistrowatchAPI |
| آدرس اینترنتی | https://pypi.org/project/distrowatchapi/ |
| مجوز | MIT |
# DistrowatchAPI
Very simple unofficial distrowatch api
It allows to take a top of distributions from <a href="https:\\distrowatch.com">distrowatch.com<a>:
from api.distrowatch import Distrowatch
from api.periods import PeriodType
import asyncio
async def main():
distrowatch = Distrowatch()
print(await distrowatch.get_top_of_distributions(10, PeriodType.LAST_MONTH))
if __name__ == "__main__":
asyncio.run(main())
نحوه نصب
نصب پکیج whl distrowatchapi-0.1:
pip install distrowatchapi-0.1.whl
نصب پکیج tar.gz distrowatchapi-0.1:
pip install distrowatchapi-0.1.tar.gz