Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Codebase: Migrate to Async Libraries #3

Open
vo1dee opened this issue Oct 13, 2024 · 0 comments
Open

Refactor Codebase: Migrate to Async Libraries #3

vo1dee opened this issue Oct 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@vo1dee
Copy link
Owner

vo1dee commented Oct 13, 2024

Description

It's time to refactor the codebase and replace synchronous libraries with asynchronous alternatives for better performance and efficiency.

Requirements

  1. Replace requests with aiohttp or httpx

    • The codebase currently uses the requests library for HTTP requests. Migrate to either aiohttp or httpx (since httpx is already in use in the project).
  2. Replace telegram.ext with aiogram

    • Migrate the Telegram bot functionalities from telegram.ext to the aiogram library to take advantage of asynchronous capabilities.
  3. Use ujson instead of json

    • Replace the standard json library with ujson for faster JSON parsing and serialization.

Additional Notes

  • Ensure that all existing functionalities work seamlessly after the migration.
  • Update relevant dependencies and documentation.
  • Test all affected modules thoroughly.

References

@vo1dee vo1dee added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 13, 2024
@vo1dee vo1dee self-assigned this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant