pylic – Python license checker

Reads pylic configuration in pyproject.toml and checks licenses of installed packages recursively. Principles: Every license has to be allowed explicitly (case-insensitive comparison). All installed packages without a license are considered unsafe and have to be listed as such. Only installed packages are checked for licenses. Packages/dependencies listed in pyproject.toml are ignored. Installation pip install pylic Configuration pylic needs be run in the directory where your pyproject.toml file is located. You can configure safe_licenses: All licenses you concider safe for usage. […]

Read more

GreynirCorrect: Spelling and grammar correction for Icelandic

GreynirCorrect: Spelling and grammar correction for Icelandic Overview GreynirCorrect is a Python 3 (>= 3.6) package and command line tool for checking and correcting spelling and grammar in Icelandic text. GreynirCorrect relies on the Greynir package, by the same authors, to tokenize and parse text. GreynirCorrect is documented in detail here. The software has three main modes of operation, described below. Token-level correction GreynirCorrect can tokenize text and return an automatically corrected token stream. This catches token-level errors, such as […]

Read more

Package for uncertainty analysis in Python

Currently in rewriting phase. Package for uncertainty analysis in Python.It was developed while I was doing my Bachelor in physics.The functionality is based on the lab courses. Warnings The function exec is used within some functionalities.This can cause harm if exploited. General introduction The main classes of the package are Data, Table and Formula.The package holds functionality for: Error/Uncertainty propagation in equations Create tables and calculate different types of averages including arithmetic, geometric, modus, … Normal and simplified gauss propagation […]

Read more

Using Podman with BuildKit, the better Docker image builder

BuildKit is a new and improved tool for building Docker images: it’s faster, has critical features missing from traditional Dockerfiles like build secrets, plus additionally useful features like cache mounting. So if you’re building Docker images, using BuildKit is in general a good idea. And then there’s Podman: Podman is a reimplemented, compatible version of the Docker CLI and API. It does not however implement all the BuildKit Dockerfile extensions. On its own, then, Podman isn’t as good as Docker […]

Read more

Get your Pixiv token (for running upbit/pixivpy)

Install ❭ pip install gppt Run Note: In advance, please setup google-chrome-stable + selenium + webdriver On Ubuntu, my setup script is available ❭ ./setup.sh From Library from gppt import GetPixivToken g = GetPixivToken() res = g.login(headless=True, user=”…”, pass_=”…”) { “access_token”: “***”, “expires_in”: 3600, “refresh_token”: “***”, “scope”: “”, “token_type”: “bearer”, “user”: { “account”: “***”, “id”: “***”, “is_mail_authorized”: , “is_premium”: , “mail_address”: “***@***”, “name”: “***”, “profile_image_urls”: { “px_16x16”: “https://s.pximg.net/common/images/no_profile_ss.png”, “px_170x170”: “https://s.pximg.net/common/images/no_profile.png”, “px_50x50”: “https://s.pximg.net/common/images/no_profile_s.png” }, “require_policy_agreement”: , “x_restrict”: 2 } } From […]

Read more

A framework for creating and running trading strategies without worrying about integration

Kinetick Trade Bot Kinetick is a framework for creating and running trading strategies without worrying about integration with broker and data streams (currently integrates with zerodha [*]). Kinetick is aimed to make systematic trading available for everyone. Leave the heavy lifting to kinetick so that you can focus on building strategies. Changelog » 📱Screenshots Features A continuously-running Blotter that lets you capture market data even when your algos aren’t running. Tick, Bar and Trade data is stored in MongoDB for […]

Read more

A python based NFT generator which programatically generates unique images using weighted layer files

nft-generator-py is a python based NFT generator which programatically generates unique images using weighted layer files. The program is simple to use, and new layers can be added by adding a new layer object and adding names, weights, and image files to the object. You can View The Demo here. How it works A call to generate_unique_images(amount, config) is made, which is the meat of the application where all the processing happens. The config object is read and for each […]

Read more

Secret Service Email Encryption/Steganography

SecretService Decoy Encrypted Emailer For use with gmail currently. Will add other mailers later. This system uses ECC/ECIES (Elliptic Curve Cryptography) to exchange keys with a user and enables them to send secret messages back and forth. When we say secret, it means there is a decoy message that sits in your normal gmail inbox, while the real message is accessible by the app and will decrypt your messages. How to operate: Step 1: pip3 install -r requirements (recommended to […]

Read more

Takes real time stream from Enphase Envoy and publishes to mqtt broker

A Python script that takes a real time stream from Enphase Envoy and publishes to a mqtt broker. This can then be used within Home Assistant or for other applications. The data updates at least once per second with negligible load on the Envoy. Requirements An Enphase Envoy. Note – Tested with Envoy-S-Metered-EU A system running python3 with the paho.mqtt python library The normal way to install paho.mqtt is pip install paho-mqtt If that doesn’t work, try git clone https://github.com/eclipse/paho.mqtt.python […]

Read more

Leetcode Practice for python

Description This is my LeetCode Practice. Visit LeetCode Website for detailed question description.The code in this repository has already been ALL ACCEPTED by LeetCode. Environment Python >= 3.6 gcc >= 6.3.0 g++ >= 6.3.0 Getting Started git clone https://github.com/LeoTheBestCoder/LeetCode.git Python file python3 example.py C filegcc example.c./a.out (for Linux user).a.exe (for Windows user) cpp fileg++ example.cpp./a.out (for Linux user).a.exe (for Windows user) Feedback and Bug Report If you find any bugs in my code or you have any suggestions, please feel […]

Read more
1 553 554 555 556 557 1,022