r/madeinpython • u/NoBeginning2551 • May 30 '24
Whatsapp Gemini AI Bot: Get Google Gemini AI On Whtasapp
Get your own personal Gemini Bot on WhatsApp
r/madeinpython • u/NoBeginning2551 • May 30 '24
Get your own personal Gemini Bot on WhatsApp
r/madeinpython • u/wuddz-devs • May 29 '24
Wuddz-Lit is an efficient Literotica.com story downloader made with python. Long story short I'm a fan of the creative minds on Literotica.com and the closest project I've seen doesn't have all the bells and whistles, so I decided to write something efficient enough free for all to use and enjoy, hope you find it useful.
As always Peace & Love!!
r/madeinpython • • May 29 '24
r/madeinpython • u/coryalanfitz • May 29 '24
https://github.com/coryfitz/crowbar
I'm working on a way of simplifying your Python dependency management. Basically, it handles virtual environments so you don’t have to think about them.
First: pip install crowbar-package-manager
Basically you just install and run things with the crowbar command rather than pip: crowbar install package_name
And then you also run things with the crowbar command rather than using "python" - crowbar then runs the program based on the packages in the local environment rather than having to activate your virtual environment.
It's inspired by npm if you've used that with js.
r/madeinpython • • May 28 '24
How can I create a connection between a neural network algorithm and a form, so that when the form is submitted, the screen displays the classification as determined by the neural network?
r/madeinpython • u/hotcodist • May 26 '24
r/madeinpython • u/atharvaaalok1 • May 24 '24
Hello all, I am a student at Stanford University, I was on a gap year due to medical conditions and to utilitze my time I was studying deep learning.
And Voila...
I've developed a deep learning library, DeepFusion!
It's customizable and has an easily accessible and highly intuitive codebase. One can just dive right in and effortlessly understand the source code.
You can download it from:
pip install deepfusion (easy!)For a series of examples explaining the usage and features refer demo or tutorials.
Any and all suggestions are welcome, and contributions are greatly appreciated!

