r/madeinpython • • Jul 28 '21

I wrote a comprehensive guide to Python Click

25 Upvotes

Hi, I'm an employee at AssemblyAI (we do speech to text + insights). My job is to educate people on how to use our API, as part of that, I also write educational articles about how to do things in general, for this article you don't have to sign up, you can simply download the included JSON file and follow the tutorial as is. This tutorial covers how to create a command line interface with optional or mandatory arguments, custom objects, make use of context, and more. If you have any questions please lmk!


r/madeinpython • • Jun 27 '21

How to make a clickable windows notification. There's an easy library that allows you to interface with Windows and make those little notifications in the bottom right that inconveniently pop up when you're doing something important. Enjoy!

Thumbnail
youtu.be
25 Upvotes

r/madeinpython • • May 17 '21

Making a Pokedex with Text and Image search!

Thumbnail
youtu.be
25 Upvotes

r/madeinpython • • Apr 25 '21

I created a YouTube Channel Statistics Analyser

25 Upvotes

Hello,

Here is the link to the live app: https://tubestats0.herokuapp.com/

I've been learning Python for over yea ar now (slowly I must add).

The inspiration stems from wondering how consistent Ali Abdaal is on posting videos for his YouTube channel.

Then, it turns into analysing channel statistics.

I'm keen on any feedback but realise there is lots of work to do. Here is a github: https://github.com/ShivanS93/tubestats

Thanks in advance.


r/madeinpython • • Mar 08 '21

Created a video on Data Structures: Tuples/Dictionaries/Sets/Lists

Thumbnail
youtube.com
25 Upvotes

r/madeinpython • • Feb 01 '21

Telegram stock market bot made using python and mongodb

25 Upvotes

Hey! Good people of reddit. I would like to showcase an intermediate level project I made. So here's a little background, many traders need to know when a certain stock Crosses a threshold for that there are many services and the one I used included 5-6 steps to set one trigger, so I thought that it would be nice if I could have my own bot deployed on a messaging app. Here I have built a telegram bot that allows users to set triggers for stock of their choice.

Users can set triggers for multiple stock and at multiple price points.

I have used the following :

  1. yfinance, alpha vantage and telegram api

  2. Mongodb

Github link: https://github.com/pratik-choudhari/StockNotify

I have added detailed readme and have kept multiple topics open for contributions. Do check it out😊

I would like hear from you in the comments, good or bad, anything!


r/madeinpython • • Jan 06 '21

Just started python, and I know this is a silly piece of code but I can't help but share it.

25 Upvotes

Just creates some sentences about poop using random adjectives. eg. "The smell of your first poop was absolutely cringe." Sometimes it doesn't make sense. I used sublime.

import random

poop_adj = ['round', 'liquid', 'sausagey', 'irregular', "like a bunch o' balls", 'smooth', 'spirally', 'cubic', 'like ice cream', 'incredible', 'unbelievable', 'quite lame', 'very lame', 'just lame', 'very very long', 'dark', 'light', 'bold', 'sexy', 'spongy', 'epic', 'legendary', 'sad', 'messed up', 'old', 'brand new', 'on fire', 'hot', 'amazing', 'majestic', 'cringe', 'solid', 'like pizza', 'like marmite', 'unbearable', 'heavy', 'totally bonkers', 'absolutely cringe', 'totally cute','just cringe', 'succesful', 'a failure', 'a success', 'shocking', 'a joke', 'like petrol', 'like asparagus', 'like fish', 'yucky', 'yummy'] # adjectives for your poop

poop_properties = ['texture', 'shape', 'colouring', 'smell', 'looks', 'excretion', 'size', 'shading', 'lighting', 'composition', 'destiny', 'weight', 'fate', 'length', 'width', 'view', 'features', 'quality', 'appearance'] # aspects for your poop

no = ['','','','',''] # idk how to make adjustable numbers yet ok

prep = ['next', 'following'] 

message = (f"( ͡° ͜ʖ ͡°) The {random.choice(poop_properties)} of your first poop was {random.choice(poop_adj)}.") # first sentence
print(message)

for n in no: # the number of sentences excluding first and last
	message = (f"( ͡° ͜ʖ ͡°) The {random.choice(poop_properties)} of your {random.choice(prep)} poop was {random.choice(poop_adj)}.")
	print(message)

message = (f"( ͡° ͜ʖ ͡°) The {random.choice(poop_properties)} of your last poop was {random.choice(poop_adj)}.") # last sentence
print(message)

r/madeinpython • • Dec 18 '20

I have updated my Whatsapp API

Thumbnail self.python
25 Upvotes

r/madeinpython • • Dec 12 '20

Menu Tutorial for Pygamers

Thumbnail
youtu.be
25 Upvotes

r/madeinpython • • Dec 07 '20

One final post for the weekend: Same object tracker as the one earlier, but a much harder video this time, so more manual intervention needed. Still surprised this worked as well as it did!

Thumbnail
youtube.com
25 Upvotes

r/madeinpython • • Nov 29 '20

A categorized python library index

Thumbnail
pythonstacks.com
25 Upvotes

r/madeinpython • • Aug 01 '20

Domain warping generative art

Post image
25 Upvotes

r/madeinpython • • Jul 28 '20

I've created a Pokemon-like battle system (easily customizable)

25 Upvotes

r/madeinpython • • May 19 '20

Quick Weather Function using Pyowm and the OpenWeatherMap API

Thumbnail
youtube.com
25 Upvotes

r/madeinpython • • May 05 '20

Made in python: a folder clock

Post image
25 Upvotes

r/madeinpython • • 23d ago

