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
|
# 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)
|
||||||
|
|
|
@ -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')
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Practical Libraries
|
# Practical Libraries
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Practical Libraries
|
# Practical Libraries
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
import time
|
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
|
# 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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Practical Libraries
|
# Practical Libraries
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Practical Libraries
|
# Practical Libraries
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue