MGE tool
Some useful base tools for other mge packages, but without specific task.
Install
pip install mgetool
Contains
export
Store
Store files in batches.(无差别存储数据)
import
Call
Import files in batches.(无差别导入数据)
show
BasePlot
Draw picture quickly.(快速画图)
corr_plot
Draw correlation coefficient graph.(相关系数图)
tool
tt
from mgetool.tool import tt
tt.t
...
tt.t
tt.p
Record the time of this site, and print uniformly.(测试代码块时间)
time_this_function
Time the function(测试函数运行时间,@)
parallelize
Parallelize the for loop (并行化)
logg
Get the name of function(输出函数信息,@)
newclass
from mgetool.newclass import create
import numpy as np
def ff(x, y):
print(y * 1000)
return x
Foo = create("Foo", np.ndarray, lenn=dict, spam=1, fu=ff)
foo = Foo([1, 2, 3])
a = foo.fu(2, 4)
Build a simple class quickly.(No initialization parameters)(快速创建新类)
packbox
from mgetool.packbox import Toolbox
def func(a, b=1, c=2, name=4, **kwargs):
print(a, b, c, name, kwargs)
pass
to = Toolbox()
to.register("a", func, 1, 5, abss=3)
to.refresh("a", 3, 4, 6, name=3, abss=4)
to.a()
Build a toolbox and you can add function to it.(函数集合)
draft
from mgetool.draft import DraftPyx
bd = DraftPyx("hello.pyx")
bd.write()
a= bd.quick_import(build=True, with_html=True)
# bd.remove()
Build for .cpp or .pyx temporary .(编译cython和cpp ,自动创建setup.py)
Metadata
Release files for mgetool 0.0.77
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 |
|---|---|---|---|---|
| mgetool-0.0.77.tar.gz | 60.4 kB | Without provenance | Details for mgetool-0.0.77.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mgetool-0.0.77-py3-none-any.whl | Python 3 | none | any | Details for mgetool-0.0.77-py3-none-any.whl |
Total release size: 127.0 kB
Release files / mgetool-0.0.77.tar.gz
| Download URL | mgetool-0.0.77.tar.gz |
|---|---|
| Size | 60.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bbbca98f8506a1641d643289e8b0e3167ee5b0bb7837df4b6b12a3a07b6f689
|
|
BLAKE2b-256 checksum How to use checksums |
55780a114c4a899df1139b62b11d7da5d5ef7babbdc31b04b8e21b08a9047f37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Release files / mgetool-0.0.77-py3-none-any.whl
| Download URL | mgetool-0.0.77-py3-none-any.whl |
|---|---|
| Size | 66.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fa07bc6470ca828de9c6a7936d1f7dd5de179ab0b4e97f6ac518ebf6d4cea75
|
|
BLAKE2b-256 checksum How to use checksums |
39f06d3564acac7ab1866cede5d1bb320d34a44db50f97d9c4b931f2c02aa440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Security for mgetool 0.0.77
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.