semvec/pypi-packages huggingface dataset:
canary-pkg-whoward3 1.0.1
A collection of python scripts for distributed DDoS Detection Simulations using CORE
Requires Python: >=3.6

# Canary

[![PyPI version](https://badge.fury.io/py/canary-pkg-whoward3.svg)](https://badge.fury.io/py/canary-pkg-whoward3)

A Python Package developed as part of CEDARs Project Canary to enable the rapid simulation of Distributed DDoS Detection techniques using CORE.

See the LICENSE file included in this distribution.

## Get Started

1. Clone this repository
2. Install CORE v.5.4.0
3. Update the ``core.conf`` to point the  ``custom_services_dir =`` to the ``../canaryServices`` directory in this repository
4. Open a bash terminal in the repositories root directory
5. Run ``python3 setup.py install --user`` to install the package
6. Run the tests via ``python3 -m tests.test_canary``
7. If all tests pass ``OK`` your good to go!

## Usage

All the scripts in canaryScripts can be run independently or in conjunction depending on the use case. Scripts can be run from the terminal or loaded into the CORE GUI using the ``Execute Python script with options`` button. Use the ``canary_driver.py`` script to orchestrate the execution of multiple simulations. For more see the [wiki](https://github.com/whoward3/Canary/wiki/home).
RCJRVision 1.5
A fast and simple image processing method to detect H S U victims in rescue maze
Requires Python: >=3.5, <4

# RCJRVision (Robocup Junior Rescue Vision)
# Table of Contents
1. [Overview](#Overview)
2. [Instalation](#Installation)
3. [Usage](#Usage)
4. [Dependencies](#Dependencies)


## Overview
RCJRVision is a fast and simple method for **Robocup** Junior rescue maze and Robocup Junior Rescue simulation leagues
to Detect H, S, and U Letters in an image.
This package converts raw image to a solid black and white image, finds contours in the picture, chooses the most proper
contour, and finally check it with pre defined letter contours to find the best match.


## Instalation

## Usage
#### Use with predefined contours
1. Import **RCJRVision**

2. Make an object from HSUVision Class

`my_vision = RCJRVision.HSUVision()`

3. Convert your image to an opencv image

4. Use find_HSU method

`letter, center = my_test_vision.find_HSU(img)`

This method returns two variables:

- letter:

    >Key of the predefined contour dictionary.
    In this case: 'H' or 'S' or 'U'
- center: 

    >A 2 element list that represent the center of discover contour
## Dependencies
Click on the link below to see dependencies and their status:

[![Requirements Status](https://requires.io/github/mhmmdshirazi/RCJRVision/requirements.svg?branch=master)](https://requires.io/github/mhmmdshirazi/RCJRVision/requirements/?branch=master)
http-api 0.2.2
HTTP API for Python using builtin SimpleHTTPServer
Requires Python: >=3.0


# Description

This is a basic HTTP API based on the processes that Flask uses, but in a simple (and more limitating) way.
It's meant to be easy to use and short to the point

I described a lot the process in the source. Don't be shy to check it out if you want to understand it
There's also an example.py with some basics inside

# Functionnalities 

- Routes with variables
- Request handler
- Security handler (which can be modified with an abstract class already present)

# Basic example : 

    from http_api.server import HTTPServerAPI
    http = HTTPServerAPI()

    @http.url("/")
    def index():
        # Do something

    http.run()

# Security concerns
HTTPServer : https://docs.python.org/3/library/http.server.html