Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-rich /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
264
B
-rw-r--r--
2025-08-05 17:14
attrs.py
1.01
KB
-rw-r--r--
2025-08-05 17:14
bars.py
417
B
-rw-r--r--
2025-08-05 17:14
columns.py
748
B
-rw-r--r--
2025-08-05 17:14
cp_progress.py
571
B
-rw-r--r--
2025-08-05 17:14
downloader.py
2.21
KB
-rw-r--r--
2025-08-05 17:14
dynamic_progress.py
3.93
KB
-rw-r--r--
2025-08-05 17:14
exception.py
919
B
-rw-r--r--
2025-08-05 17:14
export.py
1.65
KB
-rw-r--r--
2025-08-05 17:14
file_progress.py
423
B
-rw-r--r--
2025-08-05 17:14
fullscreen.py
5.36
KB
-rw-r--r--
2025-08-05 17:14
group.py
206
B
-rw-r--r--
2025-08-05 17:14
group2.py
224
B
-rw-r--r--
2025-08-05 17:14
highlighter.py
525
B
-rw-r--r--
2025-08-05 17:14
jobs.py
957
B
-rw-r--r--
2025-08-05 17:14
justify.py
349
B
-rw-r--r--
2025-08-05 17:14
justify2.py
426
B
-rw-r--r--
2025-08-05 17:14
layout.py
1.09
KB
-rw-r--r--
2025-08-05 17:14
link.py
192
B
-rw-r--r--
2025-08-05 17:14
listdir.py
1011
B
-rw-r--r--
2025-08-05 17:14
live_progress.py
1.34
KB
-rw-r--r--
2025-08-05 17:14
log.py
1.9
KB
-rw-r--r--
2025-08-05 17:14
overflow.py
370
B
-rw-r--r--
2025-08-05 17:14
padding.py
132
B
-rw-r--r--
2025-08-05 17:14
print_calendar.py
1.87
KB
-rw-r--r--
2025-08-05 17:14
rainbow.py
441
B
-rw-r--r--
2025-08-05 17:14
recursive_error.py
324
B
-rw-r--r--
2025-08-05 17:14
repr.py
589
B
-rw-r--r--
2025-08-05 17:14
save_table_svg.py
846
B
-rw-r--r--
2025-08-05 17:14
screen.py
357
B
-rw-r--r--
2025-08-05 17:14
spinners.py
533
B
-rw-r--r--
2025-08-05 17:14
status.py
307
B
-rw-r--r--
2025-08-05 17:14
suppress.py
489
B
-rw-r--r--
2025-08-05 17:14
table.py
693
B
-rw-r--r--
2025-08-05 17:14
table_movie.py
4.46
KB
-rw-r--r--
2025-08-05 17:14
top_lite_simulator.py
2.11
KB
-rw-r--r--
2025-08-05 17:14
tree.py
1.71
KB
-rw-r--r--
2025-08-05 17:14
Save
Rename
""" Builds calendar layout using Columns and Tables. Usage: python print_calendar.py [YEAR] Example: python print_calendar.py 2021 """ import argparse import calendar from datetime import datetime from rich.align import Align from rich import box from rich.columns import Columns from rich.console import Console from rich.table import Table from rich.text import Text def print_calendar(year): """Print a calendar for a given year.""" today = datetime.today() year = int(year) cal = calendar.Calendar() today_tuple = today.day, today.month, today.year tables = [] for month in range(1, 13): table = Table( title=f"{calendar.month_name[month]} {year}", style="green", box=box.SIMPLE_HEAVY, padding=0, ) for week_day in cal.iterweekdays(): table.add_column( "{:.3}".format(calendar.day_name[week_day]), justify="right" ) month_days = cal.monthdayscalendar(year, month) for weekdays in month_days: days = [] for index, day in enumerate(weekdays): day_label = Text(str(day or ""), style="magenta") if index in (5, 6): day_label.stylize("blue") if day and (day, month, year) == today_tuple: day_label.stylize("white on dark_red") days.append(day_label) table.add_row(*days) tables.append(Align.center(table)) console = Console() columns = Columns(tables, padding=1, expand=True) console.rule(str(year)) console.print() console.print(columns) console.rule(str(year)) if __name__ == "__main__": parser = argparse.ArgumentParser(description="Rich calendar") parser.add_argument("year", metavar="year", type=int) args = parser.parse_args() print_calendar(args.year)