A password generator using both Kivy framework and SQL in order to create a local database for users to generate strong passwords and store them

A password generator using both Kivy framework and SQL in order to create a local database for users to generate strong passwords and store them Using this project as an oppertunity to learn about topics such as GUI’s, Databases, and encryption Tasks: 1. Create basic python file to generate random passwords ✓ 2. Practice with Kivy and make fake landing pages ✓ 3. Create a basic framework for splash page, log in, account creation, and main page for generator ✓ […]

Read more

Module to visualize where your python script is slow

It provides: Code lines that impact your code speed. Visualisation of slow code lines for quick fix. Python 3.9Require matplotlib.pyplot, numpy from speed_testpy import ScriptProfilerPy ScriptProfilerPy(filepath=”example_testfile.py”).Profiler()output > code_profile_output.png ‘Make a copy of your python script to prevent any issues. ‘Executing this script with same packages as your scrpt’s virtual environment. Your script will be executed as a standard python import Provide the python script pathThe module will insert datetime() variable at each non-indented line. Your code is opened, read and […]

Read more

Python class to perform AB test analysis

Python class to perform AB test analysis Overview This repo contains a Python class to perform an A/B/C… test analysis with proportion-based metrics (including posthoc test). In practice, the class is can be used along with any appropriate RDBMS retrieval tool (e.g. google.cloud.bigquery module for BigQuery) so that, together, they result in an end-to-end analysis process, i.e. from querying the experiment data stored originally in SQL to arriving at the complete analysis results. The ABTest Class The class is named […]

Read more

Ergodic Experiment With Python

Based on this video. Run this experiment with this command: python main.py Try adjusting the BET_PERCENT to .25 to see the median amount won increase. Conclusion By having more “small bets” in the system, you increase your chances of winning the game. Example Output Here’s an example output when every ensemble does the max bet (100%). In other words, only 1 bet. Number OF ENSEMBLES: 1000 Number OF Coin Flips: 1000 Total Money in System: $2,620,888.98 Max Final Balance: $9,228.53 […]

Read more

Enhanced Strawberry GraphQL integration with Django

Enhanced Strawberry integration with Django. Built on top of strawberry-djangointegration, enhancing its overall functionality. Features All of supported features by strawberry-django. Extension that automatically optimize queries (usingonly/select_related/prefetch_related) to solve graphql N+1 problems, with support forfragment spread, inline fragments, @include/@skip directives, prefetch merging, etc Improved sync/async resolver that priorizes the model’s cache to avoid have to usesync_to_asyncwhen not needed. Support for Django choices enums using (requiresdjango-choices-field) Relay support for queries, connections and input mutations. Django Debug Toolbar integration with graphiql todisplay […]

Read more

Working With Pipenv

Managing multiple Python projects with their own third-party packages can get complicated. It is best practice to use a virtual environment to sandbox the requirements for each of your projects. Enter pipenv, the official recommended package management tool for Python. It handles both installation and virtual environments to help you manage your Python dependencies. In this course, you’ll learn about: How to use pip to install a package Where Python puts packages by default How to use pipenv to create […]

Read more

Augmentation for Single-Image-Super-Resolution

Augmentation for Single-Image-Super-Resolution Implimentation CutBlur Cutout CutMix Cutup CutMixup Blend RGBPermutation Identity OneOf License cf. @solafune(https://solafune.com) コンテストの参加以外を目的とした利用及び商用利用は禁止されています。商用利用・その他当コンテスト以外で利用したい場合はお問い合わせください。() cf. @solafune(https://solafune.com) Use for any purpose other than participation in the competition or commercial use is prohibited. If you would like to use them for any of the above purposes, please contact us. GitHub View Github    

Read more
1 266 267 268 269 270 915