它是一个启动python项目的工具
🦈FishProcessManagement 小鱼进程管理器功能一览
- 启动 你的项目名
- 关闭 你的项目名
- 主进程(在进程管理器中使用的代码)
import FishProcessManagement
import FishProcessManagement
进程列表 = {
'第一个进程': ['python', 'child.py'],
'第二个进程': ['python', 'child.py'],
}
FishProcessManagement.进程管理器(进程列表)
- 子进程(示例的子进程代码)
import multiprocessing
import time
def worker(num):
"""子进程"""
print('子进程 %d 开始执行' % num)
sub_process = multiprocessing.Process(target=sub_worker, args=(num,))
sub_process.start()
while True:
time.sleep(1)
print('子进程正在运行')
def sub_worker(num):
"""子子进程"""
while True:
time.sleep(1)
print('子子进程 %d 开始执行' % num)
def main():
# 主进程
print('主进程开始执行')
process1 = multiprocessing.Process(target=worker, args=(1,))
process1.start()
process1.join()
print('主进程执行完毕')
if __name__ == '__main__':
main()
🦈FishProcessManagement 小鱼进程管理器 2023.5.23
- 打包成python的库
Metadata
Release files for FishProcessManagement 2023.5.23.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FishProcessManagement-2023.5.23.8.tar.gz | 3.1 kB | Without provenance | Details for FishProcessManagement-2023.5.23.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FishProcessManagement-2023.5.23.8-py3-none-any.whl | Python 3 | none | any | Details for FishProcessManagement-2023.5.23.8-py3-none-any.whl |
Total release size: 7.9 kB
Release files / FishProcessManagement-2023.5.23.8.tar.gz
| Download URL | FishProcessManagement-2023.5.23.8.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5774bc10634e0a02c69881aaa6961638f2467c3a955dc5f8de43fc88e4f7339
|
|
BLAKE2b-256 checksum How to use checksums |
d6093a7b736651a83e72f27ace1d85473cd0962363336d596d7a3050dc54740b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / FishProcessManagement-2023.5.23.8-py3-none-any.whl
| Download URL | FishProcessManagement-2023.5.23.8-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a09cfe243aeeffa6ffcc9aed79d2d3faaff7b334949eb54470e8b863de4ed33
|
|
BLAKE2b-256 checksum How to use checksums |
7c55ad1a4c87ae09d49affbb2c30252c033c073fdfd3252206eaf60f6a16e164
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for FishProcessManagement 2023.5.23.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.