r/madeinpython • • Nov 07 '23

Your Guide to Finding Exoplanets: Python in Astronomy

2 Upvotes

Many people do not know that you can use Python to find exoplanets. This is a short guide on how it works. I appreciate any kind of feedback! :)

Youtube Devlog: https://www.youtube.com/watch?v=bT896kq7OUU

Github Repository: https://github.com/louis-e/PythonExoplanet/


r/madeinpython • • Nov 07 '23

Find and Delete Mismatched Columns From DataFrames Using pandas

1 Upvotes

Data is the most valuable asset in machine learning, it solely holds the potential to make a machine learning model robust. Data plays an important role while training a model, the model trained can be underfitted or overfitted and it totally depends on the data.

The data you’ve gathered should be of high quality, so structure, construct, and clean it in such a way that it has the potential to produce a robust model.

In this article, you’ll learn how to use pandas to find and remove columns from one dataset that don’t match those in another.

Full Article: https://geekpython.in/find-and-delete-mismatched-columns-from-dataframes-using-pandas


r/madeinpython • • Nov 07 '23

Tchat: chat application in terminal using curses

4 Upvotes

r/madeinpython • • Nov 05 '23

Side Project: Built a quick AI tutor site to help learn python on your own (built with Django)

2 Upvotes

Hey guys,

I built a quick side project called Code Companion (https://codecompanion.app/) which is a GPT-4 based programming tutor, offering real-time help and feedback on your code.

You can use it to ask questions on your own programming challenges, ie. LeetCode problems, or work through my 60+ Python exercises on the site, which are designed help learn or hone your python skills.

Feel free to check it out and try it, it's 100% Free.

Thanks.


r/madeinpython • • Nov 05 '23

Open Sourcing Llmtuner - An Experimental Framework for Finetuning Large Models Like Whisper and Llama with scikit-learn-inspired interface

4 Upvotes

Hi Folks,

Happy to share an open source side project I've been working on - LLmtuner. It's a framework for finetuning large models like Whisper, Llama, Llama-2, etc with best practices like LoRA, QLoRA, through a sleek, scikit-learn-inspired interface.

As someone who works with Large Models a lot, I found myself writing a lot of boilerplate code every time I wanted to finetune a model. Llmtuner aims to simplify the finetuning process down to just 2-3 lines to get training started, similar to scikit-learn.

🚀 Features:

  • 🧙‍♀️ Finetune state-of-the-art LLMs like Whisper, Llama with minimal code
  • 🔨 Built-in utilities for techniques like LoRA and QLoRA
  • ✌ Launch webapp demos for your finetuned models with one click
  • 💥 Fast inference without separate code
  • 🌐 Easy model sharing and deployment coming soon

This is still experimental code I've been using for personal projects. I thought others might find it useful too so decided to open-source it.

Contributions and feedback are very welcome! I hope it will be helpful in your research & projects. Have a good weekend, Thanks :)


r/madeinpython • • Nov 04 '23

Are you comparing variables correctly in Python!? 'is' vs '=='

1 Upvotes

Have you ever wondered what's the difference between the 'is' and the '==' operators in Python? Well in this video, we will tackle this topic in order to properly figure out when to use each operator. On top of that, concepts such as interning and the eq() magic method will also be covered! So if you want to level up your Python skills, make sure to watch the full video!

Any feedback on the video/topic would be highly appropriated :)

https://youtu.be/BTGGzloXJeQ


r/madeinpython • • Nov 02 '23

Mastermind Board Game Built in Python w/ Kivy GUI

3 Upvotes

I have made a ton of games using pygame in the past, but wanted to get better at Kivy since I know it can used for mobile development, so this is one of my first big projects where I used the Kivy GUI and there's a lot of challenging syntax things going on there!

This is the classic board game 'mastermind which is like a color-dot guessing game similar to wordle! I made a full tutorial and showcase here if anyone is interested:

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

And all the code and assets are available here if you want to play it or mess around with it yourself! Cheers!

https://github.com/plemaster01/MastermindKivy


r/madeinpython • • Oct 31 '23

Seeking Feedback for My Python Data Cleaning and Preparation Code Snippets Site!

Thumbnail
netpick.wordpress.com
1 Upvotes

Hey fellow data enthusiasts! 👋

I've been working on a side project for the past few days, and I'm excited to share it with you. It's a collection of Python code snippets aimed at making data cleaning and preparation tasks a breeze.

While I don't have a ton of examples just yet, I wanted to open the floor for feedback. How often have we all struggled with data quality and preparation, right? So, I decided to gather my best practices and provide them with code examples.

I'd love to invite you all to check it out and share your thoughts. Whether you're a seasoned data wrangler or just starting out, your insights will be invaluable.

Let's make data work for us, not the other way around! Looking for your honest feedback! 💪


r/madeinpython • • Oct 31 '23

[Video] Understanding Python's seek() and tell() Functions for Navigating Files in Python

1 Upvotes

Here's a short (2-minute) video on Python's seek() and tell() functions for file handling. Explained the fundamentals in a short span with no jargon only straightforward explanation, you can easily grasp it.

If you have any feedback or suggestions for this video or to improve future videos then don't hesitate.

Video Link: https://youtu.be/7TQQJSfcrEQ?si=Gj68mAeDWZ95Ml7P


r/madeinpython • • Oct 29 '23

Hash Passwords Using bcrypt Library in Python

0 Upvotes

Web-based services and websites store hashed versions of your passwords, which means your actual password isn’t visible or stored in their database instead a string of fixed-length characters is stored.

Hashing is a security technique used to secure your passwords or texts stored in databases. A hash function is used to generate a string of unique fixed-length characters from the provided password by the user.

Let’s see how the hashing is done. In this article, you’ll use the bcrypt library to hash the user’s password and then compare that hashed password to the actual password in Python.

Full Article: https://geekpython.in/hash-passwords-using-bcrypt-in-python