Herramienta para transferir eventos de Shadowserver REST API hacia Azure Blob Storage
Transfiere reportes de ShadowServer hacia Azure Blob Storage Script para transferir reportes del ShadowServer REST API hacia Azure Blob Storage, en formato CSV. Requerimientos: Como ejecutar: En Windows, corra: En Unix o MacOS, corra: Luego ejecute: pip install -r requirements.txt Finalmente: Configuración: AZURE_ACC_KEY = …
Read moreDiscord.py Connect to Discord voice call with websocket
Discord.py Connect-VC [!] This was made for education. [!] Please install these modules – pip3 install websocket It will connect to some victim voice call channel. You can use it with keep_alive to make it online in that voice call for 24/7. Anyways thanks to Ethical GitHub View Github
Read morePokemon game made in Python with open ended requirements from Codecademy
Pokemon game made in Python with open ended requirements from Codecademy.This is one of my first projects utilizing OOP and classes! -This game is a 2 player game run from the terminal-Player can select their pokemon choices at the beginning-Then players can battle and perform 1 of 3 actions: attack opponent, use a potion, or switch out pokemon-intial release has some known bugs (they will be resolved in future iterations):-when pokemon is knocked out, trainer cannot reselect it. Currently, this […]
Read moreVarious code metrics for Python code
Radon is a Python tool that computes various metrics from the source code. Radon can compute: McCabe’s complexity, i.e. cyclomatic complexity raw metrics (these include SLOC, comment lines, blank lines, &c.) Halstead metrics (all of them) Maintainability Index (the one used in Visual Studio) Requirements Radon will run from Python 2.7 to Python 3.8 (except Python versions from 3.0 to 3.3) with a single code base and without the need of tools like 2to3 or six. It can also run […]
Read moreMonitoring tool based on radon
Xenon is a monitoring tool based on Radon. It monitors your code’s complexity. Ideally, Xenon is run every time you commit code. Through command line options, you can set various thresholds for the complexity of your code. It will fail (i.e. it will exit with a non-zero exit code) when any of these requirements is not met. Installation With Pip: Or download the source and run the setup file (requires setuptools): $ python setup.py install Xenon is tested with all […]
Read moreMcCabe complexity checker for Python
Ned’s script to check McCabe complexity. This module provides a plugin for flake8, the Python code checker. Installation You can install, upgrade, or uninstall mccabe with these commands: $ pip install mccabe $ pip install –upgrade mccabe $ pip uninstall mccabe Standalone script The complexity checker can be used directly: $ python -m mccabe –min 5 mccabe.py (“185:1: ‘PathGraphingAstVisitor.visitIf'”, 5) (“71:1: ‘PathGraph.to_dot'”, 5) (“245:1: ‘McCabeChecker.run'”, 5) (“283:1: ‘main'”, 7) (“203:1: ‘PathGraphingAstVisitor.visitTryExcept'”, 5) (“257:1: ‘get_code_complexity'”, 5) Plugin for Flake8 When both […]
Read moreInspects Python source files and provides information about type and location of classes, methods etc
About Prospector is a tool to analyse Python code and output information about errors, potential problems, convention violations and complexity. It brings together the functionality of other Python analysis tools such as Pylint, pep8, and McCabe complexity. See the Supported Tools documentation section for a complete list. The primary aim of Prospector is to be useful ‘out of the box’. A common complaint of other Python analysis tools is that it takes a long time to filter
Read moreA Python application for tracking, reporting on timing and complexity in Python code
A command-line application for tracking, reporting on complexity of Python tests and applications. wily [a]: quick to think of things, having a very good understanding of situations and possibilities, and often willing to use tricks to achieve an aim. Wily uses git to go through each revision (commit) in a branch and run complexity and code-analysis metrics over the code. You can use this to limit your code or report on trends for complexity, length etc. Installation Wily can be […]
Read moreCohesion: A tool for measuring Python class cohesion
Cohesion is a tool for measuring Python class cohesion. In computer programming, cohesion refers to the degree to which the elements of a module belong together. Thus, cohesion measures the strength of relationship between pieces of functionality within a given module. For example, in highly cohesive systems functionality is strongly related. When cohesion is high, it means that the methods and variables of the class are co-dependent and hang together as a logical whole. Some of the advantages of high […]
Read more