[PYTHON] I made a command to display a colorful calendar in the terminal

The cal command to display the calendar in the terminal comes standard with Linux, but I was complaining that it was not colored.

So I created a command to display a colored calendar, albeit with a feeling of reinventing the wheel.

You can install it below. You may need sudo depending on your environment.

pip3 install console_calendar

Only Python 3 is supported.

Hit the concal command to display it.



The standard library called calendar of Python that I used this time is amazing. There is a function that specifies the year / month and returns an array for each week, and you can use it to create a calendar without thinking about logic. Regarding the display, not only the calendar for the terminal is output, but also the calendar for one year can be created with HTML.



Please refer to here for uploading to PyPI. Thank you very much. http://qiita.com/[email protected]/items/d82cd7ab77ea2b88506c

Recommended Posts

I made a command to display a colorful calendar in the terminal
I made a command to markdown the table clipboard
I made an appdo command to execute a command in the context of the app
I made a command to generate a table comment in Django
I made a script to display emoji
I want to display the progress in Python!
I tried to display the altitude value of DTM in a graph
I made a script to put a snippet in README.md
I made a command to wait for Django to start until the DB is ready
I made a function to check the model of DCGAN
I made you to execute a command from a web browser
In the python command python points to python3.8
I made a class to get the analysis result by MeCab in ndarray with python
I made a program to solve (hint) Saizeriya's spot the difference
I made a program that solves the spot the difference in seconds
Hit the echo command in the Mac terminal to output Hello World
Goodbye to the command prompt in WSL, VSCode and Windows Terminal
I tried to summarize the umask command
I want to print in a comprehension
I made a payroll program in Python!
I made a function to check if the webhook is received in Lambda for the time being
I want to display the progress bar
I made a plugin to generate Markdown table from csv in Vim
I made a calendar that automatically updates the distribution schedule of Vtuber
I made a web application in Python that converts Markdown to HTML
[Django] I made a field to enter the date with 4 digit numbers
I made a kitchen timer to be displayed on the status bar!
I made a CLI tool to convert images in each directory to PDF
I want to sort a list in the order of other lists
I made a script in python to convert .md files to Scrapbox format
I made a simple timer that can be started from the terminal
I made a library konoha that switches the tokenizer to a nice feeling
I want to leave an arbitrary command in the command history of Shell
I made a mistake in fetching the hierarchy with MultiIndex of pandas
A note I looked up to make a command line tool in Python
I made a function to see the movement of a two-dimensional array (Python)
I made a POST script to create an issue on Github and register it in the Project
I tried to make a system to automatically acquire the program guide → register it in the calendar in one day
I want to create a window in Python
Twitter streaming client to enjoy in the terminal
I made a tool to compile Hy natively
I made a tool to get new articles
I checked the calendar deleted in Qiita Advent Calendar 2016
Create a command to get the work log
I made a Caesar cryptographic program in Python.
I made a tool to estimate the execution time of cron (+ PyPI debut)
How to pass the execution result of a shell command in a list in Python
I made a tool to easily display data as a graph by GUI operation.
Use libsixel to output Sixel in Python and output a Matplotlib graph to the terminal.
I want to set a life cycle in the task definition of ECS
A memorandum of how to execute the! Sudo magic command in Jupyter Notebook
I want to see a list of WebDAV files in the Requests module
I made a module in C language to filter images loaded by Python
I made a tool to generate Markdown from the exported Scrapbox JSON file
I searched for the skills needed to become a web engineer in Python
I made a tool to automatically back up the metadata of the Salesforce organization
I made a program to look up words on the window (previous development)
I made a script to record the active window using win32gui of Python
I didn't have to write a decorator in the class Thank you contextmanager
I wanted to know the number of lines in multiple files, so I tried to get it with a command
I tried to graph the packages installed in Python