Skip to main content

A set of tools for managing, compiling, and uploading your own package.

Project description

linpg-toolbox

Python versions PyPI version Downloads

Linpg-toolbox is a set of tools for managing, compiling, and uploading your own python package. It has been used within Linpg Foundation for many years and was previously provided as part of the Linpg Engine. To better accommodate Linpg Engine's frequent iterations work schedule, linpg-toolbox has now been split out and become available as a separate third-party package.

linpg-toolbox是一个已经在Linpg基金会内部使用多年的开发管理以及打包工具,过去一直作为linpg引擎的一部分提供。为了能够更好地适应linpg的高速版本迭代工作,linpg-toolbox现在被拆分出来,作为单独的第三方包提供。

Installation / 安装

pip install linpgtoolbox

Description / 描述

The toolkit contains the following classes / 工具包包含以下程序:

Class Functionalities 功能
Builder Automates the process of compiling and uploading your personal package. 自动化编译并上传你个人库的流程。
Organizer An organizing tool that formats JSON and .gitignore files, with directory-level support that respects .gitignore patterns, or organizes your gitignore file(s). 整理工具,可以格式化JSON和.gitignore文件,支持目录级别整理并遵循.gitignore规则,也可以整理你的gitignore文件。
PackageInstaller A simple tool to install, upgrade and uninstall third-party python package(s). 第三方python库安装以及卸载工具。
PyInstaller Generate a PyInstaller hook for your personal package. 为你的个人库快速生成一个PyInstaller的钩子。
ImageResizer Resize images by dimensions, percentage, or constraints via CLI. 通过命令行按尺寸、百分比或限制调整图片大小。

Command line usage / 命令行

This project can be used as either a Python library or a command line utility. For command line usage, see below:

该项目既可以作为 Python 库使用,也可以作为命令行工具使用。有关命令行用法,请参阅下文:

$ linpgtb --help
usage: linpgtb [-h] [--compile COMPILE] [--install INSTALL] [--pack PACK] [--upload UPLOAD] [--release RELEASE] [--organize ORGANIZE] [--upgrade UPGRADE] [--zip ZIP] [--fix FIX] [--select-py SELECT_PY] [--show-compile-messages] [--platform] [--resize RESIZE] [--size SIZE] [--output OUTPUT] [--reinstall] [--check-update]

options:
  -h, --help            show this help message and exit
  --compile, -c COMPILE
                        Compile project
  --install, -i INSTALL
                        Install project
  --pack, -p PACK       Pack project
  --upload UPLOAD       Upload packed project to PyPi
  --release, -r RELEASE
                        Pack and upload project to PyPi
  --organize, -o ORGANIZE
                        Organize project
  --upgrade UPGRADE     Upgrade a pip package
  --zip ZIP             Create a source distribution
  --fix FIX             Fix certain cython related issues
  --select-py SELECT_PY
                        Select the python version
  --show-compile-messages
                        Show compile messages instead of progress bar
  --platform            Print current platform information
  --resize RESIZE       Resize an image file
  --size SIZE           Target size: WxH, N%, Wx, xH, <Wx, >Wx, <xH, or >xH
  --output OUTPUT       Output path for resized image
  --overwrite           Overwrite the original image file
  --reinstall           Reinstall Linpg Toolbox (Debug Purpose)
  --check-update        Check if a newer version is available on PyPI

Note: Image resizing requires Pillow. Install it with pip install linpgtoolbox[images].

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

linpgtoolbox-26.2.tar.gz (46.2 kB view details)

Uploaded Source

Built Distributions

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

linpgtoolbox-26.2-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

linpgtoolbox-26.2-cp314-cp314-win_amd64.whl (320.0 kB view details)

Uploaded CPython 3.14Windows x86-64

linpgtoolbox-26.2-cp314-cp314-manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.14

