metacmd

.meta base command framework


Keywords
meta, command
License
MIT
Install
pip install metacmd==0.1.1

Documentation

META CMD License: MIT

.META base Python Terminal App Framework

  1. pip install metacmd
  2. metacmd startproject "project name"

meta file [.meta.json])

  • must be

    • name : app_name
    • description
    • main : class path
    • parameters : argument
  • option : parameter to apps

Script)

  1. starter [metacmd] : Project Starter Script
  2. google_credential [metacmd_google] : google credential generator

core)

  1. executor : metacmd.core.executor.Executor

utils)

  1. Datetime Util

    • get_object
    • get_string
    • get_range
    • get_weekend
  2. File Util

    • make_folder
    • read_file
    • save_file
    • read_json_file
    • save_json_file
    • save_csv_file
  3. List Util

    • dict_list_to_dict
  4. Log Util

    • get_logger
    • log_dir
    • log_file
  5. Object Util

    • get_class
    • get_class_by_path
  6. Printer

    • json
    • list
  7. Shield Util

    • encrypt_aes
    • decrypt_aes
  8. String Util

    • is_empty_string
    • comma_string_to_list
    • list_to_comma_string
    • number_expression
    • blank_to_underscore
  9. Web Util

    • get
    • post

wrapper)

  1. GoogleCredentials

    • get_credentials
    • create_credentials
  2. GoogleCalendar

    • get_holiday_list
    • is_holiday
  3. GoogleDrive

    • download
  4. GoogleMail

    • send
    • send_with_file
  5. GoogleSheets

    • write
    • append
    • read