Remove /playground

pull/8/head
Dan Puttick 2017-01-19 16:23:53 -05:00
parent 3b1df108d5
commit 4eaa639a7a
3 changed files with 1 additions and 18 deletions

View File

@ -26,7 +26,7 @@ pip install .
PyCIRCLean is a simple Python library to handle file checking and sanitization. PyCIRCLean is designed as a simple library
that can be overloaded to cover specific checking and sanitization workflows in different organizations like industrial
environments or restricted/classified ICT environments. A series of practical examples utilizing PyCIRCLean can be found
in the [./bin](./bin) directory.
in the [./examples](./examples) directory.
The following simple example using PyCIRCLean will only copy files with a .conf extension matching the 'text/plain' MIME
type. If any other file is found in the source directory, the files won't be copied to the destination directory.

View File

@ -1 +0,0 @@
This directory contains extra files that may or may not be used in the project

View File

@ -1,16 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from usb.core import find
import usb.control
def is_mass_storage(dev):
import usb.util
for cfg in dev:
if usb.util.find_descriptor(cfg, bInterfaceClass=8) is not None:
return True
for mass in find(find_all=True, custom_match=is_mass_storage):
print(mass)