Skip to main content

cj ops.

Project description

工具集

aliyun

阿里云相关功能方法 SlsLogStore(key) 实例化

1.杭州ingress日志查询方法 hz_ingress_log 1.杭州service日志查询方法 hz_service_log 2.硅谷ingress日志查询方法 usa_ingress_log 2.硅谷service日志查询方法 usa_service_log

excel

excel相关功能方法

1.将字典列表写入到excel文件中 write_list_dict_excel 2.将列表元组写入到excel文件中 write_list_tuple_excel

qw

企业微信

1.markdown格式的企业微信通知 send_markdown_message

command

subprocess执行shell命令

1.通过subprocess执行shell命令 exec_command 2.通过subprocess执行shell命令支持实时输出 exec_command_realtime_output

domain

域名相关功能方法

1.获取域名解析的IP地址 get_ip_list 2.获取域名解析的证书及过期天数 get_cert_details

sql

执行mysql相关的sql

1.执行sql exec_mysql

email

发送邮件 Mail(host, user, password, port, ssl)初始化

1.发送文本邮件 send_msg_mail(title: str, msg: str, receivers: list) 2.发送带有附件邮件 send_file_mail(title: str, msg: str, file_path: str, receivers: list)

csv

csv相关功能方法

1.将数据写入到csv中 write_csv

thread

线程相关功能方法

1.多线程运行任务 run_multithreaded

utils

工具箱

1.md5加密 md5_encrypt 2.base64编码 base64_encode 3.base64解码 base64_decode 4.生成随机Fernet密钥 fernet_generate_key 4.使用fernet加密数据 fernet_jiami 4.使用fernet解密数据 fernet_jiemi 5.进度条 process_with_progress 6.复制数据到粘贴板 copy_to_clipboard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cjops-1.0.62.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

cjops-1.0.62-py2.py3-none-any.whl (26.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cjops-1.0.62.tar.gz.

File metadata

  • Download URL: cjops-1.0.62.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for cjops-1.0.62.tar.gz
Algorithm Hash digest
SHA256 c643b85ac7a824c2949f9df576f3d11ff00244061a4eaff91e36b6ff5f9824ba
MD5 8c57eeba8605ad0ac3ab3607ea61c499
BLAKE2b-256 a720669b15474f40eec7f06591afd1b609637b5321d54f774482874c35df6d0e

See more details on using hashes here.

File details

Details for the file cjops-1.0.62-py2.py3-none-any.whl.

File metadata

  • Download URL: cjops-1.0.62-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for cjops-1.0.62-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b115a2e6a9a75c7273b6e0f1f39007b0e80c8a15aa0e38e297db83b16d7c33d0
MD5 5d413125221f7df8ae12334f6b3bc578
BLAKE2b-256 00dd26f586e1171f630730b38d5afafdc4668142be1fa39806866bbd0bcf0acb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page