File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'''
22Name: remove-json-keys.py
3- Version: 2026.2.10.12
3+ Version: 2026.2.10.13
44Author: Adam Lui
55Description: Remove key/value pairs from json_dir/**.json
66Homepage: https://github.com/adamlui/python-utils
99Notes: Use --help to print CLI arguments.
1010'''
1111
12- import argparse
13- import os , re
12+ import argparse , os , re
1413from types import SimpleNamespace as sns
1514
1615cli = sns (
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.18
3+ Version: 2026.2.10.19
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: https://github.com/adamlui/python-utils
99Notes: Use --help to print CLI arguments.
1010'''
1111
12- import argparse
13- import os , json
12+ import argparse , os , json
13+ from types import SimpleNamespace as sns
1414from sys import stdout
1515from translate import Translator
16- from types import SimpleNamespace as sns
1716from urllib .request import urlopen
1817
1918cli = sns (
You can’t perform that action at this time.
0 commit comments