Skip to main content

Reduce the size of MicroPython projects

Project description

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

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

python-minimize-0.0.4.tar.gz (10.3 kB view hashes)

Uploaded source

Built Distribution

python_minimize-0.0.4-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page