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

[Feature Request]: Add Utility Snippets #12

Closed
4 tasks done
AashishNandakumar opened this issue Oct 5, 2024 · 5 comments
Closed
4 tasks done

[Feature Request]: Add Utility Snippets #12

AashishNandakumar opened this issue Oct 5, 2024 · 5 comments

Comments

@AashishNandakumar
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

There are currently no issues with the existing functionality of pysnippets. However, I would like to propose the addition of new utility snippets to enhance the functionality of PySnippets. Specifically, I plan to add the following snippets:

  1. Memoization (Caching Function Results)
  2. Timer Context Manager
  3. Sending an Email (using smtplib)
  4. Sorting a List of Dictionaries by Key

These functions will provide developers with efficient solutions for common programming tasks.

Planned Changes:

  • Add a function for memoization to cache expensive function call results.
  • Create a timer context manager for measuring code execution time.
  • Implement a simple email sending function using smtplib.
  • Add a function to sort a list of dictionaries by a specified key.
  • Include proper comments and docstrings for code clarity and maintainability.
  • Create unit tests to verify the correctness of the new functions.

Benefits:
These new snippets will extend the functionality of PySnippets, making it more useful for developers by:

  • Improving performance with memoization techniques
  • Facilitating easy performance monitoring
  • Simplifying email automation tasks
  • Enhancing data manipulation capabilities

I am a gssoc-ext, hactoberfeast contributor

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on this issue
  • I'm willing to provide further clarification or assistance if needed.
Copy link
Contributor

github-actions bot commented Oct 5, 2024

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

Copy link
Contributor

github-actions bot commented Oct 5, 2024

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to join our community on Discord to discuss more!

@UTSAVS26
Copy link
Owner

UTSAVS26 commented Oct 5, 2024

@AashishNandakumar you have closed the issue? Don't you want to work on it?

@AashishNandakumar
Copy link
Contributor Author

Is it acceptable if I turn in this assignment two days later? I understand that these are basic tasks, but I'm running a bit behind schedule.

@UTSAVS26
Copy link
Owner

UTSAVS26 commented Oct 5, 2024

Yeah sure then raise another issue I am closing this one. All the best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants