{"library":"grain","type":"library","category":null,"description":"Grain is a Python library from Google designed for efficiently loading and transforming data, primarily for machine learning model training and evaluation, particularly with JAX. It emphasizes flexibility, speed, and determinism in data processing pipelines. The library is actively developed, currently at version 0.2.16, with frequent updates including new features, bug fixes, and deprecations.","language":"python","status":"active","version":"0.2.16","tags":["machine learning","data processing","JAX","data pipeline","ETL","data loading"],"last_verified":"Fri May 22","install":[{"cmd":"pip install grain","imports":["import grain\ndataset = grain.MapDataset.source([...])","import grain\niter_dataset = dataset.to_iter_dataset()"]}],"homepage":null,"github":"https://github.com/google/grain","docs":null,"changelog":null,"pypi":"https://pypi.org/project/grain/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":5.2,"avg_import_s":1.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/grain/compatibility"}}