updated SPDX license header
This commit is contained in:
parent
9630e4682b
commit
8843b1a9cf
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
|
||||
# planktoscope-backend
|
||||
|
||||
[![PyPI - Version](https://img.shields.io/pypi/v/planktoscope-backend.svg)](https://pypi.org/project/planktoscope-backend)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
__version__ = '0.0.1'
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# coding: utf-8
|
||||
# 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')
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# coding: utf-8
|
||||
# file generated by setuptools_scm
|
||||
# don't change, don't track in version control
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Logger library compatible with multiprocessing
|
||||
from loguru import logger
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
################################################################################
|
||||
# Practical Libraries
|
||||
################################################################################
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
################################################################################
|
||||
# Practical Libraries
|
||||
################################################################################
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Logger library compatible with multiprocessing
|
||||
from loguru import logger
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from loguru import logger
|
||||
|
||||
import time
|
||||
|
|
|
@ -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
|
||||
# The file is composed as follows:
|
||||
# First, a header that starts by like so:
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Turn on using this command line :
|
||||
# python3.7 path/to/file/light.py on
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Logger library compatible with multiprocessing
|
||||
from loguru import logger
|
||||
import sys
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
################################################################################
|
||||
# Practical Libraries
|
||||
################################################################################
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Library for exchaning messages with Node-RED
|
||||
# We are using MQTT V3.1.1
|
||||
# The documentation for Paho can be found here:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
################################################################################
|
||||
# Practical Libraries
|
||||
################################################################################
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Logger library compatible with multiprocessing
|
||||
from loguru import logger
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import json
|
||||
import numpy as np
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Logger library compatible with multiprocessing
|
||||
from loguru import logger
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from loguru import logger
|
||||
|
||||
import time
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Libraries to control the steppers for focusing and pumping
|
||||
import adafruit_motor.stepper
|
||||
import adafruit_motorkit
|
||||
|
@ -23,6 +25,7 @@ class StepperWaveshare:
|
|||
self.step_pin = step_pin
|
||||
self.enable_pin = enable_pin
|
||||
|
||||
# TODO: refactor to use libgpiod
|
||||
RPi.GPIO.setmode(RPi.GPIO.BCM)
|
||||
RPi.GPIO.setwarnings(False)
|
||||
RPi.GPIO.setup(
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Very inspired by https://github.com/bgawalt/uuidBabyName
|
||||
import re, uuid, random, os
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2022-present Sebastian Wendel <s.wendel@sourceindex.de>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
|
Loading…
Reference in a new issue