This has been released as a python package: https://pypi.org/project/vyoma-download/
pip3 install -U vyoma-download
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Stopwatch Class | |
@author: Hrishikesh Terdalkar | |
""" | |
############################################################################### |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
@author: Hrishikesh Terdalkar | |
Attendance Checker and Reminder for IITK CSE | |
Checks both on Kendra and Pingala | |
You can add the command to cronjob by running the command `crontab -e' | |
and adding the following line at the end. (for checking at 5pm, 8pm, 11pm) |
This has been released as a python package: https://pypi.org/project/vyoma-download/
pip3 install -U vyoma-download
Python class and a CLI for various calendar utilities according to Hindu Calendar. It uses drikPanchang.com for querying data.
Some Features:
// ==UserScript== | |
// @name Transliterate DCS | |
// @namespace http://www.gist.github.com/ | |
// @version 1.1 | |
// @description Transliterate IAST text from DCS into Devanagari | |
// @author Hrishikesh Terdalkar | |
// @match http://www.sanskrit-linguistics.org/dcs/index.php?contents=texte&IDTextDisplay=* | |
// @require https://raw.githubusercontent.com/sanskrit/sanscript.js/master/sanscript.js | |
// ==/UserScript== |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Apr 17 22:20:39 2018 | |
Updated on Sun Jul 03 21:39:43 2022 | |
@author: Hrishikesh Terdalkar | |
""" | |
import re |
def fold(content, width=128): | |
''' | |
Fold content such that each line is no longer than 'width' | |
- breaks only at complete words | |
- if a word in the content exceeds `width` | |
- added as a separate line | |
- a warning is shown | |
similar to linux command "fold -w `width` -s" | |
except in the cases where there are spaces on the line boundaries |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Oct 17 20:06:38 2019 | |
@author: Hrishikesh Terdalkar | |
General purpose decorators | |
https://wiki.python.org/moin/PythonDecoratorLibrary |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Apr 24 19:25:34 2021 | |
@author: Hrishikesh Terdalkar | |
Original: https://github.com/sanskrit-coders/pydictupdater | |
""" |