Simple converter for deploying Stable-Baselines3 model to TFLite and/or Coral

Introduction I’ve been using Stable-Baselines3to train agents against some custom Gyms, some of which require fairlylarge NNs in order to be effective. I want those agents to eventually be run on a pi or similar, so I needto export all the way to TFLiteand ideally a Coral. How to use Setup You will need to have configured the Coral system-wide stuff. Build a venv: python3 -m venv venv source venv/bin/activate python3 -m pip install -r requirements.txt Running This comes with […]

Read more

Automatically download all 10,000 CryptoPunk NFTs

The sole purpose of this script is to download the entire CryptoPunk NFT collection. How does it work? Basically, the website where the CryptoPunk pictures are stored lets you see the individual pictures numbered from 0000 to 9999. Since they’re all numbered chronologically, you can just pick a number, and change the image URL, and voila, you have the picture! Here’s NFT #0000, and here is NFT #6969. As you can tell, the URL remains unchanged for both except for […]

Read more

Automatically download any NFT collection from OpenSea

The sole purpose of this script is to download any NFT collection from OpenSea. How does it work? Basically, the OpenSea website allows for scripts to reach into their system via an API. Using this API, we fetch the amount of items in the collection of choice, and split it into 50-item chunks each, and start downloading them. Everything is automated, except the name of the collection. The name of the collection has to be set manually, by opening the […]

Read more

Convert tweets to Instagram-friendly images

Convert tweets to Instagram-friendly images. How to use If you want to use this repository as a submodule, don’t forget to put the fonts directory, the resources directory and credentials.py in your working directory. There are two main functions in tweet_image.py: def tweets_to_images(file, handle, name, showFavsRt, show_date) def tweet_to_image(name, username, showFavsRt, show_date, tweet, tweet_timestamp, favs, retweets, profile_image, tweet_id, media_url, r, g, b) tweets_to_images file: File with the tweets. You can generate such a file with this module which I have […]

Read more

This plugin generates json files used by deovr allowing you to play 2d and 3d video’s using the player

This plugin generates json files used by deovr allowing you to play 2d and 3d video’s using the player.Deovr looks for an index file /deovr of scenes as json files containing information on scenes.This plugin generates these Stash can act as a web server and serve files from a custom url, we will be using this to serve the json files generated by this plugin.Edit config.yml and add a custom served folder option like the below, this will serve files […]

Read more

Tools for improving Python imports

Tools for improving Python imports. Installation Docs import_from_path() Import a module from any path on the filesystem. Usually, this would be achieved by adding the parent directory of the module tosys.path or the PYTHONPATH environment variable. However, this pollutes theimport path and can lead to accidentally importing the wrong modules. Thefunction import_from_path() avoids this problem by importing a package from asearch path without modifying the Python import path. The module can be either a directory containing __init__.py or a single […]

Read more

Modern Denial-of-service ToolKit for python

Modern Denial-of-service ToolKit Method Target Description SMS PHONE Sends a massive amount of SMS messages and calls to a single target EMAIL EMAIL Sends a massive amount of Email messages to a target NTP IP:PORT NTP amplification is a type of Distributed Denial of Service (DDoS) attack in which the attacker exploits publically-accessible Network Time Protocol (NTP) servers to overwhelm the targeted with User Datagram Protocol (UDP) traffic. SYN IP:PORT A SYN flood (half-open attack) is a type of denial-of-service […]

Read more

A tool to find the unregistered dependency based on dependency confusion valunerablility and lead to RCE

DepFine Is a tool to find the unregistered dependency based on dependency confusion valunerablility and lead to RCE You Can install the tool using the following command by pip3 -r requirmentes.txt install and the tool requirmentes will be installed inside your machine The tool until now is running for node.js dependencies only but in next realase will be allow for the other frameworks like gemfile, pypi You can use the tool using the following command by type: python3 DepFine.py RawForPackage.com […]

Read more

Google Developer Profile Badge Scraper

GDev Profile Badge Scraper is a Google Developer Profile Web Scraper which scrapes for specific badges in a user’s Google Developer Profile. This first version is specific to the use case for detecting 16 badges for Android Study Jam participants/facilitators and gives an output of each badge filtered individually. As Google themselves do not provide a service to track multiple user’s GDev profile, I thought of writing this script myself. This script has a time complexity of 8(n). It can […]

Read more

Simple program to play Metamon automatically

Radio Caca Important disclaimer This software is intended for use by individualsfamiliar with Python programming language. It usessensitive signature code from MetaMask wallet whichneeds to be safe and secure at all times. Make sureto inspect the code for any attempts to send yourinformation anywhere except https://metamon-api.radiocaca.com/usm-api(official metamon game api). We are not responsiblefor any loss incurred if you used modified versionof this code from other sources! Prerequisites To start using this program Python needs to beinstalled and some packages. The […]

Read more
1 343 344 345 346 347 928