{"library":"tokentrim","type":"library","category":null,"description":"A utility library for trimming 'messages' arrays to fit within a specified token limit, commonly used with GPT models. Current version is 0.1.13, released as a stable package with no recent changes.","language":"python","status":"active","version":"0.1.13","tags":["openai","gpt","token","messages","trimming"],"install":[{"cmd":"pip install tokentrim","imports":["from tokentrim import trim","from tokentrim import format_function_calls","from tokentrim import model_map"]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/tokentrim/","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.8,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tokentrim/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Tue Jun 30","last_verified":"Tue Jun 30","next_check":"Thu Jul 30","install_tag":null}}