linpgtoolbox-26.2-cp314-cp314-macosx_11_0_arm64.whl (632.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

linpgtoolbox-26.2-cp313-cp313-win_amd64.whl (312.8 kB view details)

Uploaded CPython 3.13Windows x86-64

linpgtoolbox-26.2-cp313-cp313-manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13

linpgtoolbox-26.2-cp313-cp313-macosx_11_0_arm64.whl (631.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

linpgtoolbox-26.2-cp312-cp312-win_amd64.whl (316.7 kB view details)

Uploaded CPython 3.12Windows x86-64

linpgtoolbox-26.2-cp312-cp312-manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12

linpgtoolbox-26.2-cp312-cp312-macosx_11_0_arm64.whl (639.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

linpgtoolbox-26.2-cp311-cp311-win_amd64.whl (319.1 kB view details)

Uploaded CPython 3.11Windows x86-64

linpgtoolbox-26.2-cp311-cp311-manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11

linpgtoolbox-26.2-cp311-cp311-macosx_11_0_arm64.whl (642.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file linpgtoolbox-26.2.tar.gz.

File metadata

  • Download URL: linpgtoolbox-26.2.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linpgtoolbox-26.2.tar.gz
Algorithm Hash digest
SHA256 82b11c954c03bb7d4b555346a9c979e63ebdede87875c9f35b92b78b7f2531b6
MD5 d7c506afae4c72d9f8e58bbf28699372
BLAKE2b-256 a14c254e9c1b829f58f26f18f96a4d6290356b74e1cf8ccb723137e8b7b51aa1

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-py3-none-any.whl.

File metadata

  • Download URL: linpgtoolbox-26.2-py3-none-any.whl
  • Upload date:
  • Size: 48.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linpgtoolbox-26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1808a2c5e903e128bc66b2dafac2c0648fc7ed8d2dd6ba1efd7d524f64cec869
MD5 b11c61e76c4d6d03c38288e4b19120b1
BLAKE2b-256 dba5902ad81eb5c5ccf7a6f5e6b8a00cfdd50f576feec226a2128787b63a481c

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: linpgtoolbox-26.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 320.0 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linpgtoolbox-26.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 7b6eb98ee421a78319f41fbfcf2d4fa110bb271ea0bfc815b388ef9da4e377c3
MD5 c9b49faea401d024be16c057112b6cfc
BLAKE2b-256 891cb92296767026ac23f9b06c2e91ccc102fe98bc386f9765a9e923470435f0

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c779880af51e294fa374bc2bb7214ec7262f4e232fc861bf3c6908d1cbc74df
MD5 0863e334b3310e9d8245f0e4c7abe4c0
BLAKE2b-256 f986e13f3d5b9af41356e504d8cef34a46a0164e062da940e4185e3cc77e37d2

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0f22f8ee7aeaa41eaa480e9cd6617cf53514d45e1c28a9f74ab61b379a4f480
MD5 12c1c3a1d74b23cf1c22aadb3316f77b
BLAKE2b-256 a866e77655619dac18fadb24a52cf4d7e38041614fc3d910e3daa81b63d027e4

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: linpgtoolbox-26.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 312.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linpgtoolbox-26.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 efa7d1637c1a59851e870ed35d4e59c84845aab1c9e92f5276703d2612c8f0f4
MD5 4b55ccd58f122193e87326044e2abb52
BLAKE2b-256 fd56fab3793e48d32de3430c54db300dc3ba136b8f4f56d7f9d28d2f4aa409de

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b612351d3f8f5429dc07c691a36ca7faab79255ef07b311583186bacd72b6625
MD5 df16106ae907aa8560506265814911bf
BLAKE2b-256 ed8e0ce2c05d214baf812e156db8ede439964f6fbd4f63e8ccbf4e5b1345cce1

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52150edc5fe49fb6bdff0fba41af74a8c5ea1dfc3a5035e962bee800d6e4ff7b
MD5 bb607c01e9206dd028d68b9da3b3df66
BLAKE2b-256 4a39838e7fc1724786828e172a3774e87a8ced9f6be49fccf7e585359f9b80c3

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: linpgtoolbox-26.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 316.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linpgtoolbox-26.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 84dbc2c62ca37a285bcae026c05ad2c4f4893b2a97c60b565bfd4e085f87604d
MD5 bda7de09cc44d63fbbff499300f1bf11
BLAKE2b-256 e33e3e1857a2e5a33f2428ca7820d333713ec888a322238941b5c5d8a58bd74a

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 af2939e58a34cd2afe6a5e42da9918fd4138dc7b7e67543ac901edbc7b0229bc
MD5 a2f0564febcbde383f0887c68752bbad
BLAKE2b-256 dc6cb54e1ccf860a7b326d9efa047523a37e72a57f433ebd7e2eac5a8fd3511a

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df06347befd8531df84af43b659f1cbfde13ca2282f68470db3f32370f0da689
MD5 7b7de8cd93cf424a3625d7ff7711e309
BLAKE2b-256 9b7d973da9641ead1427af74be54c1e15e47d2e81ec700a434042d55fd0942e2

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: linpgtoolbox-26.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 319.1 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linpgtoolbox-26.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9d4ff5d89431faa909f273b7c6d12b58a8478c59d28a856c5465a65deec7016a
MD5 547f76423b80a6e2381ceefe18ec66b9
BLAKE2b-256 777d916622c822d52bcfcba4de3c7e72231135c7d894f8d10c22f9b96a74c568

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16ba207559c63f2e4b6be52a638139ef0d5300bf8a1950f8662fb8a50e7ca361
MD5 6b077c71d8155c5238385c607b48a405
BLAKE2b-256 c378f76b776fc79d782b59fd4bc0b6901d150072f3c566a5d0165ea8a799756d

See more details on using hashes here.

File details

Details for the file linpgtoolbox-26.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for linpgtoolbox-26.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 345b13efc36bd5755639864afd4b82795040bda3de9f1d2595ea11ad08aa18fa
MD5 238ac85cb87d1e0a815898199ca19d32
BLAKE2b-256 f0b4602e9312acf25a2dae44a68d74e5c1ef4c9f2f1f6775d82e452e69ba40e0

See more details on using hashes here.

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