updated SPDX license header

This commit is contained in:
Sebastian Wendel 2022-11-11 20:21:52 +01:00
parent 9630e4682b
commit 8843b1a9cf
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
22 changed files with 51 additions and 4 deletions

View file

@ -1,3 +1,7 @@
<!--
SPDX-License-Identifier: GPL-3.0-or-later
-->
# planktoscope-backend # planktoscope-backend
[![PyPI - Version](https://img.shields.io/pypi/v/planktoscope-backend.svg)](https://pypi.org/project/planktoscope-backend) [![PyPI - Version](https://img.shields.io/pypi/v/planktoscope-backend.svg)](https://pypi.org/project/planktoscope-backend)

View file

@ -1,4 +1,7 @@
# SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de> # SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-License-Identifier: MIT # coding: utf-8
__version__ = '0.0.1' # file generated by setuptools_scm
# don't change, don't track in version control
__version__ = version = '0.1.dev654+g9630e46.d19800101'
__version_tuple__ = version_tuple = (0, 1, 'dev654', 'g9630e46.d19800101')

View file

@ -1,3 +1,4 @@
# SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de> # SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de>
# #
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# coding: utf-8 # coding: utf-8
# file generated by setuptools_scm # file generated by setuptools_scm
# don't change, don't track in version control # don't change, don't track in version control

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Logger library compatible with multiprocessing # Logger library compatible with multiprocessing
from loguru import logger from loguru import logger

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
################################################################################ ################################################################################
# Practical Libraries # Practical Libraries
################################################################################ ################################################################################

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
################################################################################ ################################################################################
# Practical Libraries # Practical Libraries
################################################################################ ################################################################################

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Logger library compatible with multiprocessing # Logger library compatible with multiprocessing
from loguru import logger from loguru import logger

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
from loguru import logger from loguru import logger
import time import time

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# This module calculates the checksum of created files and add them to and file called integrity.check # This module calculates the checksum of created files and add them to and file called integrity.check
# The file is composed as follows: # The file is composed as follows:
# First, a header that starts by like so: # First, a header that starts by like so:

View file

@ -1,4 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# SPDX-License-Identifier: GPL-3.0-or-later
# Turn on using this command line : # Turn on using this command line :
# python3.7 path/to/file/light.py on # python3.7 path/to/file/light.py on

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Logger library compatible with multiprocessing # Logger library compatible with multiprocessing
from loguru import logger from loguru import logger
import sys import sys

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
################################################################################ ################################################################################
# Practical Libraries # Practical Libraries
################################################################################ ################################################################################

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Library for exchaning messages with Node-RED # Library for exchaning messages with Node-RED
# We are using MQTT V3.1.1 # We are using MQTT V3.1.1
# The documentation for Paho can be found here: # The documentation for Paho can be found here:

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
################################################################################ ################################################################################
# Practical Libraries # Practical Libraries
################################################################################ ################################################################################

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Logger library compatible with multiprocessing # Logger library compatible with multiprocessing
from loguru import logger from loguru import logger

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
import json import json
import numpy as np import numpy as np

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Logger library compatible with multiprocessing # Logger library compatible with multiprocessing
from loguru import logger from loguru import logger

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
from loguru import logger from loguru import logger
import time import time

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Libraries to control the steppers for focusing and pumping # Libraries to control the steppers for focusing and pumping
import adafruit_motor.stepper import adafruit_motor.stepper
import adafruit_motorkit import adafruit_motorkit
@ -23,6 +25,7 @@ class StepperWaveshare:
self.step_pin = step_pin self.step_pin = step_pin
self.enable_pin = enable_pin self.enable_pin = enable_pin
# TODO: refactor to use libgpiod
RPi.GPIO.setmode(RPi.GPIO.BCM) RPi.GPIO.setmode(RPi.GPIO.BCM)
RPi.GPIO.setwarnings(False) RPi.GPIO.setwarnings(False)
RPi.GPIO.setup( RPi.GPIO.setup(

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Very inspired by https://github.com/bgawalt/uuidBabyName # Very inspired by https://github.com/bgawalt/uuidBabyName
import re, uuid, random, os import re, uuid, random, os

View file

@ -1,3 +1,4 @@
# SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de> # SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de>
# #
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT