This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
attrs = "*" | |
certifi = "*" | |
requests-file = "*" | |
#textual = { version = "==0.74.0", extras = ["syntax"] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""MRE for Textual""" | |
from __future__ import annotations | |
import http | |
import requests | |
from textual import on, work | |
from textual.app import App, ComposeResult | |
from textual.message import Message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Conway's Game of Life implementation using Rich for terminal visualization. | |
Author: Paul Robello | |
Email: [email protected] | |
""" | |
import random | |
from enum import Enum | |
from time import sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "~> 5.69.0" | |
} | |
} | |
} | |
provider "aws" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Provides a modal dialog for selecting a theme.""" | |
from __future__ import annotations | |
from textual import on | |
from textual.app import ComposeResult | |
from textual.binding import Binding | |
from textual.containers import Horizontal | |
from textual.containers import Vertical | |
from textual.screen import ModalScreen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import time | |
import os | |
from rich.console import Console | |
from rich.live import Live | |
from rich.text import Text | |
console = Console() | |
console.clear() |
OlderNewer