I made a zero-dependency scientific computing library in pure Python

24 Upvotes

I made scientific-computing-system, a scientific library written entirely in pure Python. The core installs with no runtime dependencies, so the algorithms are plain readable code instead of calls into compiled extensions.

It has 36 modules and 505 exported names covering linear algebra, ODE and PDE solvers, numerical integration, optimization, statistics and probability, uncertainty propagation and sensitivity analysis, validation helpers, and a small workflow layer. Every run can write a manifest with inputs, seeds, versions and hashes, so a result can be re-checked later.

There is also a cds CLI with 13 subcommands, 34 runnable examples, and optional lazy adapters for NumPy, SciPy, statsmodels, scikit-learn, SymPy and Z3. The package is MIT licensed and targets Python 3.11 and newer.

Honest limitation: it is much slower than NumPy on dense numerics. The repo benchmark records about 1155x slower on a 100x100 matrix multiply in one CI run. It is meant for learning, prototyping and reproducible runs, not heavy production work.

Code: https://github.com/Furox-Art/scientific-computing-system

PyPI: pip install scientific-computing-system

npm: npm i -g scientific-computing-system

Docs: https://furox-art.github.io/scientific-computing-system/

If any part interests you I can explain the design in more detail.


r/madeinpython • • Jan 22 '23

Python StarCraft 2 AI

Thumbnail
youtu.be
24 Upvotes

r/madeinpython • • Jan 13 '23

A Cheat Sheet to Machine Learning Algorithms: Types, Applications, and Examples

Thumbnail
medium.com
24 Upvotes

r/madeinpython • • Oct 24 '22

Recreate Minecraft in Python

24 Upvotes

Hey guys,

It's nearly the end of this thread about how I recreate Minecraft in Python with the Harfang3D framework.

Next step is that I have added more materials to build with, such as snow and rock which can be seen below on the GUI, also implemented with Harfang3D.

So that's all, you can find the repo here.

Here are some screenshots of the final version and the link to the youtube video.

If you have any questions or recommendations, feel free to tell me.


r/madeinpython • • Aug 01 '22

I couldn't find a FastAPI x Google Auth tutorial so I made one

Thumbnail self.python
24 Upvotes

r/madeinpython • • Jun 12 '21

step by step swap visualization of sorting algorithm. This video has 2 parts firs,t swapping visualization and second, explanation of each sorting algorithm with different criteria including python code.

Thumbnail
youtu.be
24 Upvotes

r/madeinpython • • Jun 05 '21

My first project: an SEO/digital marketing analysis assistance tool

24 Upvotes

I made this a few months ago but never shared it anywhere, but here it is now! Check out the GitHub link:

https://github.com/A-PS1999/seo-research-assistant-project

Like the name suggests, it's a tool which is supposed to help someone do analysis of a webpage by finding broken links, the presence of keywords, generating visualisations of backlinks data and so on. The GitHub readme provides more detail.

I would really appreciate feedback and suggestions!


r/madeinpython • • May 25 '21

Flask Project - Bitcoin Roller Coaster Guy

24 Upvotes

Website: https://bitcoin-meme.herokuapp.com/

GitHub: https://github.com/kickinslowly/bitcoin_meme

This is a learning project to help me understand Flask Web Framework. This is my first time using Flask. The project idea was random, I knew I wanted the site to be basic and automatically update content. I chose the Bitcoin Roller Coaster Guy because it is a pretty fun meme.

The app pings coindesk every 30 seconds to grab current price. Then displays current price and % change over the last 30 seconds. Based on % change, roller coaster guy updates his angle on the coaster. Audio files also update with coaster guy.

I used a dictionary named status to hold information for each scenario:

status = [{
    'normal': {
        'gif': 'static/level.gif',
        'sound': ['static/minecart.mp3', 'static/woohoo.mp3', 'static/moon.mp3']
        },
    'down_30': {
        'gif': 'static/down_30.gif',
        'sound': ['static/minecart.mp3', 'static/woohoo.mp3', 'static/dip.mp3']
        },
    'down_60': {
        'gif': 'static/down_60.gif',
        'sound': ['static/minecart.mp3', 'static/woohoo.mp3', 'static/down.mp3']
        },
    'down': {
        'gif': 'static/down.gif',
        'sound': ['static/minecart.mp3', 'static/woohoo.mp3', 'static/emergency.mp3']
        },
    'up_30': {
        'gif': 'static/up_30.gif',
        'sound': ['static/minecart.mp3', 'static/woohoo.mp3', 'static/forever.mp3']
        },
    'up_60': {
        'gif': 'static/up_60.gif',
        'sound': ['static/minecart.mp3', 'static/woohoo.mp3', 'static/pump.mp3']
        },
    'up': {
        'gif': 'static/up.gif',
        'sound': ['static/minecart.mp3', 'static/yeehaw.mp3', 'static/launch.mp3']
        },
}]

I used if/else statements to choose status(I always feel there is a better way).

I learned immediately that I don't know much about web development, just basic html and css. I was able to string a little JavaScript together to cause the page to refresh. I know this is super clunky and ideally I would like to have each element refresh and not the whole page, but I think that requires more JS and I was more focused on creating a basic Flask app and getting it deployed.

That's all, thanks for your support.


r/madeinpython • • May 09 '21

2D Open world ASCII rpg written in Python 3, standard library

24 Upvotes

https://github.com/Ninedeadeyes/GrimeLore-Land-of-the-Heretic-Hand

For those that are interested in seeing how an 2d rpg is written using just the standard library. I also have a basic 'game engine' within MISC folder for those who want to make their own..