Simple subcommand CLIs with argparse

multicommand Simple subcommand CLIs with argparse. multicommand uses only the standard library and is ~100 lines of code (modulo comments and whitespace) Installation pip install multicommand Overview Multicommand enables you to easily write CLIs with deeply nested commands using vanilla argparse. You provide it with a package, it searches that package for parsers (ArgumentParser objects), and connects, names, and converts those parsers into subcommands based on the package structure. Package -> CLI commands/unary/negate.py mycli unary negate … commands/binary/add.py mycli binary […]

Read more

Generating Anime Images by Implementing DC GAN paper

AnimeGAN PyTorch implementation of DCGAN introduced in the paper: Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks, Alec Radford, Luke Metz, Soumith Chintala. Generative Adversarial Networks (GANs) are one of the most popular (and coolest)Machine Learning algorithms developed in recent times. They belong to a set of algorithms called generative models, whichare widely used for unupervised learning tasks which aim to learn the uderlying structure of the given data. As the namesuggests GANs allow you to generate new unseen […]

Read more

A python library that allows you to create complex report from various sources

pyreports pyreports is a python library that allows you to create complex reports from various sources such as databases, text files, ldap, etc. and perform processing, filters, counters, etc. and then export or write them in various formats or in databases. Test package To test the package, follow these instructions: $ git clone https://github.com/MatteoGuadrini/pyreports.git $ cd pyreports $ python -m unittest discover tests Install package To install package, follow these instructions: $ pip install pyreports #from pypi $ git clone […]

Read more

Winning solution of the Indoor Location & Navigation Kaggle competition

ndoor-Location-Navigation-Public This repository contains the code to generate the winning solution of the Kaggle competition on indoor location and navigation organized by Microsoft Research. Authors: Are Haartveit Dmitry Gordeev Tom Van de Wiele Steps to obtain the approximate winning submission Clone the repository, it doesn’t matter where you clone it to since the source code and data are disentangled. Create a project folder on a disk with at least 150GB of free space. Create a “Data” subfolder in your project […]

Read more

A simple Monte Carlo simulation using Python and matplotlib library

Monte Carlo python simulation A simple Monte Carlo simulation using Python and matplotlib library. Install linux dependencies sudo apt update sudo apt install build-essential software-properties-common python3-pip python3-distutils Create environment and install python dependencies pip3 install virtualenv virtualenv venv source venv/bin/activate pip install -r requirements.txt Preview GitHub https://github.com/samuelterra22/Monte-Carlo-Python-Simulation    

Read more

A GUI-based audio player based on the discord bot

Miza-Player A GUI-based audio player with support for a large variety of formats, able to play from web-hosted media platforms such as YouTube, includes a queue system, audio filters, as well as recording/saving audio. Has the ability to search for and display song lyrics, as well as visualise audio using piano key frequency bars. Based on the audio features of the discord bot https://github.com/thomas-xin/Miza, with audio visualisers based on https://github.com/thomas-xin/SpectralPulse GitHub https://github.com/thomas-xin/Miza-Player    

Read more

Simple and fast histogramming in Python accelerated with OpenMP

pygram11 Simple and fast histogramming in Python accelerated with OpenMP with help from pybind11. pygram11 provides functions for very fast histogram calculations (and the variance in each bin) in one and two dimensions. The API is very simple; documentation can be found here (you’ll also find some benchmarks there). Installing From PyPI Binary wheels are provided for Linux and macOS. They can be installedfrom PyPI via pip: pip install pygram11 From conda-forge For installation via the conda package manager pygram11 […]

Read more

The Python agent for Apache SkyWalking

SkyWalking Python Agent SkyWalking-Python: The Python Agent for Apache SkyWalking, which provides the native tracing abilities for Python project. SkyWalking: an APM(application performance monitor) system, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures. Install From Pypi The Python agent module is published to Pypi, from where you can use pip to install: # Install the latest version, using the default gRPC protocol to report data to OAP pip install “apache-skywalking” # Install the latest version, using […]

Read more

A script for Git-aware customization of the command prompt in Bash and zsh

ps1.py Here we have yet another script for Git-aware customization of the command prompt in Bash and zsh. Unlike all the other scripts, I wrote this one, so it’s better. Features: lets you know if you have mail in $MAIL shows chroot and virtualenv prompt prefixes automatically truncates the current directory path if it gets too long shows the status of the current Git repository (see below) thoroughly documented and easily customizable supports both Bash and zsh can optionally output […]

Read more

A fast open-source simulator for poly-articulated systems

Jiminy Jiminy is a fast and lightweight cross-platform open-source simulator for poly-articulated systems. It was built with two ideas in mind: provide a fast yet physically accurate simulator for robotics research. Jiminy is built around Pinocchio, an open-source fast and efficient kinematics and dynamics library. Jiminy thus uses minimal coordinates and Lagrangian dynamics to simulate an articulated system: this makes Jiminy as close as numerically possible to an analytical solution, without the risk of joint violation. build an efficient and […]

Read more
1 626 627 628 629 630 928