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

A full-reference quality metric designed to analyze how good image and video restoration methods

ERQA – a full-reference quality metric designed to analyze how good image and video restoration methods (SR, deblurring, denoising, etc) are restoring real details. It is part of MSU Video Super Resolution Benchmark project. Quick start Run pip install erqa and run it from command line or directly from Python code. Command line python -m erqa /path/to/target.png /path/to/gt.png Python code    

Read more

Enables increment operators in Python with a bytecode hack

Enable ++x and –x expressions in Python What’s this? By default, Python supports neither pre-increments (like ++x) nor post-increments (like x++). However, the first ones are syntactically correct since Python parses them as two subsequent +x operations, where + is the unary plus operator (same with –x and the unary minus). They both have no effect, since in practice -(-x) == +(+x) == x. This module turns the ++x-like expressions into x += 1 at the bytecode level. Increments and […]

Read more
1 511 512 513 514 515 991