repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/library/dot3k/backlight.py | library/dot3k/backlight.py | import colorsys
import math
from sys import exit
try:
from sn3218 import SN3218
except ImportError:
try:
import sn3218
except ImportError:
exit("This library requires the sn3218 module\nInstall with: sudo pip install sn3218")
else:
sn3218 = SN3218()
LED_R_R = 0x00
LED_R_G = 0x01
LED_R... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/library/dot3k/__init__.py | library/dot3k/__init__.py | __version__ = '2.0.3'
| python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/library/dothat/lcd.py | library/dothat/lcd.py | from sys import exit
try:
import st7036
except ImportError:
exit("This library requires the st7036 module\nInstall with: sudo pip install st7036")
ROWS = 3
COLS = 16
lcd = st7036.st7036(register_select_pin=25, reset_pin=12)
lcd.clear()
def write(value):
"""Write a string to the current cursor position... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/library/dothat/touch.py | library/dothat/touch.py | from sys import exit
try:
from cap1xxx import Cap1166, PID_CAP1166
except ImportError:
exit("This library requires the cap1xxx module\nInstall with: sudo pip install cap1xxx")
I2C_ADDR = 0x2c
UP = 1
DOWN = 2
LEFT = 3
RIGHT = 5
BUTTON = 4
CANCEL = 0
_cap1166 = Cap1166(i2c_addr=I2C_ADDR)
_cap1166._write_byte... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/library/dothat/backlight.py | library/dothat/backlight.py | import colorsys
from sys import exit
try:
from sn3218 import SN3218
except ImportError:
try:
import sn3218
except ImportError:
exit("This library requires the sn3218 module\nInstall with: sudo pip install sn3218")
else:
sn3218 = SN3218()
try:
import cap1xxx
except ImportError:
... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/library/dothat/__init__.py | library/dothat/__init__.py | __version__ = '2.0.3'
| python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/automenu.py | examples/dot3k/advanced/automenu.py | #!/usr/bin/env python
import sys
import time
import dot3k.backlight as backlight
import dot3k.joystick as nav
import dot3k.lcd as lcd
from dot3k.menu import Menu, MenuOption
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/orderedmenu.py | examples/dot3k/advanced/orderedmenu.py | #!/usr/bin/env python
import sys
import time
import dot3k.backlight as backlight
import dot3k.joystick as nav
import dot3k.lcd as lcd
from dot3k.menu import Menu, MenuOption
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/control.py | examples/dot3k/advanced/control.py | #!/usr/bin/env python
import sys
import time
import dot3k.lcd as lcd
import dot3k.backlight as backlight
import dot3k.joystick as nav
from menu import Menu, MenuOption
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.deluge import Deluge
from plugins.text import Tex... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/menu.py | examples/dot3k/advanced/menu.py | #!/usr/bin/env python
import sys
import time
import dot3k.backlight as backlight
import dot3k.joystick as nav
import dot3k.lcd as lcd
from dot3k.menu import Menu, MenuOption
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/animations.py | examples/dot3k/advanced/animations.py | #!/usr/bin/env python
import copy
import datetime
import math
import time
from sys import exit
try:
import psutil
except ImportError:
exit("This library requires the psutil module\nInstall with: sudo pip install psutil")
import dot3k.backlight as backlight
import dot3k.lcd as lcd
print("""
This example sho... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/backlight.py | examples/dot3k/advanced/backlight.py | #!/usr/bin/env python
import time
import dot3k.backlight as backlight
import dot3k.lcd as lcd
print("""
This example shows a range of different backlight techniques for Display-o-Tron.
You should see the backlight go Red, Green, Blue, White and then Rainbow!
Press CTRL+C to exit.
""")
pirate = [
[0x00, 0x1f, ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/radio.py | examples/dot3k/advanced/radio.py | #!/usr/bin/env python
import sys
import time
import dot3k.backlight as backlight
import dot3k.joystick as nav
import dot3k.lcd as lcd
from dot3k.menu import Menu
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import GraphCPU, G... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/advanced/game.py | examples/dot3k/advanced/game.py | #!/usr/bin/env python
import sys
import time
import dot3k.backlight as backlight
import dot3k.joystick as nav
import dot3k.lcd as lcd
from dot3k.menu import Menu
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.debris import Debris
from plugins.utils import Backlight... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/ipaddr.py | examples/dot3k/basic/ipaddr.py | #!/usr/bin/env python
import fcntl
import socket
import struct
import dot3k.lcd as lcd
def get_addr(ifname):
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
return socket.inet_ntoa(fcntl.ioctl(
s.fileno(),
0x8915, # SIOCGIFADDR
struct.pack('256s', i... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/mouse.py | examples/dot3k/basic/mouse.py | #!/usr/bin/env python
import signal
from sys import exit
try:
import uinput
except ImportError:
exit("This script requires the uinput module\nInstall with: sudo pip install uinput")
import dot3k.joystick as nav
print("""
This example shows you how to use the Display-o-Tron 3000 Joystick as a mouse.
You'll ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/joystick.py | examples/dot3k/basic/joystick.py | #!/usr/bin/env python
import signal
import dot3k.backlight as backlight
import dot3k.joystick as nav
import dot3k.lcd as lcd
print("""
This example shows you how to use the Display-o-Tron 3000 Joystick.
If you press a joystick direction, you should see the LCD change accordingly.
Press CTRL+C to exit.
""")
"""
Th... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/hue.py | examples/dot3k/basic/hue.py | #!/usr/bin/env python
import colorsys
import dot3k.backlight as backlight
print("""
This example shows how to set the backlight to a hue!
It uses colorsys, rather than the built-in hue function, to show you a colour conversion in Python.
Press CTRL+C to exit.
""")
hue = 0
while True:
r, g, b = [int(x * 255.... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/hello_world.py | examples/dot3k/basic/hello_world.py | #!/usr/bin/env python
import dot3k.lcd as lcd
print("""
This example shows a basic "Hello World" on the LCD.
You should see "Hello World" displayed on your LCD!
Press CTRL+C to exit.
""")
# Clear the LCD and display Hello World
lcd.clear()
lcd.write("Hello World")
| python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/backlight.py | examples/dot3k/basic/backlight.py | #!/usr/bin/env python
import time
import dot3k.backlight as backlight
import dot3k.lcd as lcd
print("""
This example shows you a feature of the Dot HAT backlight.
You should see the backlight go white, then multi-coloured.
Press CTRL+C to exit.
""")
# Clear the LCD and display Hello World
lcd.clear()
lcd.write("H... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/clock.py | examples/dot3k/basic/clock.py | #!/usr/bin/env python
segone = [
0b11111,
0b11111,
0b11111,
0x0,
0x0,
0x0,
0x0,
0x0,
]
segtwo = [
0b11111,
0b11111,
0b11111,
0b00111,
0b00111,
0b00111,
0b00111,
0b00111,
]
segthree = [
0b11111,
0b11111,
0b11111,
0b11100,
0b11100,
0b... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dot3k/basic/bargraph.py | examples/dot3k/basic/bargraph.py | #!/usr/bin/env python
import time
import dot3k.backlight as backlight
import dot3k.lcd as lcd
print("""
This example shows you different ways of setting the bargraph.
You should see the graph light up in sequence and then fade in.
Press CTRL+C to exit.
""")
# Clear the LCD and display Hello World
lcd.clear()
lcd... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/advanced/backlight-timeout.py | examples/dothat/advanced/backlight-timeout.py | #!/usr/bin/env python
import sys
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
import dothat.touch as nav
from dot3k.menu import Menu, MenuOption
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/advanced/menu.py | examples/dothat/advanced/menu.py | #!/usr/bin/env python
import sys
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
import dothat.touch as nav
from dot3k.menu import Menu, MenuOption
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/advanced/demo.py | examples/dothat/advanced/demo.py | #!/usr/bin/env python
import math
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
print("""
This example gives a basic demo of Display-o-Tron HAT's features.
It will sweep the backlight, scan the bargraph and display text on screen!
Press CTRL+C to exit.
""")
pirate = [[0x00, 0x1f, 0x0b, ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/advanced/radio.py | examples/dothat/advanced/radio.py | #!/usr/bin/env python
import sys
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
import dothat.touch as nav
from dot3k.menu import Menu
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.clock import Clock
from plugins.graph import GraphCPU, G... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/advanced/game.py | examples/dothat/advanced/game.py | #!/usr/bin/env python
import sys
import signal
import dothat.backlight as backlight
import dothat.lcd as lcd
import dothat.touch as nav
from dot3k.menu import Menu
# Add the root examples dir so Python can find the plugins
sys.path.append('../../')
from plugins.debris import Debris
from plugins.utils import Backlig... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/graph.py | examples/dothat/basic/graph.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
unicode_literals)
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
print("""
This example shows you how to take individual control of the bar graph LEDs.
... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/ipaddr.py | examples/dothat/basic/ipaddr.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
unicode_literals)
import fcntl
import socket
import struct
import dothat.lcd as lcd
def get_addr(ifname):
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/touch.py | examples/dothat/basic/touch.py | #!/usr/bin/env python
import signal
import dothat.backlight as backlight
import dothat.lcd as lcd
import dothat.touch as nav
print("""
This example shows the Display-o-Tron HAT touch inputs in action.
Touch an input and you should see the LCD change accordingly.
Press CTRL+C to exit.
""")
"""
Captouch provides the ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/room.py | examples/dothat/basic/room.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
unicode_literals)
import atexit
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
print("""
This is a really experimental example that doesn't do much!
Do ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/hello_world.py | examples/dothat/basic/hello_world.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
unicode_literals)
import dothat.lcd as lcd
print("""
This example shows a basic "Hello World" on the LCD.
You should see "Hello World" displayed on your LCD!
Press CTRL+C to exit.... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/off.py | examples/dothat/basic/off.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" This example clear the screen and turn
off all LED from the Display-o-Tron HAT """
from __future__ import (division, absolute_import, print_function,
unicode_literals)
import dothat.backlight as backlight
import dothat.lcd as lcd
# Reset t... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/backlight.py | examples/dothat/basic/backlight.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
unicode_literals)
import math
import time
import dothat.backlight as backlight
import dothat.lcd as lcd
print("""
This example shows you a feature of the Dot HAT backlight.
You sh... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/dothat/basic/temp.py | examples/dothat/basic/temp.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
unicode_literals)
from multiprocessing import Process
print("""
This example shows you a feature of the Dot HAT.
You should see the Temperature of your Raspberry Pi!
Press CTRL+C ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/utils/usbkeyboard.py | examples/utils/usbkeyboard.py | import threading
from sys import exit
try:
import usb.core
import usb.util
except ImportError:
exit("This script requires the pyusb module\nInstall with: sudo pip install pyusb")
class StoppableThread(threading.Thread):
"""Basic stoppable thread wrapper
Adds Event for stopping the execution loop ... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/utils/__init__.py | examples/utils/__init__.py | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false | |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/graph.py | examples/plugins/graph.py | import fcntl
import socket
import struct
import subprocess
import time
from sys import exit
try:
import psutil
except ImportError:
exit("This library requires the psutil module\nInstall with: sudo pip install psutil")
from dot3k.menu import MenuOption
def run_cmd(cmd):
p = subprocess.Popen(cmd, shell=Tr... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/volume.py | examples/plugins/volume.py | import os
import subprocess
import time
from sys import version_info
import dot3k.backlight
from dot3k.menu import MenuIcon
from dot3k.menu import MenuOption
MODE_AUTO = 0
MODE_HEADPHONES = 1
MODE_HDMI = 2
EDIT_VOLUME = 0
EDIT_OUTPUT = 1
EDIT_EXIT = 2
class Volume(MenuOption):
def __init__(self, backlight=Non... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/stocks.py | examples/plugins/stocks.py | """
Stocks plugin, ported from Facelessloser's Atmega_screen
https://github.com/facelessloser/Atmega_screen/blob/master/arduino_python_files/stock-ticker/atmega_screen_stock_ticker.py
"""
import json
import threading
import urllib
from dot3k.menu import MenuOption
class Stocks(MenuOption):
def __init__(self):
... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/transmission.py | examples/plugins/transmission.py | """
Plugin for Transmission torrent client.
Requires Transmission install: sudo apt-get install transmission-daemon
You'll probably also want the command-line client: transmission-cli so you can add and manage torrents.
Auth isn't supported at the moment, so you'll have to:
sudo service transmission-daemon stop
sudo... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/deluge.py | examples/plugins/deluge.py | """
Plugin for Deluge torrent client.
Requires deluge install: sudo apt-get install deluged deluged-console
"""
import subprocess
import threading
import dot3k.backlight
from dot3k.menu import MenuOption
class Deluge(MenuOption):
def __init__(self):
self.items = []
self.selected_item = 0
... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/wlan.py | examples/plugins/wlan.py | """
Plugin for managing connections to wifi networks
"""
import subprocess
import threading
from sys import exit
try:
import wifi
except ImportError:
exit("This library requires the wifi module\n\
Install with: sudo pip install wifi")
from dot3k.menu import MenuOption
class Wlan(MenuOption):
de... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/debris.py | examples/plugins/debris.py | import random
import time
from dot3k.menu import MenuOption
class Debris(MenuOption):
def __init__(self, backlight=None):
if backlight is None:
import dot3k.backlight
self.backlight = dot3k.backlight
else:
self.backlight = backlight
self.debug = False
... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/utils.py | examples/plugins/utils.py | import colorsys
from dot3k.menu import MenuIcon
from dot3k.menu import MenuOption
class Backlight(MenuOption):
def __init__(self, backlight):
self.backlight = backlight
self.hue = 0
self.sat = 100
self.val = 100
self.mode = 0
self.r = 0
self.g = 0
s... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/clock.py | examples/plugins/clock.py | import time
from dot3k.menu import MenuOption
class Clock(MenuOption):
def __init__(self, backlight=None):
self.modes = ['date', 'week', 'binary', 'dim', 'bright']
self.mode = 0
self.binary = True
self.running = False
if backlight is None:
import dot3k.backlig... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/__init__.py | examples/plugins/__init__.py | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false | |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/text.py | examples/plugins/text.py | from dot3k.menu import MenuOption
_MODE_CONFIRM = 1
_MODE_ENTRY = 0
class Text(MenuOption):
def __init__(self):
self.mode = _MODE_ENTRY
self.input_prompt = ''
self.initialized = False
self.back_icon = chr(0)
self.entry_char = 0
self.entry_mode = 0
self.e... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/radio.py | examples/plugins/radio.py | import atexit
import re
import socket
import subprocess
import time
from sys import version_info
from dot3k.menu import MenuOption
class Radio(MenuOption):
def __init__(self):
MenuOption.__init__(self)
self.ready = False
self.stations = None
self.selected_station = 0
self.... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/writing_your_own/03_doing_stuff.py | examples/plugins/writing_your_own/03_doing_stuff.py | #!/usr/bin/env python
"""
Building upon our options example, we'll now explore running
scynronous ( short ) and asyncronous/background ( long ) tasks
in response to both menu options being selected and on a schedule.
There are many ways that tasks can be run, in a thread, every n seconds,
or in direct response to a m... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/writing_your_own/02_handling_options.py | examples/plugins/writing_your_own/02_handling_options.py | #!/usr/bin/env python
"""
This example builds upon our hello_world plugin,
now we're going to add some options to cycle though.
Because interfaces can differ widely, there are no helpers
for displaying and cycling through options. You might choose
to lay out icons on a single screen/row or cycle through
multiple line... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/writing_your_own/04_adding_icons.py | examples/plugins/writing_your_own/04_adding_icons.py | #!/usr/bin/env python
"""
Building upon our doing stuff example, we'll now add icons to show
when things are running.
"""
import subprocess
import threading
from dot3k.menu import MenuOption
class HelloWorld(MenuOption):
"""
If you're not sure what's going on here, see 02_handling_options.py
"""
def __ini... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/examples/plugins/writing_your_own/01_hello_world.py | examples/plugins/writing_your_own/01_hello_world.py | #!/usr/bin/env python
"""
Every dot3k.menu plugin is derived from MenuOption
"""
from dot3k.menu import MenuOption
class HelloWorld(MenuOption):
"""
When the menu is redrawn, it calls your plugins
redraw method and passes an instance of itself.
"""
def redraw(self, menu):
"""
Th... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
pimoroni/displayotron | https://github.com/pimoroni/displayotron/blob/1161818428c393906fdf437c8fa51f51b329af1e/sphinx/conf.py | sphinx/conf.py | #-*- coding: utf-8 -*-
import sys
import site
from unittest import mock
# Prompte /usr/local/lib to the front of sys.path
#sys.path.insert(0,site.getsitepackages()[0])
import sphinx_rtd_theme
sys.modules['cap1xxx'] = mock.Mock()
sys.modules['st7036'] = mock.Mock()
sys.modules['sn3218'] = mock.Mock()
sys.modules['... | python | MIT | 1161818428c393906fdf437c8fa51f51b329af1e | 2026-01-05T07:12:43.667300Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/setup.py | bloodhound_search/setup.py | #!/usr/bin/env python
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/api.py | bloodhound_search/bhsearch/api.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/security.py | bloodhound_search/bhsearch/security.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/web_ui.py | bloodhound_search/bhsearch/web_ui.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | true |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/admin.py | bloodhound_search/bhsearch/admin.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/query_suggestion.py | bloodhound_search/bhsearch/query_suggestion.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/query_parser.py | bloodhound_search/bhsearch/query_parser.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/__init__.py | bloodhound_search/bhsearch/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/whoosh_backend.py | bloodhound_search/bhsearch/whoosh_backend.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/real_index_view.py | bloodhound_search/bhsearch/tests/real_index_view.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/api.py | bloodhound_search/bhsearch/tests/api.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/security.py | bloodhound_search/bhsearch/tests/security.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/web_ui.py | bloodhound_search/bhsearch/tests/web_ui.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | true |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/query_suggestion.py | bloodhound_search/bhsearch/tests/query_suggestion.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/query_parser.py | bloodhound_search/bhsearch/tests/query_parser.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/index_with_whoosh.py | bloodhound_search/bhsearch/tests/index_with_whoosh.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/__init__.py | bloodhound_search/bhsearch/tests/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/base.py | bloodhound_search/bhsearch/tests/base.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/whoosh_backend.py | bloodhound_search/bhsearch/tests/whoosh_backend.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/search_resources/ticket_search.py | bloodhound_search/bhsearch/tests/search_resources/ticket_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/search_resources/milestone_search.py | bloodhound_search/bhsearch/tests/search_resources/milestone_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/search_resources/wiki_search.py | bloodhound_search/bhsearch/tests/search_resources/wiki_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/search_resources/changeset_search.py | bloodhound_search/bhsearch/tests/search_resources/changeset_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/search_resources/__init__.py | bloodhound_search/bhsearch/tests/search_resources/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/tests/search_resources/base.py | bloodhound_search/bhsearch/tests/search_resources/base.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/search_resources/ticket_search.py | bloodhound_search/bhsearch/search_resources/ticket_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/search_resources/milestone_search.py | bloodhound_search/bhsearch/search_resources/milestone_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/search_resources/wiki_search.py | bloodhound_search/bhsearch/search_resources/wiki_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/search_resources/changeset_search.py | bloodhound_search/bhsearch/search_resources/changeset_search.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/search_resources/__init__.py | bloodhound_search/bhsearch/search_resources/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/search_resources/base.py | bloodhound_search/bhsearch/search_resources/base.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/utils/translation.py | bloodhound_search/bhsearch/utils/translation.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_search/bhsearch/utils/__init__.py | bloodhound_search/bhsearch/utils/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_theme/setup.py | bloodhound_theme/setup.py | #!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apa... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_theme/bhtheme/translation.py | bloodhound_theme/bhtheme/translation.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_theme/bhtheme/theme.py | bloodhound_theme/bhtheme/theme.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_theme/bhtheme/__init__.py | bloodhound_theme/bhtheme/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_theme/bhtheme/tests/theme.py | bloodhound_theme/bhtheme/tests/theme.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/bloodhound_theme/bhtheme/tests/__init__.py | bloodhound_theme/bhtheme/tests/__init__.py | # -*- coding: UTF-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/setup.py | trac/setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2003-2013 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://trac.edgewall.org/wiki/TracLicense.
#... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/__init__.py | trac/tracopt/__init__.py | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false | |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/ticket/deleter.py | trac/tracopt/ticket/deleter.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2010 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://trac.edgewall.org/wiki/TracLicense.
#
# This software consists o... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/ticket/commit_updater.py | trac/tracopt/ticket/commit_updater.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2009 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://trac.edgewall.org/wiki/TracLicense.
#
# This software consists o... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/ticket/clone.py | trac/tracopt/ticket/clone.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://trac.edgewall.org/wiki/TracLicense.
#
# This software consists o... | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/ticket/__init__.py | trac/tracopt/ticket/__init__.py | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false | |
apache/bloodhound | https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/__init__.py | trac/tracopt/versioncontrol/__init__.py | python | Apache-2.0 | c3e31294e68af99d4e040e64fbdf52394344df9e | 2026-01-05T07:12:43.622011Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.