[UPD] script: format script and add licence technolibre
This commit is contained in:
parent
818856db9a
commit
5b103eb457
44 changed files with 169 additions and 50 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import psycopg2
|
import psycopg2
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
import astor
|
import astor
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import uuid
|
import uuid
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv
|
import csv
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
import getpass
|
import getpass
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
||||||
import pymysql
|
import pymysql
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
r = requests.get(r"https://api.ipify.org")
|
r = requests.get(r"https://api.ipify.org")
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
# © 2020 TechnoLibre (http://www.technolibre.ca)
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import copy
|
import copy
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
# © 2020 TechnoLibre (http://www.technolibre.ca)
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import webbrowser
|
import webbrowser
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
# © 2021 TechnoLibre (http://www.technolibre.ca)
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv
|
import csv
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
from collections import deque
|
from collections import deque
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import ast
|
import ast
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
import web_login
|
import web_login
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
from randomwordfr import RandomWordFr
|
from randomwordfr import RandomWordFr
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import datetime
|
import datetime
|
||||||
import logging
|
import logging
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!./.venv/bin/python
|
#!/usr/bin/env python3
|
||||||
|
# © 2021-2024 TechnoLibre (http://www.technolibre.ca)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import asyncio
|
import asyncio
|
||||||
import configparser
|
import configparser
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue