Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.8K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
CustomTkinter Snippets v3.0.0: Enhance Your Python GUI Workflow!

Excited to announce CustomTkinter Snippets v3.0.0! This Visual Studio Code extension turbocharges your Python GUI development with intuitive code snippets. With a wide range of components covered and customization options available, coding sleek GUIs has never been easier.

**What's New:**

* Expanded snippet coverage
* Enhanced customization options
* Bug fixes for smoother development

**TODO:**

* Addition of special events and binds as snippets
* Addition of object based snippets

Give it a try and supercharge your GUI development today!

**Links:**

Repository Link: [CustomTkinter Snippets](https://github.com/AshhadDevLab/CustomTkinter-Snippets)

Extension Link: [CustomTkinter Snippets VSCode Extension](https://marketplace.visualstudio.com/items?itemName=AshhadDevLab.customtkinter-snippets)

**Credit:**

Credits to [Tom Schimansky](https://github.com/TomSchimansky) for the awesome [CustomTkinter](https://github.com/TomSchimansky/CustomTkinter) library!

Don't forget to star the repo!

`#Python` `#GUI` `#Development` `#VisualStudioCode`

/r/Python
https://redd.it/1am0hp0
Magnus - a simplified workflow definition language which works in local to Argo without any change



[Link to the repo](https://github.com/AstraZeneca/magnus-core)

Magnus is a simplified workflow definition language that helps in:

* **Streamlined Design Process:** Magnus enables users to efficiently plan their pipelines with [stubbed nodes](https://astrazeneca.github.io/magnus-core/concepts/stub), along with offering support for various structures such as [tasks](https://astrazeneca.github.io/magnus-core/concepts/task), [parallel branches](https://astrazeneca.github.io/magnus-core/concepts/parallel), and [loops or map branches](https://astrazeneca.github.io/magnus-core/concepts/map) in both [yaml](https://astrazeneca.github.io/magnus-core/concepts/pipeline) or a [python SDK](https://astrazeneca.github.io/magnus-core/sdk) for maximum flexibility.



* **Incremental Development:** Build your pipeline piece by piece with Magnus, which allows for the implementation of tasks as [python functions](https://astrazeneca.github.io/magnus-core/concepts/task/#python_functions), [notebooks](https://astrazeneca.github.io/magnus-core/concepts/task/#notebooks), or [shell scripts](https://astrazeneca.github.io/magnus-core/concepts/task/#shell), adapting to the developer's preferred tools and methods.



* **Robust Testing:** Ensure your pipeline performs as expected with the ability to test using sampled data. Magnus also provides the capability to [mock and patch tasks](https://astrazeneca.github.io/magnus-core/configurations/executors/mocked) for thorough evaluation before full-scale deployment.



* **Seamless Deployment:** Transition from the development stage to production with ease. Magnus simplifies the process by requiring [only configuration changes](https://astrazeneca.github.io/magnus-core/configurations/overview) to adapt to different environments, including support for [argo workflows](https://astrazeneca.github.io/magnus-core/configurations/executors/argo).


* **Efficient Debugging:** Quickly identify and resolve issues in pipeline execution with Magnus's local debugging features. Retrieve data from failed tasks and [retry failures](https://astrazeneca.github.io/magnus-core/concepts/run-log/#retrying_failures) using your chosen debugging tools to maintain a smooth development experience.


Along with the developer friendly features, magnus also acts as an interface to production grade concepts such as [data

/r/Python
https://redd.it/1ar66d5
I created a video on why you should be careful when using Python dictionaries as function parameter

This talks about mutability as Changes inside a function affect the original dictionary which could lead to unexpected behaviors and hard to debug issues.


Here is a link to the video

https://www.youtube.com/watch?v=zTTDQePffxU

/r/Python
https://redd.it/1d9upsj
Learn Restful API with Flask

🚀 Mastering RESTful APIs with Python and Flask 🚀

Are you ready to take your skills to the next level? I'm excited to announce the launch of my new Udemy course, designed to help you achieve your goals and excel in your field!🎓 Course Highlights:

* Comprehensive, easy-to-follow lessons
* Practical exercises and real-world examples
* Learn at your own pace, from anywhere

💡 Why Enroll?Whether you're a beginner looking to get started or a seasoned professional seeking to refine your skills, this course has something for everyone. Gain in-depth knowledge, practical skills, and the confidence to succeed.

🔗 Enroll Now: [https://www.udemy.com/course/mastering-restful-apis-a-comprehensive-guide/?referralCode=727DF5F0596A9494D3B5](https://www.udemy.com/course/mastering-restful-apis-a-comprehensive-guide/?referralCode=727DF5F0596A9494D3B5)

Join me on this exciting learning journey and unlock your full potential. See you in the course!

#Udemy #Python #flask #OnlineLearning #SkillDevelopment #Education #CourseLaunch #LearnFromHome

/r/flask
https://redd.it/1dnamd8
I Created the Definitive AUTOMATIC Shiny Hunter for Pokémon BDSP in Python

What My Project Does: Hey everyone! I am Dinones! I coded a Python program using object detection that lets my computer hunt for shiny Pokémon on my physical Nintendo Switch while I sleep. So far, I’ve automatically caught shiny Pokémon like Giratina, Dialga or Azelf, Rotom, Drifloon, all three starters, and more in Pokémon BDSP. Curious to see how it works? Check it out! The program is available for everyone! Obviously, for free; I'm just a student who likes to program this stuff in his free time :)

The games run on a Nintendo Switch (not emulated, a real one). The program gets the output images using a capture card, then, it process them to detect whether the pokemon is shiny or not (OpenCV). Finally, it emulates the joycons using bluetooth (NXBT) and control the Nintendo.

I also want to know what do you think about it: Is it fair to use it in singleplayer? And multiplayer?

Target Audience: All Pokémon BDSP gamers.
Comparison: As far as I know, nobody did this before.

📽️ Youtube: https://www.youtube.com/watch?v=84czUOAvNyk
🤖 Github: https://github.com/Dinones/Nintendo-Switch-Pokemon-Shiny-Hunter

/r/Python
https://redd.it/1evng2g
Master the python logging module

As a consultant I often find interesting topics that could warrent some knowledge sharing or educational content.
To satisfy my own hunger to share knowledge and be creative I've started to create videos with the purpose of free education for junior to medior devs.

My first video is about how the python logging module works and hopes to demystify some interesting behavior.

Hope you like it!

https://youtu.be/A3FkYRN9qog?si=89rAYSbpJQm0SfzP


/r/Python
https://redd.it/1eyn4n7
Manim : package for maths animation

I recently explored Manim, an open-sourced python package for generating animated videos for explaining maths. It includes animations for shapes, equations, codes, graphs, etc. The repo is trending on GitHub as well. The demo also looks very impressive. Check it out here : https://youtu.be/QciJxVjF4M4?si=Bk_gU4Tj5f6gPpiq

/r/Python
https://redd.it/1gbldgk