Use `forge` and `cast` commands in Python scripts

foundrycli.py is a Python library I’ve made for personal use; now open source. It let’s you access forge and cast CLIs from Python scripts and correctly handles the output, with some handy features: Features Run any command as if you were using the terminal # Get VB’s address vitalik = foundry_cli(‘cast resolve-name “vitalik.eth”‘) Use in scripts with composable commands # Calculate VB’s $$$ in stables for coin in stables: sum += foundry_cli(f’cast call {

Read more

Simple Malware Scanner written in python

Very basic malware Scanner by hash comparison Sometimes this can be needed when an incident response. If you found new or suspicious files when you do response, you want to check out where these files exist in systems. so then you may need like this tool. this is a demo version. not complete. you have to change and modify code and make it yours. Let me know if there are any changes required or additional features need it. # pip […]

Read more

Pop-Out Motion: 3D-Aware Image Deformation via Learning the Shape Laplacian (CVPR 2022)

Pop-Out Motion: 3D-Aware Image Deformation via Learning the Shape Laplacian (CVPR 2022) Jihyun Lee*, Minhyuk Sung*, Hyunjin Kim, Tae-Kyun (T-K) Kim (*: equal contributions) [Paper] [Video] We present a framework that can deform an object in a 2D image as it exists in 3D space. While our method leverages 2D-to-3D reconstruction, we argue that reconstruction is not sufficient for realistic deformations due to the vulnerability to topological errors. Thus, we propose to take a supervised learning-based approach to predict the […]

Read more

Track GitHub stars per day over a date range to measure the open-source popularity of different repositories

Track GitHub stars per day over a date range to measure the open-source popularity of different repositories. Requirements PyGitHub is required to access the GitHub REST API via Python. This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications. Usage Update TOKEN to a valid GitHub access token in count_stars.py L15 and then run: Result When run on April 1st, 2022 result is:

Read more

Generalized Additive Models in Python with a Bayesian twist

A Generalized additive model is a predictive mathematical model defined as a sum of terms that are calibrated (fitted) with observation data. Generalized additive models form a surprisingly general framework for building models for both production software and scientific research. This Python package offers tools for building the model terms as decompositions of various basis functions. It is possible to model the terms e.g. as Gaussian processes (with reduced dimensionality) of various kernels, as piecewise linear functions, and as B-splines, […]

Read more

Script to draw an image onto r/place

About Script to draw an image onto r/place (https://www.reddit.com/r/place/) Requirements Python 3 (https://www.python.org/downloads/) How to Get App Client ID and App Secret Key You need to generate an app client id and app secret key in order to use this script. Steps: Visit https://www.reddit.com/prefs/apps Click “create (another) app” button at very bottom Select the “script” option and fill in the fields with anything Python Package Requirements Install requirements from ‘requirements.txt’ file. pip3 install -r requirements.txt Get Started Create a file […]

Read more

FAST Aiming at the problems of cumbersome steps and slow download speed of GNSS data

####Introduce FAST Aiming at the problems of cumbersome steps and slow download speed of GNSS data, a relatively complete set of integrated multi-source data download terminal software fast is developed. The software contains most of the data sources required in the process of GNSS scientific research and learning. The way of parallel download greatly improves the efficiency of download. Git Software features Multi platform: Support both windows and Linux systems; Abundant Resources: It basically includes the data sources required in […]

Read more
1 191 192 193 194 195 940