Python projects
Reddit » Python
by /u/Mahmoud-Abu-Zubaidah
6m ago
Hi folks, My instructor wants me and my team to build a Python projects, but the challenge is to come up with ideas that are rare to find on websites such as stackoverflow, leetcode, etc. My head is going to explode. submitted by /u/Mahmoud-Abu-Zubaidah [visit reddit] [comments ..read more
Visit website
Overloading is pointless
Reddit » Python
by /u/BobsMyNeighbor
6m ago
I'm taking an advanced python course and we are currently on overloading and overriding. We are being taught to use multipledispatch to implement overloading as it isn't possible in Python normally (except with default variables, but again, not very pythonic). From what I have seen overloading is not pythonic and I have yet to see an implementation that seems practical. Am I missing something or is overloading in Python just as useless as it seems. submitted by /u/BobsMyNeighbor [visit reddit] [comments ..read more
Visit website
Community Insights on PgQueuer
Reddit » Python
by /u/GabelSnabel
5h ago
Hey r/Python! A while ago, I introduced you to PgQueuer, a Python library designed for handling job queues using Postgres native functionalities. If you've started using PgQueuer, I’m keen to initiate a discussion on your experiences with it. How and where have you integrated PgQueuer into your projects? Any difficulties or shortcomings you’ve experienced while using PgQueuer? Thoughts on the library’s efficiency and features? submitted by /u/GabelSnabel [visit reddit] [comments ..read more
Visit website
How to wreck your computer using sys and Python:-
Reddit » Python
by /u/Few_Strategy6658
10h ago
# fibbonacci sequence until 'nth' number:: import sys sys.set_int_max_str_digits(2147483647) n = True num1 = 0 num2 = 1 next_number = num2 count = 1 while n == True: print(next_number, end=" ") count += 1 num1, num2 = num2, next_number next_number = num1 + num2 print() submitted by /u/Few_Strategy6658 [visit reddit] [comments ..read more
Visit website
A blend of Rust and Python: a faster encryption for Python
Reddit » Python
by /u/radumarias
13h ago
https://github.com/radumarias/rencrypt-python What My Project Does: A Python encryption library implemented in Rust. It supports AEAD with AES-GCM and ChaCha20Poly1305. It uses ring to handle encryption. If offers slightly higher speed compared to other Python libs, especially for small chunks of data. Target Audience This lib hasn't been audited, but it mostly wraps ring crate which is a well known library, so in principle it should offer as similar level of security. This is still under development. Please do not use it with sensitive data just yet. Comparison If offers slightly higher spe ..read more
Visit website
Zeroize: Securely clear secrets from memory
Reddit » Python
by /u/radumarias
13h ago
https://github.com/radumarias/zeroize-python What My Project Does: Securely clear secrets from memory. Built on stable Rust primitives which guarantee memory is zeroed using an operation will not be 'optimized away' by the compiler. Target Audience it can be used in production, it's just a simple wrapper over zeroize crate from Rust Comparison Personally I didn't found an easy and safe solution in Python to do this, hence I created this lib submitted by /u/radumarias [visit reddit] [comments ..read more
Visit website
Sunday Daily Thread: What's everyone working on this week?
Reddit » Python
by /u/AutoModerator
13h ago
Weekly Thread: What's Everyone Working On This Week? ?️ Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to! How it Works: Show & Tell: Share your current projects, completed works, or future ideas. Discuss: Get feedback, find collaborators, or just chat about your project. Inspire: Your project might inspire someone else, just as you might get inspired here. Guidelines: Feel free to include as many details as you'd like. Code snippets, screenshots, and links are al ..read more
Visit website
Keep system awake (prevent sleep) using python: wakepy
Reddit » Python
by /u/fohrloop
20h ago
Hi all, I had previously a problem that I wanted to run some long running python scripts without being interrupted by the automatic suspend. I did not find a package that would solve the problem, so I decided to create my own. In the design, I have selected non-disruptive methods which do not rely on mouse movement or pressing a button like F15 or alter system settings. Instead, I've chosen methods that use the APIs and ececutables meant specifically for the purpose. I've just released wakepy 0.9.0 which supports Windows, macOS, Gnome, KDE and freedesktop.org compliant DEs. GitHub: https://gi ..read more
Visit website
Calculator without eval()
Reddit » Python
by /u/Zorgon-589
20h ago
WHAT MY PROJECT DOES: Solves basic arithmetic problems in an interactive way in python. TARGET AUDIENCE: Anyone, it's just a program to get practice using loops, lists, and functions. COMPARISON: This program functions as a calculator without the use of the eval() function to make everything superfluously easy. It's not perfect and my next version is gonna try and address queries with parenthesis and multiple operators! See the below link for github: https://github.com/Zorgon589/Calculator/tree/main submitted by /u/Zorgon-589 [visit reddit] [comments ..read more
Visit website
A blend of Rust and Python: speeding up Python encryption
Reddit » Python
by /u/radumarias
20h ago
REncrypt What My Project Does A Python encryption library implemented in Rust. It supports AEAD with AES-GCM and ChaCha20Poly1305. It uses ring to handle encryption. If offers slightly higher speed compared to other Python libs, especially for small chunks of data. The API also tries to be easy to use but it's more optimized for speed than usability. So if you are open to experiment and want to achieve the highest possible encryption speed, consider giving it a try. Target Audience This is just a toy project as a learning experience Comparison This is slightly faster than PyFLocker whic ..read more
Visit website

Follow Reddit » Python on FeedSpot

Continue with Google
Continue with Apple
OR