- Python 3
- Python packages
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
| #!/bin/env python3 | |
| import typer # pip install typer==0.3.2 | |
| import csv | |
| COLS = 'Name,Given Name,Additional Name,Family Name,Yomi Name,Given Name Yomi,Additional Name Yomi,Family Name Yomi,Name Prefix,Name Suffix,Initials,Nickname,Short Name,Maiden Name,Birthday,Gender,Location,Billing Information,Directory Server,Mileage,Occupation,Hobby,Sensitivity,Priority,Subject,Notes,Language,Photo,Group Membership,Phone 1 - Type,Phone 1 - Value'.split(',') | |
| app = typer.Typer() | |
| @app.command() |
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
| #!/bin/env python3 | |
| """ | |
| Requirements: | |
| - [scorecard](https://github.com/ossf/scorecard) installed | |
| - GITHUB_TOKEN set in environment variable | |
| - [sqlite-utils](https://github.com/simonw/sqlite-utils) installed | |
| """ |
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 fnmatch | |
| import json | |
| import pathlib | |
| import shutil | |
| import sys | |
| import zipfile | |
| from datetime import datetime, timedelta | |
| from typing import List | |
OlderNewer