An unofficial library for discord components with python

discord-components Discord components are cool, but discord.py will support it on version 2.0. It is hard to wait, so we made a third-party library for using components such as buttons or selects! We’re currently developing this library, so it has a lot of bugs. But it has enough features to make the components easy to use 🙂 Features You can use discord components and handle interactions easily! Methods based on discord.py. Supports discord.ext.commands, and going to support discord-py-slash-command. Install pip […]

Read more

A tool for modeling infectious diseases with python

epispot A Python package for the mathematical modeling of infectious diseases via compartmental models. Originally designed for epidemiologists, epispot can be adapted for almost any type of modeling scenario. Features The epispot package currently only supports compartmental models, thoughwe plan to expand the package to work for stochastic agent-based and spatialmodels as well. Currently, epispot offers the following: Quick compilation of compartmental models with the following compartments: Susceptible Infected Recovered Removed Exposed Dead Critical Hospitalized Custom-defined compartments for research Built-in […]

Read more

Keep CALM and Improve Visual Feature Attribution

calm Keep CALM and Improve Visual Feature Attribution Abstract The class activation mapping, or CAM, has been the cornerstone of feature attribution methods for multiple vision tasks. Its simplicity and effectiveness have led to wide applications in the explanation of visual predictions and weakly-supervised localization tasks. However, CAM has its own shortcomings. The computation of attribution maps relies on ad-hoc calibration steps that are not part of the training computational graph, making it difficult for us to understand the real […]

Read more

Interact with Replit remotely with the Replit CLI

Replit CLI Interact with Replit remotely with the Replit CLI. pip install repl-cli Welcome to Replit CLI! With the Replit CLI Application, you can work with your repls locally, including clone, pull, and push, the core features of the CLI. The full list of features includes- PS C:> replit Usage: replit [OPTIONS] COMMAND [ARGS]… Options: –install-completion [bash|zsh|fish|powershell|pwsh] Install completion for the specified shell. –show-completion [bash|zsh|fish|powershell|pwsh] Show completion for the specified shell, to copy it or customize the installation. –help Show […]

Read more

A simple script which logs the CPU and RAM usage of the submitted job

ClusterMonitor A very simple python script which monitors and records the CPU and RAM consumption of submitted cluster jobs. Usage To start recording use the cpu_ram_log.py script. This script requires 3 arguments: -u which corresponds to your username. -o which specifies the output file (in tsv format) –interval which specifies the time (in seconds) over which the CPU and RAM usage gets averaged Example: python cpu_ram_log.py -u nickhir -o cpu_ram.log –interval 5 The script can simply be included in your […]

Read more

A wrapper around pytest for assessing flakiness and runtime regressions

bubblewrap a wrapper around pytest for assessing flakiness and runtime regressions Local Setup This project uses Python3.9, pip to manage dependencies, and runs in a virtual environment. Install with the following: # create + activate venv + install dependencies # see docs: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/ $ python3 -m pip install –user virtualenv $ python3 -m venv env $ source env/bin/activate $ pip install -r requirements.txt # note: to deactivate venv, use $ deactivate Code Formatting This project uses Black for code formatting: […]

Read more

Advanced extended command line tool for Django

mirage-django-lts mirage ~ ♪ extended django admin or manage.py command. Installing Mirage with Pipenv is recommended. pipenv install -d mirage-django-lts If you don’t use pipenv, you can install it with pip. pip install mirage-django-lts You can build this package manually. make before_node make build_all Usage: mg [action] option mg [action]:[subaction] option [Create Project] new Create a new Django project. new:react Create a new Django API project with React.js front-end. new:ng Create a new Django API project with Angular. –nebular Create […]

Read more

A relatively simple user interface in pyqt5 for UNIX systems

scrcpy-pyqtgui A relatively simple user interface in pyqt5 for UNIX systems Requirements: You can install them with sudo apt-get install scrcpy python3 python3-pip adb pip3 install PyQt5 Usage To run the program you can use the following command in the terminal inside the folder python3 main.py GitHub https://github.com/hayukimori/scrcpy-pyqtgui    

Read more

Working With Linear Systems in Python With scipy.linalg

Linear algebra is widely used across a variety of subjects, and you can use it to solve many problems once you organize the information using concepts like vectors and linear equations. In Python, most of the routines related to this subject are implemented in scipy.linalg, which offers very fast linear algebra capabilities. In particular, linear systems play an important role in modeling a variety of real-world problems, and scipy.linalg provides tools to study and solve them in an efficient way. […]

Read more

SOLOIST: Pairing transfer learning and machine teaching to advance task bots at scale

The increasing use of personal assistants and messaging applications has spurred interest in building task-oriented dialog systems (or task bots) that can communicate with users through natural language to accomplish a wide range of tasks, such as restaurant booking, weather query, flight booking, or IT helpdesk support. The wide variety of tasks and domains has created the need for a flexible task-oriented dialog development platform that can support many different use cases while remaining straightforward for developers to use and […]

Read more
1 24 25 26 27 28 42