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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file python-minimize-0.0.4.tar.gz.

File metadata

  • Download URL: python-minimize-0.0.4.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for python-minimize-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c5943c5320a751da9509737c6b59b13deb222298272ee38e30cdaf48b6911b83
MD5 92009d3812f2ddc3257d5e908fa968d3
BLAKE2b-256 905cc4d16f70648492fbbda88f25a8d527f3f8d1069c92f9b0d2359f25b854aa

See more details on using hashes here.

File details

Details for the file python_minimize-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: python_minimize-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for python_minimize-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e47435e9c06a86ce9443cec7a36f49935efe2c32f8266950620f4667ba701a5
MD5 3e78099ba4cd6dce86a2a19900ed83fb
BLAKE2b-256 bf8a820c739fd5cd29420591bf258f469baf7bab30ec3ec0098ac0c3d75b24b0

See more details on using hashes here.

Supported by

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