Commit 333c0b4b authored by Arturo Hernandez's avatar Arturo Hernandez 🥊

Commit Inicial

parents
Pipeline #487 failed with stages
# converted by generate_dockerignore.py
.git
*/.git
*/*/.git
*/*/*/.git
*/*/*/*/.git
*/*/*/*/*/.git
#omitir archivos compilados (por posible cambio de arquitectura)
*.pyc
*/*.pyc
*/*/*.pyc
*/*/*/*.pyc
*/*/*/*/*.pyc
*/*/*/*/*/*.pyc
__pycache__/
*/__pycache__/
*/*/__pycache__/
*/*/*/__pycache__/
*/*/*/*/__pycache__/
*/*/*/*/*/__pycache__/
#omitir configuración personalizada, copiar de envvars_sample
envvars
*/envvars
*/*/envvars
*/*/*/envvars
*/*/*/*/envvars
*/*/*/*/*/envvars
*.envvars
*/*.envvars
*/*/*.envvars
*/*/*/*.envvars
*/*/*/*/*.envvars
*/*/*/*/*/*.envvars
*.bak
*/*.bak
*/*/*.bak
*/*/*/*.bak
*/*/*/*/*.bak
*/*/*/*/*/*.bak
#omitir posible identificador local de maquina
snowflake
*/snowflake
*/*/snowflake
*/*/*/snowflake
*/*/*/*/snowflake
*/*/*/*/*/snowflake
.snowflake
*/.snowflake
*/*/.snowflake
*/*/*/.snowflake
*/*/*/*/.snowflake
*/*/*/*/*/.snowflake
#omitir pid del proceso (para finalizar todos los hilos)
*.pid
*/*.pid
*/*/*.pid
*/*/*/*.pid
*/*/*/*/*.pid
*/*/*/*/*/*.pid
#omitir bitacoras o logs del repositorio
bitacora*
*/bitacora*
*/*/bitacora*
*/*/*/bitacora*
*/*/*/*/bitacora*
*/*/*/*/*/bitacora*
#omitir encapsulado de respaldo
*.obj
*/*.obj
*/*/*.obj
*/*/*/*.obj
*/*/*/*/*.obj
*/*/*/*/*/*.obj
#omitir binarios
bin/*
*/bin/*
*/*/bin/*
*/*/*/bin/*
*/*/*/*/bin/*
*/*/*/*/*/bin/*
iniciar_*
*/iniciar_*
*/*/iniciar_*
*/*/*/iniciar_*
*/*/*/*/iniciar_*
*/*/*/*/*/iniciar_*
apagar_*
*/apagar_*
*/*/apagar_*
*/*/*/apagar_*
*/*/*/*/apagar_*
*/*/*/*/*/apagar_*
#omitir modulos node (ante posible cambio a node), a lo sumo suficiente un `npm install` para instalarlos
node_modules/*
*/node_modules/*
*/*/node_modules/*
*/*/*/node_modules/*
*/*/*/*/node_modules/*
*/*/*/*/*/node_modules/*
npm-debug.log
*/npm-debug.log
*/*/npm-debug.log
*/*/*/npm-debug.log
*/*/*/*/npm-debug.log
*/*/*/*/*/npm-debug.log
#omitir modulos bower existentes, todo será distribuido en el repo ahora
## public/lib/*
public/lib/angular-bootstrap/*
*/public/lib/angular-bootstrap/*
*/*/public/lib/angular-bootstrap/*
*/*/*/public/lib/angular-bootstrap/*
*/*/*/*/public/lib/angular-bootstrap/*
*/*/*/*/*/public/lib/angular-bootstrap/*
public/lib/angular-jwt/*
*/public/lib/angular-jwt/*
*/*/public/lib/angular-jwt/*
*/*/*/public/lib/angular-jwt/*
*/*/*/*/public/lib/angular-jwt/*
*/*/*/*/*/public/lib/angular-jwt/*
public/lib/angular-route/*
*/public/lib/angular-route/*
*/*/public/lib/angular-route/*
*/*/*/public/lib/angular-route/*
*/*/*/*/public/lib/angular-route/*
*/*/*/*/*/public/lib/angular-route/*
public/lib/angular-ui/*
*/public/lib/angular-ui/*
*/*/public/lib/angular-ui/*
*/*/*/public/lib/angular-ui/*
*/*/*/*/public/lib/angular-ui/*
*/*/*/*/*/public/lib/angular-ui/*
public/lib/angular/*
*/public/lib/angular/*
*/*/public/lib/angular/*
*/*/*/public/lib/angular/*
*/*/*/*/public/lib/angular/*
*/*/*/*/*/public/lib/angular/*
public/lib/async-each/*
*/public/lib/async-each/*
*/*/public/lib/async-each/*
*/*/*/public/lib/async-each/*
*/*/*/*/public/lib/async-each/*
*/*/*/*/*/public/lib/async-each/*
public/lib/bootstrap-material-design/*
*/public/lib/bootstrap-material-design/*
*/*/public/lib/bootstrap-material-design/*
*/*/*/public/lib/bootstrap-material-design/*
*/*/*/*/public/lib/bootstrap-material-design/*
*/*/*/*/*/public/lib/bootstrap-material-design/*
public/lib/bootstrap-sass/*
*/public/lib/bootstrap-sass/*
*/*/public/lib/bootstrap-sass/*
*/*/*/public/lib/bootstrap-sass/*
*/*/*/*/public/lib/bootstrap-sass/*
*/*/*/*/*/public/lib/bootstrap-sass/*
public/lib/bootstrap/*
*/public/lib/bootstrap/*
*/*/public/lib/bootstrap/*
*/*/*/public/lib/bootstrap/*
*/*/*/*/public/lib/bootstrap/*
*/*/*/*/*/public/lib/bootstrap/*
public/lib/jquery-ui/*
*/public/lib/jquery-ui/*
*/*/public/lib/jquery-ui/*
*/*/*/public/lib/jquery-ui/*
*/*/*/*/public/lib/jquery-ui/*
*/*/*/*/*/public/lib/jquery-ui/*
public/lib/jquery/*
*/public/lib/jquery/*
*/*/public/lib/jquery/*
*/*/*/public/lib/jquery/*
*/*/*/*/public/lib/jquery/*
*/*/*/*/*/public/lib/jquery/*
public/lib/moment/*
*/public/lib/moment/*
*/*/public/lib/moment/*
*/*/*/public/lib/moment/*
*/*/*/*/public/lib/moment/*
*/*/*/*/*/public/lib/moment/*
public/lib/pdfmake/*
*/public/lib/pdfmake/*
*/*/public/lib/pdfmake/*
*/*/*/public/lib/pdfmake/*
*/*/*/*/public/lib/pdfmake/*
*/*/*/*/*/public/lib/pdfmake/*
#omitir datos de entrenamiento de rostros (este se genera automaticamente con la información de la base de datos)
training.xml
*/training.xml
*/*/training.xml
*/*/*/training.xml
*/*/*/*/training.xml
*/*/*/*/*/training.xml
#omitir mas pruebas
mas_pruebas/*
*/mas_pruebas/*
*/*/mas_pruebas/*
*/*/*/mas_pruebas/*
*/*/*/*/mas_pruebas/*
*/*/*/*/*/mas_pruebas/*
recibido.png
*/recibido.png
*/*/recibido.png
*/*/*/recibido.png
*/*/*/*/recibido.png
*/*/*/*/*/recibido.png
rec_rostro.png
*/rec_rostro.png
*/*/rec_rostro.png
*/*/*/rec_rostro.png
*/*/*/*/rec_rostro.png
*/*/*/*/*/rec_rostro.png
#omitir wiringPi en caso de ser instalado en esta carpeta: mejor obtener la ultima version
wiringPi/*
*/wiringPi/*
*/*/wiringPi/*
*/*/*/wiringPi/*
*/*/*/*/wiringPi/*
*/*/*/*/*/wiringPi/*
#omitir archivos varios (de IDEs y otros)
.settings
*/.settings
*/*/.settings
*/*/*/.settings
*/*/*/*/.settings
*/*/*/*/*/.settings
.pydev*
*/.pydev*
*/*/.pydev*
*/*/*/.pydev*
*/*/*/*/.pydev*
*/*/*/*/*/.pydev*
.project
*/.project
*/*/.project
*/*/*/.project
*/*/*/*/.project
*/*/*/*/*/.project
.vscode
*/.vscode
*/*/.vscode
*/*/*/.vscode
*/*/*/*/.vscode
*/*/*/*/*/.vscode
.vscode/*
*/.vscode/*
*/*/.vscode/*
*/*/*/.vscode/*
*/*/*/*/.vscode/*
*/*/*/*/*/.vscode/*
#omitir certificados
certificados/*
*/certificados/*
*/*/certificados/*
*/*/*/certificados/*
*/*/*/*/certificados/*
*/*/*/*/*/certificados/*
certificados_backup/*
*/certificados_backup/*
*/*/certificados_backup/*
*/*/*/certificados_backup/*
*/*/*/*/certificados_backup/*
*/*/*/*/*/certificados_backup/*
#omitir imagenes
lib/gui_images/*
*/lib/gui_images/*
*/*/lib/gui_images/*
*/*/*/lib/gui_images/*
*/*/*/*/lib/gui_images/*
*/*/*/*/*/lib/gui_images/*
#omitir archivo de config
instalacion/AGETIC
*/instalacion/AGETIC
*/*/instalacion/AGETIC
*/*/*/instalacion/AGETIC
*/*/*/*/instalacion/AGETIC
*/*/*/*/*/instalacion/AGETIC
*.env
*/*.env
*/*/*.env
*/*/*/*.env
*/*/*/*/*.env
*/*/*/*/*/*.env
*.obj
#omitir compose for zk
docker/zk/docker-compose.yml
*/docker/zk/docker-compose.yml
*/*/docker/zk/docker-compose.yml
*/*/*/docker/zk/docker-compose.yml
*/*/*/*/docker/zk/docker-compose.yml
*/*/*/*/*/docker/zk/docker-compose.yml
#check also generar_tar.sh
#omitir archivos compilados (por posible cambio de arquitectura)
*.pyc
__pycache__/
#omitir configuración personalizada, copiar de envvars_sample
envvars
*.envvars
*.bak
#omitir posible identificador local de maquina
snowflake
.snowflake
#omitir pid del proceso (para finalizar todos los hilos)
*.pid
#omitir bitacoras o logs del repositorio
bitacora*
#omitir encapsulado de respaldo
*.obj
#omitir binarios
bin/*
iniciar_*
apagar_*
#omitir modulos node (ante posible cambio a node), a lo sumo suficiente un `npm install` para instalarlos
node_modules/*
npm-debug.log
#omitir modulos bower existentes, todo será distribuido en el repo ahora
## public/lib/*
public/lib/angular-bootstrap/*
public/lib/angular-jwt/*
public/lib/angular-route/*
public/lib/angular-ui/*
public/lib/angular/*
public/lib/async-each/*
public/lib/bootstrap-material-design/*
public/lib/bootstrap-sass/*
public/lib/bootstrap/*
public/lib/jquery-ui/*
public/lib/jquery/*
public/lib/moment/*
public/lib/pdfmake/*
#omitir datos de entrenamiento de rostros (este se genera automaticamente con la información de la base de datos)
training.xml
#omitir mas pruebas
mas_pruebas/*
recibido.png
rec_rostro.png
#omitir wiringPi en caso de ser instalado en esta carpeta: mejor obtener la ultima version
wiringPi/*
#omitir archivos varios (de IDEs y otros)
.settings
.pydev*
.project
.vscode
.vscode/*
#omitir certificados
certificados/*
certificados_backup/*
#omitir imagenes
lib/gui_images/*
#omitir archivo de config
instalacion/AGETIC
*.env
#omitir compose for zk
docker/zk/docker-compose.yml
#omitir compose for msu
docker/msu/docker-compose.yml
#check also generar_tar.sh
\ No newline at end of file
[submodule "lib/pyzk"]
path = lib/pyzk
url = https://github.com/kurenai-ryu/pyzk.git
colocar aqui un dummy de las librerías que se omitiran al revisar con pylint...
no olvide agregar esta carpeta en la ruta de busqueda de librerías en .pylintrc o por linea de comando
\ No newline at end of file
"""
The following sections document the various modules available within the
package:
* :mod:`picamera.camera`
* :mod:`picamera.encoders`
* :mod:`picamera.frames`
* :mod:`picamera.streams`
* :mod:`picamera.renderers`
* :mod:`picamera.color`
* :mod:`picamera.exc`
* :mod:`picamera.array`
"""
class PiCamera(object):
def PiVideoStream(self):
print "No olvide instalar la verdadera libreria de picam en el raspberry"
def capture(self, other=None, format='rgb', use_video_port=quick):
print "No olvide instalar la verdadera libreria de picam en el raspberry"
def close(self):
print "No olvide instalar la verdadera librería de picam en el raspberry"
def capture_continuous(self, other=None, format='rgb', use_video_port=quick):
print "No olvide instalar la verdadera libreria de picam en el raspberry"
class PiCameraError(Exception):
"""
Base class for PiCamera errors.
"""
\ No newline at end of file
class PiRGBArray(object):
def __init__(self, camera, size):
print "no olvide instalar la libreria correcta de picamera"
self.array = []
def truncate(self,frame):
print "no olvide instalar la libreria correcta de picamera"
def close(self):
print "no olvide instalar la libreria correcta de picamera"
\ No newline at end of file
def snowflake():
print "no olvide instalar snowflake"
return False
def make_snowflake(file):
print "no olvide instalar snowflake"
return False
def wiringPiSetupSys():
print "No olvide instalar correctamente la librería de wiring pi"
return False
def digitalWrite(pin,val):
print "No olvide instalar correctamente la librería de wiring pi"
def digitalRead(pin):
print "No olvide instalar correctamente la librería de wiring pi"
return False
def wiringPiISR(pin,type,func):
print "No olvide instalar correctamente la librería de wiring pi"
return False
class GPIO (object):
INT_EDGE_SETUP=2
def __init__(self):
print "No olvide instalar correctamente la librería de wiring pi"
return False
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
init-hook= 'import sys; sys.path.append(".pylintignore"); sys.path.append(".pylintignore/picamera"); sys.path.append("lib"); sys.path.append("codigo"); sys.path.append("configuracion"); sys.path.append("lib/rest"); sys.path.append("lib/ldap"); sys.path.append("lib/zfm20"); sys.path.append("lib/cam"); sys.path.append("lib/pyzk");'
# Profiled execution.
profile=no
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS
# Pickle collected data for later comparisons.
persistent=yes
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=
[MESSAGES CONTROL]
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time. See also the "--disable" option for examples.
#enable=
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
#disable=
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, msvs
# (visual studio) and html. You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=text
# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
# written in a file name "pylint_global.[txt|html]".
files-output=no
# Tells whether to display a full report or only the messages
reports=yes
# Python expression which should return a note less than 10 (10 is the highest
# note). You have access to the variables errors warning, statement which
# respectively contain the number of errors / warnings messages and the total
# number of statements analyzed. This is used by the global evaluation report
# (RP0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
# Add a comment according to your evaluation note. This is used by the global
# evaluation report (RP0004).
comment=no
# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
#msg-template=
[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
notes=FIXME,XXX,TODO
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=4
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=no
[TYPECHECK]
# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
ignore-mixin-members=yes
# List of classes names for which member attributes should not be checked
# (useful for classes with attributes dynamically set).
ignored-classes=SQLObject,Image
# When zope mode is activated, add a predefined set of Zope acquired attributes
# to generated-members.
zope=no
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E0201 when accessed. Python regular
# expressions are accepted.
generated-members=REQUEST,acl_users,aq_parent
ignored-modules = cv2,ldap,werkzeug
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80