Skip to main content

mytot

My tool of tool

INSTLL

pip3 install mytot -i https://pypi.python.org/simple --upgrade

TASK

TASK [script_file]

跑一个程序,如果程序已经在运行,则不执行; 输出的日志为~/.cache/task_log/out.[date]

  • 如果script_file以".sh"结尾,则使用bash script_file进行执行
  • 如果script_file以".py"结尾,则使用python script_file进行执行

RUN

RUN [script_file]

跑一个程序,并将其放置后台,输入的日志为./log/[script_file].run

KILL

KILL [key word] [-9 or -15] [-f]

根据关键字杀掉相关的进程

  • -f 此时"key word"是一个bash或python文件,会根据文件名绝对路径进行匹配。例如存在进行 "python3 /.../a/long_task.py"和"python3 /.../b/long_task.py",在工作目录下b执行kill -f long_task.py,会杀掉"python3 /.../b/long_task.py" 但是不会杀掉"python3 /.../a/long_task.py"

MAIL

MAIL <email address> -s [subject] -a [attachments1] <attachment2>

需要配置账户的信息,配置文件为~/.config/mytot/config.ini。示例

[email]
smtp_server=smtp.163.com
; 用户名
username=xxx@163.com
; 登陆密码或授权码
password=J4R3E3D4F31E1B1G
; 默认收件人
default_to=xxx@163.com

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mytot-2026.8.1-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file mytot-2026.8.1-py3-none-any.whl.

File metadata

  • Download URL: mytot-2026.8.1-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for mytot-2026.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c605ffcd73b6ef36f895dc4606d21b1cc109748c8d652802be89db07b3a73e9
MD5 33d6b0706c6b1980534eaa11a78b8b78
BLAKE2b-256 871c4b660da36462354c7581d363cd45afc7da1cb0c3b40ad6313b635b0b5037

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.8.7

1 file

2026.8.5

1 file

2026.8.4

1 file

2026.8.3

1 file

2026.8.2

1 file

This release

2026.8.1 This release

1 file

2026.7.18

1 file

2026.7.17

1 file

2026.7.16

1 file

2026.7.15

1 file

2026.7.14

1 file

2026.7.13

1 file

2026.7.12

1 file

2026.7.11

1 file

2026.7.10

1 file

2026.7.9

1 file

2026.7.8

1 file

2026.7.7

1 file

2026.7.6

1 file

2026.7.5

1 file

2026.7.4

1 file

2026.7.3

1 file

2026.7.2

1 file

2026.7.1

1 file

2026.6.17

1 file

2026.6.16

1 file

2026.6.15

1 file

2026.6.14

1 file

2026.6.13

1 file

2026.6.12

1 file

2026.6.11

1 file

2026.6.10

1 file

2026.6.9

1 file

2026.6.8

1 file

2026.6.7

1 file

2026.6.6

1 file

2026.6.5

1 file

2026.6.4

1 file

2026.6.3

1 file

2026.5.37

1 file

2026.5.36

1 file

2026.5.35

1 file

2026.5.34

1 file

2026.5.33

1 file

2026.5.32

1 file

2026.5.31

1 file

2026.5.30

1 file

2026.5.29

1 file

2026.5.28

1 file

2026.5.20

1 file

2026.5.19

1 file

2026.5.18

1 file

2026.5.17

1 file

2026.5.16

1 file

2026.5.15

1 file

2026.5.14

1 file

2026.5.13

1 file

2026.5.12

1 file

2026.5.11

1 file

2026.5.10

1 file

2026.5.9

1 file

2026.5.8

1 file

2026.5.7

1 file

2026.5.6

1 file

2026.5.5

1 file

2026.5.4

1 file

2026.5.3

1 file

2026.5.2

1 file

2026.3.6

1 file

2026.3.5

1 file

2026.3.4

1 file

2026.2.6

1 file

2026.2.2

1 file

2026.1.3

1 file

2026.1.2

1 file

2025.12.4

1 file

2025.12.3

1 file

2025.11.5

1 file

2025.11.4

1 file

2025.11.2

1 file

2025.11.1

1 file

2025.10.4

1 file

2025.10.3

1 file

2025.9.1

1 file

2025.8.14

1 file

2025.8.13

1 file

2025.8.11

1 file

2025.8.6

1 file

2025.8.5

1 file

2025.8.4

1 file

2025.8.3

1 file

2025.8.2

1 file

2025.7.6

1 file

2025.7.4

1 file

2025.7.3

1 file

2025.7.2

1 file

2025.7.1

1 file

2025.5.3

1 file

2025.5.2

1 file

2025.5.1

1 file

2024.12.2

1 file

2024.12.1

1 file

2024.10.4

1 file

2024.9.1

1 file

2024.8.5

1 file

2024.8.4

1 file

2024.8.3

1 file

2024.8.2

1 file

2024.8.1

1 file

2024.7.18

1 file

2024.7.16

1 file

2024.7.13

1 file

2024.7.12

1 file

2024.7.6

1 file

2024.5.968613

1 file

2024.5.963441

1 file

2024.5.711426

1 file

2024.5.124634

1 file

2024.4.546183

1 file

2024.4.354489

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page