r/madeinpython • u/Vlkodlaq • May 23 '24
I'm learning Python as a completely new in programming and I'm stuck in VS code. Running python3 on macOS Sonoma, last version VS code.Look what it does to me:
a = ("Hi ")
b = ("guys")
c = a + b
print(c)
//now if I run it it returns>
print(c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'c' is not defined
// all runs in macOS terminal seamlessly.
//VS doesnt see all code, it runs just one line. When I sellect all and run, it returns this>
a = ("Hi ")
b = ("guys")
c = a + b
print(c)
Hi guys
Google doesn't know, chatgpt doesn't understand. It's in VS code? Some bad settings? It's problem between chair and computer?
Please help.
Thank you.
r/madeinpython • u/jangystudio • May 22 '24
QualityScaler is a Windows app powered by AI to enhance, upscale and denoise photos and videos.
▼ NEW
Multiple GPUs support
⊡ It's now possible to select up to 4 GPUs for AI acceleration
⊡ Based on the GPU index (visible in the Windows Task Manager)
AI models
⊡ Added support for IRCNN, a new AI architecture dedicated to denoising (no upscaling)
⊡ Is a very fast architecture and consumes little VRAM memory
⊡ Is perfect for enhancing photos and videos without altering the resolution
⊡ It can also be used for a "second pass" to remove some defects due to other AI models
AI multithreading
⊡ Is now possible to upscale multiple video frames simultaneously
⊡ This option can improve video upscaling performance, especially with powerful GPUs
⊡ Can select up to 4 threads (4 frame simultaneously)
⊡ As the number of threads increases, the use of CPU, GPU and RAM memory also increases
Output path
⊡ Is now possible to select upscaled files path
⊡ Default value is "Same path as input file"
⊡ For video upscaling, also temporary video frames files will be saved in the selected path
FFMPEG 7
⊡ Updated FFMPEG to latest release 7 (from 4.2)
⊡ A long list of optimizations and bugfixes
⊡ Better support for newer cpus
⊡ Improved quality of upscaled video
▼ USER INTERFACE
Some changes
⊡ The default value for "AI model" is now IRCNNx1 (the new AI for denoising)
⊡ Added more information in several widgets
Load file widget
⊡ New design for loaded files
⊡ Bigger file icons and in line with the original file aspect-ratio
⊡ Multiline file informations
New widgets
⊡ Added "Output path" widget
⊡ Added "AI multithreading" widget
UI re-design
⊡ Re-designed app widgets positioning for better usability
▼ BUGFIX / IMPROVEMENTS
Video upscale bugfix
⊡ Fixed a bug that affected upscaled video quality
Video upscale improvements
⊡ Upscaled video frames will NOT overwrite original frames
⊡ This will make it easier to check upscale quality
Video encoding improvements
⊡ FFMPEG now uses the -ultrafast preset for video encoding
⊡ Improving the encoding speed by 30/40 %.
General improvements
⊡ Bug fixes, code cleaning, performance improvements
⊡ Updated dependencies
r/madeinpython • u/Savings_Condition_35 • May 21 '24
I made a one liner that checks for NameError and if the arg is “print” it prints the func name. (I also replace underscores with spaces)
Therefore, Hello_World(“print”) would print “Hello World”.
(Note: a one liner is code that fits into one line)
Heres the code, enjoy:
__import__("sys").excepthook = lambda t, v, tb: ( print( (cd[0].replace("_", " ") if (cd := __import__("traceback").format_tb(tb)[0].split('\n')[-2].strip().split("("))[1][1:-2] == "print" else "") if t == NameError else "") )
Hello_World('print')
r/madeinpython • • May 20 '24
r/madeinpython • u/Trinity_software • May 10 '24
r/madeinpython • u/ARandomBoiIsMe • May 09 '24
What My Project Does:
It acts as a wrapper for the AzuraCast API, providing custom functions and classes for more straightforward use of the API in python projects.
Target Audience:
Python users who are interested in programmatically interacting with online radios hosted on AzuraCast.
Comparison:
The idea of API Wrappers is not new. However, I noticed that the only existing wrapper for this API is written in PHP, which I am not experienced with. I created this project so I, and other python programmers by extension, could have an easier time working with the API.
This is my first "major" programming project, so thoughts and feedback are welcome and greatly appreciated.
PS: Shoutout to PRAW for "inspiring" basically everything about the project's structure and functionality.
r/madeinpython • u/FI_Mihej • May 09 '24
github.com/FI-Mihej/InterProcessPyObjects
pypi.org/project/InterProcessPyObjects
This high-performance package delivers blazing-fast inter-process communication through shared memory, enabling Python objects to be shared across processes with exceptional efficiency. By minimizing the need for frequent serialization-deserialization, it enhances overall speed and responsiveness. The package offers a comprehensive suite of functionalities designed to support a diverse array of Python types and facilitate asynchronous IPC, optimizing performance for demanding applications.
This project is designed for production environments, offering a stable API suitable for developers looking to implement fast inter-process communication. Whether you're building complex systems or require robust data sharing and modification across processes, InterProcessPyObjects is ready to meet your needs.
Comparison with multiprocessing.shared_memory
While both InterProcessPyObjects and multiprocessing.shared_memory facilitate inter-process communication, there are several key differences to note. Unlike multiprocessing.shared_memory, InterProcessPyObjects offers the following enhancements:
These features make InterProcessPyObjects a more robust option for developers requiring advanced inter-process communication capabilities.
Stable. Guaranteed not to have breaking changes in the future. (see github.com/FI-Mihej/InterProcessPyObjects?tab=readme-ov-file#api-state for details)
Shared Memory Communication:
Lock-Free Synchronization:
Supported Python Types:
None, bool, 64-bit int, large int (arbitrary precision integers), float, complex, bytes, bytearray, str.Decimal, slice, datetime, timedelta, timezone, date, timetuple, list, classes inherited from: AbstractSet (frozenset), MutableSet (set), Mapping and MutableMapping (dict).dataclassNone, bool, 64 bit int, float) internally, optimizing memory use and speed.NumPy and Torch Support:
Custom Class Support:
dataclasses) onto shared dictionaries in shared memory.__dict__ attr__slots__ attrAsyncio Compatibility:
5499.28 MiB/sec
| Approach | sync/async | Throughput GiB/s |
|---|---|---|
| InterProcessPyObjects (sync) | sync | 3.770 |
| InterProcessPyObjects + uvloop | async | 3.222 |
| InterProcessPyObjects + asyncio | async | 3.079 |
| multiprocessing.shared_memory * | sync | 2.685 |
| uvloop.UnixDomainSockets | async | 0.966 |
| asyncio + cengal.Streams | async | 0.942 |
| uvloop.Streams | async | 0.922 |
| asyncio.Streams | async | 0.784 |
| asyncio.UnixDomainSockets | async | 0.708 |
| multiprocessing.Queue | sync | 0.669 |
| multiprocessing.Pipe | sync | 0.469 |
* multiprocessing.shared_memory.py - simple implementation. This is a simple implementation because it uses a similar approach to the one used in uvloop.*, asyncio.*, multiprocessing.Queue, and multiprocessing.Pipe benchmarking scripts. Similar implementations are expected to be used by the majority of projects.
hash() callThis Python package provides a robust solution for interprocess communication, supporting a variety of Python data structures, types, and third-party libraries. Its lock-free synchronization and asyncio compatibility make it an ideal choice for high-performance, concurrent execution.
This is a stand-alone package for a specific Cengal module. Package is designed to offer users the ability to install specific Cengal functionality without the burden of the library's full set of dependencies.
The core of this approach lies in our 'cengal-light' package, which houses both Python and compiled Cengal modules. The 'cengal' package itself serves as a lightweight shell, devoid of its own modules, but dependent on 'cengal-light[full]' for a complete Cengal library installation with all required dependencies.
An equivalent import:
Cengal library can be installed by:
https://github.com/FI-Mihej/Cengal
https://pypi.org/project/cengal/
Licensed under the Apache License, Version 2.0.
r/madeinpython • u/RobertD3277 • May 06 '24
Hi,
I'd like to introduce a fun little discord bot using the open AI API as it means for communicating with users. It has a developing set of moderation capabilities but what makes it stand out, is the ability to develop complete personas or personalities.
The bot can literally change personalities for every channel in the server and they can be as rich and as diverse as you'd like. While many other areas of the AI market focus on data, statistics, and analytics, I wanted to focus on more of a whimsical side of the human condition within the AI in terms of creating a fun environment for people to interact in.
Please take a look at the project and leave me some feedback. Please consider leaving a star and perhaps sponsoring it if you feel it is worth it.
Thank you.
r/madeinpython • • May 06 '24
r/madeinpython • u/onurbaltaci • Apr 28 '24
Hello, I just shared a 1+ hour Data Science project on YouTube. I covered Data Analysis, Feature Engineering, Machine Learning and Web App creation in the video. I used Python, Pandas, Sk-learn and Streamlit. I also added the dataset link in the description. I am leaving the link below, have a great day!
https://www.youtube.com/watch?v=SJ_3_RlgAlU&list=PLTsu3dft3CWg69zbIVUQtFSRx_UV80OOg&index=3&t=2s
30+ Data Science Projects Playlist -> https://www.youtube.com/playlist?list=PLTsu3dft3CWg69zbIVUQtFSRx_UV80OOg
r/madeinpython • u/Hardkorebob • Apr 25 '24
DEMO: https://youtu.be/45JeIpDiJdc
A Shell DSL that transforms into Python.
I created this IDE to spin up Tkinter UIs or anything Python with less boilerplate and rich cognitive and efficiency shortcuts: for me, I think this tool helps me prototype GUI apps quicker with less characters typed so less effort.
I would love to take this further if I could get anyone interested. Thanks.
r/madeinpython • u/UnemployedTechie2021 • Apr 25 '24
r/madeinpython • u/Nidabey • Apr 25 '24
Hi to all, I published yesterday my first open-source Python package named Arganic, it's a very small and lightweight library I'm using to manage *args and **kwargs arguments for classes, methods and functions, it's basically based on decorators, and make it easy to manage constraints and arguments validations. It's probably allready made by other libraries. I' m open to receive any suggestions or contributions to make it better. I don't know if it's very relevant, I stay open to any critics.
r/madeinpython • u/ItsNameless8676 • Apr 24 '24
Hello r/madeinpython!
Prompting. We all need input from the user. No matter what kind of program you develop, making it interactive is important. But you do not need to care about the how.
With ItsPrompt you can ask the user for input in a few lines, without needing to care about the visuals, consistency and user experience - that is what ItsPrompt does for you!
Here you can view a GIF presenting the things ItsPrompt is capable of!
ItsPrompt can be found on PyPI and simply installed with pip:
pip install ItsPromptUnlike similar tools, ItsPrompt comes with many unique features, including:
And much more!
With the update ItsPrompt v1.5, we finally have a detailed Documentation, hosted on readthedocs!
We also introduce more ways to customize your prompts and input data, like
TablePromptsSeparatorsThe goal of ItsPrompt is to provide you an easy way of getting input from your users without spending your time on all the details, so you can focus on the important things of your program.
And if you want to help us make ItsPrompt even better, or you simply have questions, do not hesitate to visit our Github Project or to join our Discord!
And now, have fun with ItsPrompt!
r/madeinpython • u/Trinity_software • Apr 24 '24
Python app for analyzing single text and dataset using 2 popular libraries textblob and Vader sentiment
r/madeinpython • u/kbre93 • Apr 21 '24