Telegram Group & Telegram Channel
آیوکلاک (AioClock) یک فریم ورک برای scheduling و یا تسک منیجمنت هست و هر چیزی که هر فریم ورکی نیاز داره رو داخلش داره, مثل دپندسی اینجکشن و startup/stop ایونت, ساپورت از ماژولار کد نوشتن و ...



from aioclock import AioClock, At
import asyncio

app = AioClock()

@app.task(trigger=At(tz="UTC", hour=0, minute=0, second=0))
async def at():
print("This code runs at 0 AM UTC time everyday!")

if __name__ == "__main__":
asyncio.run(app.serve())



دیشب وقت گذاشتم و داکیونتشو خیلی بهتر کردم که کاملا متوجه شید فریم ورک چطوری کار میکنه. تو عکس واضح نیست کامل توصیه میکنم سری به داکیومنت بزنید.

داکیومنت
گیتهاب

اگه این لایبری براتون مفید بود، خوشحال می‌شم اگه بهش استار بدید. این کار به من انگیزه بیشتری برای توسعه و بهبود فریم‌ورک میده. از حمایت‌تون خیلی ممنونم 🙂 🙏


〰️〰️〰️〰️〰️〰️
© @DjangoEx | @PyBackendHub



tg-me.com/djangoex/2533
Create:
Last Update:

آیوکلاک (AioClock) یک فریم ورک برای scheduling و یا تسک منیجمنت هست و هر چیزی که هر فریم ورکی نیاز داره رو داخلش داره, مثل دپندسی اینجکشن و startup/stop ایونت, ساپورت از ماژولار کد نوشتن و ...



from aioclock import AioClock, At
import asyncio

app = AioClock()

@app.task(trigger=At(tz="UTC", hour=0, minute=0, second=0))
async def at():
print("This code runs at 0 AM UTC time everyday!")

if __name__ == "__main__":
asyncio.run(app.serve())



دیشب وقت گذاشتم و داکیونتشو خیلی بهتر کردم که کاملا متوجه شید فریم ورک چطوری کار میکنه. تو عکس واضح نیست کامل توصیه میکنم سری به داکیومنت بزنید.

داکیومنت
گیتهاب

اگه این لایبری براتون مفید بود، خوشحال می‌شم اگه بهش استار بدید. این کار به من انگیزه بیشتری برای توسعه و بهبود فریم‌ورک میده. از حمایت‌تون خیلی ممنونم 🙂 🙏


〰️〰️〰️〰️〰️〰️
© @DjangoEx | @PyBackendHub

BY Django Expert




Share with your friend now:
tg-me.com/djangoex/2533

View MORE
Open in Telegram


Django Expert Telegram | DID YOU KNOW?

Date: |

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

Django Expert from tw


Telegram Django Expert
FROM USA