Skip to main content

No project description provided

Project description

PyPiShrink

Python script to make Raspberry Pi (and other?) image files smaller

Inspired by PiShrink but written in Python

As an original shell script, this script just automates running commands like

  • parted
  • e2fsck
  • resize2fs
  • tune2fs
  • losetup

These tools should be installed. User should have sudo permissions.

Not all features of an original script are implemented. But this script also can shrink image with more than two partitions. It can move resized partitions what original script can't do.

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

pypishrink-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

pypishrink-0.1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pypishrink-0.1.2.tar.gz.

File metadata

  • Download URL: pypishrink-0.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypishrink-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d3b2456dbd15a8f7c8d073a2dae05050a38ef7a7e4a6837943da34b096393ca0
MD5 1ab4e7a3eed1951a02679f53029cb014
BLAKE2b-256 0460397c010f80587d0d11a0d46516a7b29fe84491df9df7733995a01fe2b900

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypishrink-0.1.2.tar.gz:

Publisher: publish-pypi.yml on dims12/PyPiShrink

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

File details

Details for the file pypishrink-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pypishrink-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypishrink-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c53e163f46dcf6a4fb95c8c6ef42f9b25a6d7cc421cb19f77f5aae26f18a10
MD5 7b44b53f00bd9b610a4e68e5c50215ee
BLAKE2b-256 7615ef15ad0b89950b6d899860678ce12d2b5dfe204b2c4c4b1b8fff827ee294

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypishrink-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on dims12/PyPiShrink

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