a general purpose python module.
Project description
pywander
a general purpose python module.
USAGE
user just ust the package.
pip install pywander
Console Scripts
pywander_file
扫描该文件夹下的某种类型文件
pywander_file scan --help
pywander_file scan --filetype=py$ pywander
扫描当前文件夹下的pywander文件夹下的所有py结尾的python脚本文件。
执行该文件夹下的所有python脚本
pywander_file run --help
pywander_file run scripts
执行当前文件夹下的scripts文件夹下的所有python脚本文件,有文件hash跟踪改动的优化设计,假设某个python脚本为test.py,输出内容在test.py.out文件那里,可能的错误信息在test.py.err文件那里。
pywander_image
convert image
pywander_image convert --help
将某个pdf图片文件转成png格式
pywander_image.exe convert .\book_cover.pdf
将某个svgz通过inkscape转成pdf格式
pywander_image.exe convert --imgformat pdf .\f11-08_tc_big.svgz
建议安装inkscape到默认的 C:\\Program Files 那里,那样命令行工具将可以直接调用,否则你可能需要配置PATH环境变量。
resize image
pywander_image resize --help
TEST
local environment run
pip install -e .
and run
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywander-0.11.1.tar.gz.
File metadata
- Download URL: pywander-0.11.1.tar.gz
- Upload date:
- Size: 45.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5e2b1e041da6d0028ee921eccd1595907c4e80707ec52b972d0cf5aed6c4ad8
|
|
| MD5 |
38d422d77eb701873e713f93ca5c88ad
|
|
| BLAKE2b-256 |
e76531134322b6642d3d5b5a16cd94ca278525231fc2e5a7a6c04b208b799dd0
|
Provenance
The following attestation bundles were made for pywander-0.11.1.tar.gz:
Publisher:
python-publish.yml on a358003542/pywander
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pywander-0.11.1.tar.gz -
Subject digest:
c5e2b1e041da6d0028ee921eccd1595907c4e80707ec52b972d0cf5aed6c4ad8 - Sigstore transparency entry: 705477221
- Sigstore integration time:
-
Permalink:
a358003542/pywander@3b4ab22a3ac381375622b6443ac19baa61f3ed58 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/a358003542
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3b4ab22a3ac381375622b6443ac19baa61f3ed58 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pywander-0.11.1-py3-none-any.whl.
File metadata
- Download URL: pywander-0.11.1-py3-none-any.whl
- Upload date:
- Size: 58.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
826f1b6bd0a250974c2309f01fafd61b9fc584aedc8e28432e549a196bd97ad8
|
|
| MD5 |
3f4ff5658179f1d5024896fa4281b53d
|
|
| BLAKE2b-256 |
9f5409aaab181b41d477ad4b1917cd891e98b8d3f0db2627dfa3e5797e3f3ba4
|
Provenance
The following attestation bundles were made for pywander-0.11.1-py3-none-any.whl:
Publisher:
python-publish.yml on a358003542/pywander
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pywander-0.11.1-py3-none-any.whl -
Subject digest:
826f1b6bd0a250974c2309f01fafd61b9fc584aedc8e28432e549a196bd97ad8 - Sigstore transparency entry: 705477223
- Sigstore integration time:
-
Permalink:
a358003542/pywander@3b4ab22a3ac381375622b6443ac19baa61f3ed58 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/a358003542
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3b4ab22a3ac381375622b6443ac19baa61f3ed58 -
Trigger Event:
push
-
Statement type: