__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# vim: set fileencoding=utf-8:
#
# GPIO Zero: a library for controlling the Raspberry Pi's GPIO pins
#
# Copyright (c) 2016-2023 Dave Jones <dave@waveform.org.uk>
# Copyright (c) 2020 Fangchen Li <fangchen.li@outlook.com>
# Copyright (c) 2018 Rick Ansell <rick@nbinvincible.org.uk>
# Copyright (c) 2016 Andrew Scheller <github@loowis.durge.org>
#
# SPDX-License-Identifier: BSD-3-Clause
import operator
from functools import reduce
from collections.abc import Mapping
# Derived from the MIT-licensed https://github.com/slezica/python-frozendict
class frozendict(Mapping):
def __init__(self, *args, **kwargs):
self._dict = dict(*args, **kwargs)
self._hash = None
def __getitem__(self, key):
return self._dict[key]
def __contains__(self, key):
return key in self._dict
def copy(self, **add_or_replace):
return frozendict(self, **add_or_replace)
def __iter__(self):
return iter(self._dict)
def __len__(self):
return len(self._dict)
def __repr__(self):
return f'<{self.__class__.__name__} {self._dict!r}>'
def __hash__(self):
if self._hash is None:
self._hash = reduce(operator.xor, map(hash, self.items()), 0)
return self._hash
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| fonts | Folder | 0755 |
|
|
| pins | Folder | 0755 |
|
|
| __init__.py | File | 2.61 KB | 0644 |
|
| boards.py | File | 100.87 KB | 0644 |
|
| compat.py | File | 1.23 KB | 0644 |
|
| devices.py | File | 24.3 KB | 0644 |
|
| exc.py | File | 7.39 KB | 0644 |
|
| input_devices.py | File | 53.61 KB | 0644 |
|
| internal_devices.py | File | 26.13 KB | 0644 |
|
| mixins.py | File | 20.46 KB | 0644 |
|
| output_devices.py | File | 60.73 KB | 0644 |
|
| spi_devices.py | File | 19.6 KB | 0644 |
|
| threads.py | File | 1.59 KB | 0644 |
|
| tones.py | File | 8.38 KB | 0644 |
|
| tools.py | File | 20.87 KB | 0644 |
|