A simple python logging library

logi A simple python logging library. instolation the lib works on python 3x versions pip install logi examples import import logi log = logger(path=’C:/file path’, timestamp=True, dbg=True) info log log.info(‘info log’) final code from logi import logi log = logi(path=’C:/file path’, timestamp=True, dbg=True) log.info(‘info log’) # output: 15:54:11 | info | info log log example with timestamp 15:54:11 | info | info log 15:54:58 | Warning | warning log 15:55:08 | Error | Error log 16:05:14 | hardware | custom […]

Read more

A discord.py extension for sending, receiving and handlling button in python

discord-message-components This is a discord.py message component extension made by 404kuso and RedstoneZockt, which you can use until discord.py v2.0 is out We also added override support for the discord.ext.commands.Bot client, so you don’t have to initialize everything on your own To override the standart Bot client, add the following to your code from discord.ext import commands from discord_message_components import override_client override_client() client = commands.Bot(…) This will add .components and .slash to the client, and you don’t need theextension = […]

Read more

A Python Flask API is code-first and using native Flask

MrMat :: Python :: API :: Flask Boilerplate code for a Python Flask API Features Code-first Pluggable APIs and multiple API versions Database schema migration using Flask-Migrate API body serialisation using Flask-Marshmallow OIDC Authentication using Flask-OIDC No TLS, because this is intended to run behind a reverse proxy Healthz How to build this Use the standard python ./setup.py install to build. By default, the version built will be 0.0.0.dev0,unless the MRMAT_VERSION environment variable is set by the build orchestrator (e.g. […]

Read more

dynaconf – Configuration Management for Python

dynaconf Configuration Management for Python. Features Inspired by the 12-factor application guide Settings management (default values, validation, parsing, templating) Protection of sensitive information (passwords/tokens) Multiple file formats toml|yaml|json|ini|py and also customizable loaders. Full support for environment variables to override existing settings (dotenv support included). Optional layered system for multi environments [default, development, testing, production] Built-in support for Hashicorp Vault and Redis as settings and secrets storage. Built-in extensions for Django and Flask web frameworks. CLI for common operations such as […]

Read more

A python based web application to manage the software on your HTPC

HTPC-Manager A fully responsive interface to manage all your favorite software on your HTPC. A python based web application to manage the software on your HTPC. HTPC Manager combines all your favorite software into one slick interface. NZBGet module (rewritten) qBittorrent module (rewritten) Transmission (add url, upload local torrent) Deluge (add url/magnet, pause/remove, set limit) SABnzbd (drag & drop to edit queue, pause for x min, purge history) Stats module (Hardware info, S.M.A.R.T report, execute scripts) CouchPotato (Suggestions and moar..) […]

Read more

Create Python API documentation in Markdown format

Pydoc-Markdown Pydoc-Markdown is a tool and library to create Python API documentation in Markdown format based on lib2to3, allowing it to parse your Python code without executing it. Pydoc-Markdown requires Python 3.7 or newer, however the code that you want to generate API documentation for can be for any Python version. Features Understands multiple doc styles (Sphinx, Google, Pydoc-Markdown) Supports assignment docstrings (#: block before or string literal after the statement) Links references to other documented API objects [WIP] [MkDocs][], […]

Read more

A Discord Bot for the Pygame Community Server

The Pygame Community Discord bot The bot is capable of doing a lot of stuff, the command prefix is pg!. For help on all the bot commands, run pg!help. The bot is licensed under the MIT license. Setting up the bot on test mode When you get the ‘sorcerer’ role on the discord server, you will be given the token of the test bot. You can then run the bot locally on your local setup to test the bot. Make […]

Read more

A photochemical model of rocky planet’s atmospheres

PhotochemPy PhotochemPy is a photochemical model of rocky planet’s atmospheres. Given inputs, like the stellar UV flux, the atmospheric temperature structure, etc., this code will find the steady-state chemical composition of an atmosphere, or evolve atmospheres through time. PhotochemPy is a Python wrapper to Fortran source code. This makes the code very speedy, but also user-friendly. Installation Requirements:To install PhotochemPy, you must have the following installed on your system. Python (>3.6.0) with the numpy package. I suggest using anaconda to […]

Read more

Hydrogen (or other pure gas phase species) depressurization calculations

HydDown Hydrogen (or other pure gas phase species) depressurization calculations This code is published under an MIT license. Run the code as simple as: python main.py input.yml where main.py is the main script and input.yml is the input file in Yaml syntax. Consult the manual for a more rigorous explanation of the software, the implemented methods, and its usage. Further, the manual also contains a few validation studies. Demonstration The easiest way to explore the capability of HydDown is the […]

Read more

A program which converts images and video into Excel spreadsheets

image2excel A program which converts images and video into Excel spreadsheets. Videos can take a long time to save. Example conversion Original image: Result as viewed in Excel: Video is the same except each frame is it’s own spreadsheet. Prerequisites Main libraries can be installed with: pip install -r requirements.txt Web UI libraries can be installed with: pip install -r web_requirements.txt Command syntax image2excel-cmd.py [-h] [–scale SCALE] [–filter FILTER] [–frameskip FRAMESKIP] [–forceframeskip] [–videocut VIDEOCUT] type file_path output_path mode Use image2excel-cmd.py […]

Read more
1 546 547 548 549 550 927