{"library":"usort","type":"library","category":null,"description":"µsort (pronounced 'micro-sort') is a Python utility for safe, minimal import sorting. Its primary goal is to reorder imports within detected 'blocks' without making dangerous changes or altering other code formatting. It works by identifying distinct import blocks and applying sorting rules based on common Python conventions. The current version is 1.1.3, and it maintains a public changelog for releases.","language":"python","status":"active","version":"1.1.3","tags":["import-sorting","formatter","code-quality","linter"],"last_verified":"Thu May 21","install":[{"cmd":"pip install usort","imports":["import usort\nfrom pathlib import Path\n# ...\nusort.usort_file(path_obj, write=True)"]}],"homepage":null,"github":"https://github.com/facebook/usort","docs":"https://usort.readthedocs.io","changelog":"https://usort.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/usort/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.9,"avg_import_s":1.04,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/usort/compatibility"}}