Skip to main content

Minimize

Minimize is a command line utility for optimizing the size of MicroPython projects, allowing you to write clean and readable code occupying minimal memory when deployed to micro-controller

Installation

Use the package manager pip to install minimize.

pip install python-minimize

Usage

Minimize provides a simple command-line utility which runs size reduction recursively over all files under the working directory

minimize

The command also accepts an arbitrary number of glob patterns, enabling fine-grained control over which files are minimized

minimize big-files/**.py huge-files/**.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

A full contribution guide and code of conduct are supplied with the repository. In essence, update the unit tests and changelog, and treat fellow users with respect!

License

Apache Software License 2.0

Metadata

Release files for python-minimize 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-minimize 0.0.4
File Size Uploaded
python-minimize-0.0.4.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-minimize 0.0.4
File Interpreter ABI Platform
python_minimize-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / python-minimize-0.0.4.tar.gz

Download URL python-minimize-0.0.4.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c5943c5320a751da9509737c6b59b13deb222298272ee38e30cdaf48b6911b83
BLAKE2b-256 checksum
How to use checksums
905cc4d16f70648492fbbda88f25a8d527f3f8d1069c92f9b0d2359f25b854aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / python_minimize-0.0.4-py3-none-any.whl

Download URL python_minimize-0.0.4-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e47435e9c06a86ce9443cec7a36f49935efe2c32f8266950620f4667ba701a5
BLAKE2b-256 checksum
How to use checksums
bf8a820c739fd5cd29420591bf258f469baf7bab30ec3ec0098ac0c3d75b24b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page