r/madeinpython • • Oct 28 '23

Updated My Awesome ERC20 Dapp Repository Go Check It Out

2 Upvotes

Brief description, connect to ethereum blockchain of choice and check balances, make transactions, view/interact/execute/deploy smart contract functions & authenticate to any available ccxt exchange with valid credentials and trade/withdraw on your exchange account using our beloved python.

github
pypi


r/madeinpython • • Oct 27 '23

OAuth made dead simple

6 Upvotes

I do keep a Google Sheet of some personal fitness-data and I got tired of re-entering data from Strava manually because only OAuth API authentication is provided. Soo, I came up with a dead simple library which presents one function which - given some parameters, private keys and certificates - can reliably fetch OAuth tokens for downstream usage.

https://github.com/petereon/yoauth

Example:

from yoauth import get_oauth_token

google_token = get_oauth_token(
    authorization_url="https://accounts.google.com/o/oauth2/v2/auth",
    token_url="https://oauth2.googleapis.com/token",
    client_id=GOOGLE_CLIENT_ID,
    client_secret=GOOGLE_CLIENT_SECRET,
    scopes=GOOGLE_SCOPES,
)

Any reviews, opinions or ideas would be very much appreciated.


r/madeinpython • • Oct 27 '23

QualityScaler 2.8 - image/video AI upscaler app

3 Upvotes

Qualityscaler is a Windows app powered by AI to enhance, enlarge and reduce noise in photographs and videos.

Changelog versions from 2.4 > 2.8

NEW

  • Support for .heic images
  • Added metadata copy from original file to upscaled file via exiftool
  • Completely rewrote the frame resizing algorithm
  • Added a new feature of interpolating the AI-generated image/frame and original image/frame
  • Added support for SRVGGNetCompact AI architecture (a fast and lightweight AI)

    • RealESR_Gx4
    • RealSRx4_Anime
  • Added support for SAFMN AI architecture (lightweight and high-quality AI)

    • SAFMNLx4
    • SAFMNLx4_Real
  • Added BSRGANx2 AI model (in addition to BSRGANx4)

GUI

  • The app will now report the index of the file that is being processed
  • The app will now report the remaining time to complete video upscaling
  • The app now reports the progress in % instead of the number of frames
  • Completely revised GUI, now cleaner and more elegant
  • Added new widgets for info button and in case of error
  • Updated info texts and widget texts

BUGFIX/IMPROVEMENTS

  • Fixed an issue that was causing some antivirus to false-positive by reporting the app as a trojan
  • By default Image output is set to ".jpg"
  • Drastically reduced CPU utilization by 90% without impacting upscale speed
  • Changed default AI model to RealESR_Gx4 (the fastest model)
  • When the application is closed while upscaling, now upscale process is stopped correctly
  • Support for images and videos with special characters in path name
  • Lot of bugfixes and improvements
  • Updated dependencies
  • Changed the dependency import system, this should result in:

    • improved performance
    • less RAM memory usage

r/madeinpython • • Oct 26 '23

Sensor readers - Prepaid Water Meters - have you seen this or know what it is?

1 Upvotes

The attached pic shows (1) the actual water pump metering device and the pic of the keypad(2) shows the device that will load prepaid water onto your system. For you come across such a device - how would one be able to get "sensor" data off such a device.