Skip to main content

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


Download files

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

Source Distribution

pywander-0.11.0.tar.gz (44.6 kB view details)

Uploaded Source

Built Distribution

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

pywander-0.11.0-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

Details for the file pywander-0.11.0.tar.gz.

File metadata

  • Download URL: pywander-0.11.0.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pywander-0.11.0.tar.gz
Algorithm Hash digest
SHA256 76fe68d300272dfeb6586a2332465c1997e6c9f19c484c44ec7d618d13b26d25
MD5 1210b016226f08eef6ff222378cb232a
BLAKE2b-256 4ba3087dad849043d8c0593a0d970b84bc585f7be034e9ea3ca1c138f5a13bb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywander-0.11.0.tar.gz:

Publisher: python-publish.yml on a358003542/pywander

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pywander-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: pywander-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 57.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pywander-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d77b1026cf902328874c2a71ec5cf0bda89b390e14ddfc3628c9584ac1e41f5
MD5 20fb7cbc29d1253ca9a37388f80f6730
BLAKE2b-256 f0c00a5085be73a961ce4ddfe84a1f5ad5265ac56223c6b565b87e99f2adde96

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywander-0.11.0-py3-none-any.whl:

Publisher: python-publish.yml on a358003542/pywander

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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