I hereby claim:
- I am Nadiar on github.
- I am nadiar (https://keybase.io/nadiar) on keybase.
- I have a public key whose fingerprint is 3B23 4113 26B7 311B 5386 C2E5 BE90 F2A2 9802 A805
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Intro: | |
| Original Author: github.com/Nadiar | |
| Feburary 28th 2024 | |
| Description: Import all comics from a ComicRack ComicDB.xml |
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| # Author github.com/Nadiar | |
| import argparse | |
| import json | |
| import requests | |
| import os | |
| from os.path import isfile, join | |
| from datetime import datetime |
This guide shows how to implement the two-tier context system (workspace + projects) in a new multi-root workspace.
The context system consists of:
| import requests | |
| import sys | |
| from datetime import datetime, timedelta | |
| def run_demo(api_key): | |
| headers = {"User-Agent": "Comic-Calendar-Client/1.0"} | |
| # Calculate date range: +/- 1 week rounded outward | |
| today = datetime.now() | |