Plazmix API wrapper for Python

An optimised, easy to use Plazmix API wrapper written in Python Features: Async and sync wrappers Using ujson instead of json for performance Regular updates Completely covers the Plazmix API Users Modes Online Metrics Moderator alerts News …and other more! Installing Important: Python 3.9 or higher is required To install the library you can just run the following command: Linux: # Linux/MacOS pip3 install plazmixapi Windows: python -m pip install plazmixapi OR pip install plazmixapi    

Read more

Freqtrade 3commas wrapper for python

The aim of this project is to provide an easy way to integrate freqtrade with 3commas. The main reason someone would want to do this is to use the auto DCA feature that 3commas provides and unfortunately freqtrade lacks. DCA can be risky, especially if used on bad/shit/meme coins, so please use responsibly. Make a 3commas account and bot First, you’ll need to create a 3commas account and connect 3commas to your exchange.Then create a multi-pair long bot with the […]

Read more

Little wrapper around asyncpg for specific experience

Little wrapper around asyncpg for specific experience. Basic usage from asyncpg_engine import Engine engine = await Engine.create(“postgres://guest:[email protected]:5432/guest?sslmode=disable”) async with engine.acquire() as con: # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.connection.Connection assert await con.fetchval(“SELECT 1”) == 1 Custom type conversions You can specify custom encoderdecoder by subclassing Engine: from asyncpg_engine import Engine import orjson class MyEngine(Engine): @staticmethod async def _set_codecs(con: Connection) -> None: # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.connection.Connection.set_type_codec await con.set_type_codec( “json”, encoder=orjson.dumps, decoder=orjson.loads, schema=”pg_catalog” ) Development and contribution First of all you should install Poetry using official instructions or solutions […]

Read more

A thin, practical wrapper around terminal capabilities in Python

Coding with Blessings looks like this… from blessings import Terminal t = Terminal() print(t.bold(‘Hi there!’)) print(t.bold_red_on_bright_green(‘It hurts my eyes!’)) with t.location(0, t.height – 1): print(‘This is at the bottom.’) Or, for byte-level control, you can drop down and play with raw terminal capabilities: print(‘{t.bold}All your {t.red}bold and red base{t.normal}’.format(t=t)) print(t.wingo(2)) Full API Reference The Pitch Blessings lifts several of curses‘ limiting assumptions, and it makes your code pretty, too: Use styles, color, and maybe a    

Read more

An Async Python API Wrapper for the Random Stuff API

YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to interact with the API and is easy to implement into your application. Make sure to get an API Key from here before trying to access this module. Changes 1.0 (stable) Documentation Make sure to read the docs at https://namantech.me/yarsaw. Contributing To contribute, fork the repo, make your changes, then start a Pull Request in the repo. To-Do Add docstrings to […]

Read more

A warp randomizer for pokeemerald

Randomizes the warps in a stock pokeemerald repo. Usage Instructions Install networkx and matplotlib via pip3 or similar. Set POKEEMERALD environment variable to the path to your pokeemerald/ folder Edit rand_idx at the top of the file to the seed to start searching from. Ensure that the repo has not already been randomized, or the script will not work! python3 randomizer.py The script will search for randomized layouts which pass completability tests. This can take anywhere from a couple of […]

Read more

A simple yet powerful wrapper for the YouTube Analytics API

A simple yet powerful wrapper for the YouTube Analytics API. Features Pythonic syntax lets you feel right at home Dynamic error handling saves hours of troubleshooting, and makes sure only valid requests count toward your API quota A clever interface allows you to make multiple requests across multiple sessions without reauthorising Extra support allows the native saving of CSV files and conversion to DataFrame objects Easy enough for beginners, but powerful enough for advanced users Installation You need Python 3.6.0 […]

Read more

An AI constraint solver for Python to optimize the Vehicle Routing Problem

OptaPy is an AI constraint solver for Python to optimize the Vehicle Routing Problem, Employee Rostering, Maintenance Scheduling, Task Assignment, School Timetabling, Cloud Optimization, Conference Scheduling, Job Shop Scheduling, Bin Packing and many more planning problems. OptaPy wraps the OptaPlanner engine internally, but using OptaPy in Python is significantly slower than using OptaPlanner in Java or Kotlin. Get started Prerequisites Install Python 3.9 or later Install JDK 11 or later with JAVA_HOME configured appropriately. Build Install the python build module […]

Read more
1 2 3