A repository with scraping code and soccer dataset from understat.com

UNDERSTAT – SHOTS DATASET As many people interested in soccer analytics know, Understat is an amazing source of information. They provide Expected Goals (xG) stats for every shot taken in the top 5 leagues in Europe, as well as the Russian league. After watching an awesome tutorial by McKay Johns (great channel btw, loads of resources for beginners in soccer analytics), I decided to write some code to scrape all the shots data available at Understat. As a consequence I […]

Read more

Zero-Shot Voice Style Transfer with Only Autoencoder Loss

AutoVC This is an unofficial implementation of AutoVC based on the official one. The D-Vector and vocoder are from yistlin/dvector and yistLin/universal-vocoder respectively. This implementation supports torch.jit, so the full model can be loaded with simply one line: model = torch.jit.load(model_path) Pre-trained models are available here. Preprocessing python preprocess.py [–seg_len seg] [–n_workers workers] data_dir: The directory of speakers. save_dir: The directory to save the processed files. encoder_path: The path of pre-trained D-Vector. seg: The length of segments for training. workers: […]

Read more

Draw your telegram bot in draw.io and generate its code

drawyourbot Draw your bot is an open sourced project made to let people construct chat bots without coding or with minimal coding.You can just draw your chat bot logic in draw.io (http://diagrams.net/) and generate its code.This project will be most useful for those who need to make simple support or survey bot.It could also save some time for those who are building really complex bots. In that cases generated bot can bejust a start point. Install requirements First you need […]

Read more

Learning Multimodal Violence Detection under Weak Supervision

XDVioDet Official implementation of “Not only Look, but also Listen: Learning Multimodal Violence Detection under Weak Supervision” ECCV2020. The project website is XD-Violence. The features can be downloaded from our project website. where we oversample each video frame with the “5-crop” augment, “5-crop” means cropping images into the center and four corners. _0.npy is the center, _1~ _4.npy is the corners. How to train download or extract the features. use make_list.py in the list folder to generate the training and […]

Read more

Registration form with RDS AWS database and facial recognition via OpenCV

Formulario_Cadastro_RDS_OpenCV The algorithm performs a simple user registration (Name, CPF, E-mail and Telephone) in an Amazon RDS database and also performs the storage, training and facial recognition of the user’s face to identify the users already registered in the system in a next time the user is seen. You will need to install the libraries below: numpy OpenCV mysql-connector Creating RDS-MySQL instance on AWS Access the “AWS Management Console” Open the services menu and select the RDS option Select the […]

Read more

A command line tool to query source code from your current Python env

wxc wxc (pronounced “which”) allows you to inspect source code in your Python environment from the command line. It is based on the inspect module from thestandard library. In essence, $ wxc pandas is equivalent to $ python -c “import pandas; print(pandas.__file__)” wxc can also be used to navigate source code, by locating classes and functions by file:line number $ wxc pandas.DataFrame /path/to/your/env/site-packages/pandas/core/frame.py:319 which is extremely convenient when combined with augmented terminal applications such as iterm2. Installation $ pip install […]

Read more

A simple Python AMI client

Python AMI Client A simple Python AMI client See the code of conduct. Install Install asterisk-ami pip install asterisk-ami Install latest asterisk-ami pip install git+https://github.com/ettoreleandrotognoli/python-ami Usage Connect from asterisk.ami import AMIClient client = AMIClient(address=’127.0.0.1′,port=5038) client.login(username=’username’,secret=’password’) Disconnect client.logoff() Send an action from asterisk.ami import SimpleAction action = SimpleAction( ‘Originate’, Channel=’SIP/2010′, Exten=’2010′, Priority=1, Context=’default’, CallerID=’python’, ) client.send_action(action) Send an action with adapter from asterisk.ami import AMIClientAdapter adapter = AMIClientAdapter(client) adapter.Originate( Channel=’SIP/2010′, Exten=’2010′, Priority=1, Context=’default’, CallerID=’python’, ) Synchronous Response #without adapter future = […]

Read more

Network utility tool that performs some network and security administrator tasks

MedSec Network utility tool that performs some network and security administrator tasks. This is a network utility tool that I developed to perform some network and security administrator tasks. Currently, this script can perform a good variety of tasks such as: Port scans, including SYN, TCP, UDP, ACK and comprehensive scan; Banner grabbing; DNS checks; ifconfig; ping; traceroute. Other features are still being implemented. Future implementations may include WAP (web application firewall) detection, vulnerability reconnaissance, offensive tasks such as packet […]

Read more

Linked Data Visualizations Across Multiple Files In Python

Glue Glue is a python project to link visualizations of scientific datasets across many files. Click on the image for a quick demo: Features Interactive, linked statistical graphics of multiple files. Support for many file formats including common image formats (jpg, tiff, png), ascii tables, astronomical image and table formats (fits, vot, ipac), and HDF5. Custom data loaders can also be easily added. Highly scriptable and extendable. Installation For installation documentation, visit glueviz.org. Contributing If you are interested in contributing […]

Read more

Ticket shop python app for conferences, festivals, concerts, tech events, shows

pretix Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc. Reinventing ticket presales, one ticket at a time. Project status & release cycle While there is always a lot to do and improve on, pretix by now has been in use for thousands of events conferences that sold millions of tickets combined. We therefore think of pretix as being stable and ready to use. If you want to use or extend pretix, we strongly recommend […]

Read more
1 555 556 557 558 559 973