A project that me and my friends created as the CSC110 Final Project at UofT

Introduction The COVID-19 pandemic has caused severe financial stress for many Canadians. A national poll from October of 2020 reported that nearly 1 in 3 Canadians areworried they may never financially recover from the pandemic. Roughlyhalf of Canadians under the age of 35 have borrowed money from institutions tomake ends meet, while roughly the same amount have taken advantage of the Government’s emergency assistance. This is largely due to two major reasons. First, the pandemic drove the unemployment rate as […]

Read more

Run CodeServer on Google Colab using Inlets in less than 60 secs using your own domain

Run CodeServer on Colab using Inlets in less than 60 secs using your own domain. Features Optimized for Inlets/InletsPro Use your own Custom Domain i.e. https://colab.yourdomain.com Quick Deployment Password Protection (Optional) Notebook/CLI Support GDrive Integration Cloud Storage Integration (gcs, s3, minio, etc.) Currently Tested Storage Backends GCP Cloud Storage AWS S3 Minio Installation # From pypi pip install –upgrade inlets-colab # From source pip install –upgrade git+https://github.com/trisongz/inlets-colab Requirements Usage in Colab Notebook    

Read more

A cli based snake game written in Python

Things that I learned in this project: OOP in Python. Clean code. The curses library. How to run the game You need to clone this project and run the run.py file, in src/ folder, with the python interpreter. git clone https://github.com/kevinmarquesp/snake_game cd snake_game/src ./run.py # OR: python3 run.py About the game You can move the snake with arrow keys, vim keys (H, J, K, L) and WASD. Space, Return and O keys do the same thing, they are the confirm […]

Read more

Python Wrapper for interacting with the Flutterwave API

from python_flutterwave import payment payment.token = ‘YOUR_SECRET_KEY’ uri = payment.initiate_payment(tx_ref=”qwerty”, amount=100, redirect_url=’your_callback_url’, payment_options=’mpesa’, customer_email='[email protected]’, customer_phone_number=’0123456789′, currency=’KES’, customer_name=’John Doe’, title=’Demo Payment’, description=’Just pay me…’) print(uri) details = payment.get_payment_details(transaction_id)    

Read more

A small module for creating a card deck, used for making card games

Version 2.0.0 A library used for creating a card deck, which provides useful classes and methods for a user who wants to create card games. Installation Use the package manager pip to install this package: Usage Start by importing Deck and Hand from akeuroo-deck: from akeuroo_deck import Deck, Hand Instantiate the Deck like the following: There are two classes you can use, Deck and Hand, the following information will be about them: Deck has two methods, which are draw and […]

Read more

A Fast Proxy Checker In Python

The World’s Most Fastest Proxy Checker In Python, Maybe?! Features Based on Python 3.7+ Save Valid Porixes into the custom file Multi-Thread Fully Asynchronous Supported Proxy Types: HTTP – SOCKS4 – SOCKS5 Customize Connection Timeout Customize Process Timeout (to Avoid freezing) Test All Proxies with https://google.com Quick start

Read more

Predict the stock market with AI

The Oracle is a Python library that uses several AI prediction models to predict stocks returns over a defined period of time. It was firstly introduced in one of my previous package called Empyrial. Disclaimer: Information is provided ‘as is’ and solely for informational purposes, not for trading purposes or advice. How to install đŸ“„ How to use đŸ’»

Read more

Implementation of an attack on a tropical algebra discrete logarithm based protocol

This code implements the attack detailed in the paper: On the tropical discrete logarithm problem and security of a protocol based on tropical semidirect product Any Muanalifah, Sergei Sergeev Which can be found at:https://eprint.iacr.org/2021/040.pdf The script “iacr2021040.py” taken an optional argument specifying the dimension of the public matrix to generate. If not specified, it uses dimension 100. It is highly reccomended to run the script using PyPy. GitHub View Github    

Read more
1 284 285 286 287 288 915