feat: ported all scripts from bash to python. results are now written to a spreadsheet

This commit is contained in:
KenF
2026-01-22 17:17:12 +08:00
parent cf6db0fa0a
commit 859a482bb2
27 changed files with 556 additions and 157 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python3
r"""
Documentation
License: This program is released under the MIT License
"""
# Imports
from openpyxl import Workbook
from datetime import datetime
# Main function
def main() -> None:
wb = Workbook()
ws = wb.active
ws['A1'] = "AWS Inventory"
ws['A2'] = "Created on"
ws['B2'] = datetime.now()
wb.save('aws-inventory.xlsx')
# Call main function
if __name__ == '__main__':
main()