Several implementations of classical games in Python

Mini Games with Pygame This projects implement several classic and popular games in Python, using python package — pygame. Currently, 4 games are already made in this project, listing below: Game scene How to run this project ? Install pygame :snake: Open your terminal console and enter pip install pygame to finish install. Acknowledgments :bulb: Snakegame Tutorial (pygame) – You can start with this tutorial to getan brief notion on how pygame actually works. Pygame Website – After knowing how […]

Read more

Generate and Visualize Data Lineage from query history

Tokern Lineage Engine Tokern Lineage Engine is fast and easy to use application to collect, visualize and analyze column-level data lineage in databases, data warehouses and data lakes in AWS and GCP. Tokern Lineage helps you browse column-level data lineage Resources Demo of Tokern Lineage App Quick Start Install a demo of using Docker and Docker Compose Download the docker-compose file from Github repository. # in a new directory run wget https://raw.githubusercontent.com/tokern/data-lineage/master/install-manifests/docker-compose/catalog-demo.yml # or run curl https://raw.githubusercontent.com/tokern/data-lineage/master/install-manifests/docker-compose/catalog-demo.yml -o docker-compose.yml Run […]

Read more

A casino discord bot written in Python

Casino Bot Casino bot is a gambling discord bot I made for my friends. It is able to play blackjack, slots, flip a coin, and roll dice. It stores everyone’s money on an SQLite3 database. Feel free to download and use for yourself! Installation Create a bot application on Discord Have Python 3.7 or later installed. Clone the repository Install requirements from requirements.txt Configure config.yml Run it GitHub https://github.com/ConnorSwis/casino-bot    

Read more

Automatically find solutions when your Python code encounters an issue

What The Python?! Helping you find answers to the errors Python spits out. Usage When you are running a python script, you might eveutally come across an error like so. $ python example/runs_with_error.py 0 1 2 Traceback (most recent call last): File “/home/cohan/github/perceptive-porcupines/Perceptive-Porcupines-Code-Jam-8/example/runs_with_error.py”, line 8, in requests.get(‘badurl’) File “/home/cohan/github/perceptive-porcupines/Perceptive-Porcupines-Code-Jam-8/.venv/lib/python3.9/site-packages/requests/api.py”, line 76, in get return request(‘get’, url, params=params, **kwargs) File “/home/cohan/github/perceptive-porcupines/Perceptive-Porcupines-Code-Jam-8/.venv/lib/python3.9/site-packages/requests/api.py”, line 61, in request return session.request(method=method, url=url, **kwargs) File “/home/cohan/github/perceptive-porcupines/Perceptive-Porcupines-Code-Jam-8/.venv/lib/python3.9/site-packages/requests/sessions.py”, line 528, in request prep = self.prepare_request(req) File “/home/cohan/github/perceptive-porcupines/Perceptive-Porcupines-Code-Jam-8/.venv/lib/python3.9/site-packages/requests/sessions.py”, line […]

Read more

Model synchronization from dbt to Metabase

Model synchronization from dbt to Metabase. If dbt is your source of truth for database schemas and you use Metabase as your analytics tool, dbt-metabase can propagate table relationships, model and column descriptions and semantic types (e.g. currency, category, URL) to your Metabase data model. Requirements Requires Python 3.6 or above. Main features The main features provided by dbt-metabase are: Parsing your dbt project (either through the manifest.json or directly through the YAML files) Triggering a Metabase schema sync before […]

Read more

Encode and decode text application in python

Text Encoder and Decoder Encode and decode text in many ways using this GUI application! Encode in: ASCII85 Base85 Base64 Base32 Base16 Url MD5 Hash SHA-1 SHA-224 SHA-384 SHA-256 SHA-512 Decode in: ASCII85 Base85 Base64 Base32 Base16 Url GitHub https://github.com/nonimportant/text-encode-and-decoder    

Read more

Analysing poker data from home games with friends

Poker Game Analysis Analysing poker data from home games with friends. Not a lot of data is collected, so this project is primarily focussed on descriptive analytics and basic plotting. Instructions Clone the respository $ git clone [email protected]:dietofworms/poker.git Navigate to the directory and create a Python virtual environment $ cd poker/$ python3 -m venv .venv Install the requirements (or install individually using list in next section) $ pip install -r requirements.txt Run the poker program $ python3 poker.py Dependencies Base […]

Read more

A python package that provides access to the Fanduel API

Southpaw Southpaw is a python package that provides access to the Fanduel API, Fanduel Sportsbook, and custom lineup optimizers. Installation Install via PyPi python -m pip install southpaw Example Usage Authenticate with Fanduel southpaw.get_x_auth_token_and_user_id(email, password) Create headers with your auth token southpaw.get_fanduel_headers_with_x_auth(x_auth_token, basic_auth_token) Get all upcoming contest for a user southpaw.get_upcoming_contests(user_id, fanduel_headers, sport=’any’) GitHub https://github.com/bcanfield/southpaw    

Read more

Poi: Make creating Excel XLSX files fun again

Poi Poi helps you write Excel sheet in a declarative way, ensuring you have a better Excel writing experience. It only supports Python 3.7+. Installation pip install poi Quick start Create a sheet object and write to a file. from poi import Sheet, Cell sheet = Sheet( root=Cell(“hello world”) ) sheet.write(‘hello.xlsx’) See, it’s pretty simple and clear. Sample for rendering a simple table. from typing import NamedTuple from datetime import datetime import random from poi import Sheet, Table class Product(NamedTuple): […]

Read more

Console XMPP client in python

poezio Poezio is a console Jabber/XMPP client. The initial goal was to provide a way of connecting easily to XMPP without the need for an account, exactly like IRC clients. Poezio’s commands are also designed to be close, if possible, to the ones commonly used in IRC clients (weechat, irssi, etc). For this reason, the experience is still centered around chatrooms, despite poezio being a full-featured XMPP client for a very long while. Install Packages The stable version of poezio […]

Read more
1 504 505 506 507 508 873