{"id":44990,"library":"fpylll","title":"fpylll","description":"fpylll is a Python wrapper for the FPLLL library, providing implementations of lattice reduction algorithms (LLL, BKZ) and other lattice tools. Version 0.6.4 is the latest release. The project is in maintenance mode with infrequent updates.","status":"maintenance","version":"0.6.4","language":"python","source_language":"en","source_url":"https://github.com/fplll/fpylll","tags":["lattice","cryptography","LLL","BKZ"],"install":[{"cmd":"pip install fpylll","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"wrong":"from fpylll import IntegerMatrix","symbol":"IntegerMatrix","correct":"from fpylll import IntegerMatrix"}],"quickstart":{"code":"from fpylll import IntegerMatrix, LLL\nA = IntegerMatrix.from_matrix([[1,2,3],[4,5,6],[7,8,10]])\nB, _ = LLL.reduction(A)\nprint(B)","lang":"python","description":"Create an integer matrix and run LLL reduction."},"warnings":[{"fix":"Use top-level imports: from fpylll import IntegerMatrix, LLL, GSO, BKZ","message":"In version 0.6.0, the import path for core classes changed. Previously 'from fpylll.fplll.gso import GSO' now must be 'from fpylll import GSO'.","severity":"breaking","affected_versions":">=0.6.0"},{"fix":"Replace MatGSO with GSO.Mat","message":"The function 'fpylll.fplll.gso.MatGSO' is deprecated; use 'fpylll.GSO.Mat' instead.","severity":"deprecated","affected_versions":">=0.5.0"},{"fix":"Verify matrix dimensions: rows = number of basis vectors, columns = dimension.","message":"IntegerMatrix uses 0-based indexing, but many lattice examples in papers use 1-based. Off-by-one errors are common when porting code.","severity":"gotcha","affected_versions":"all"},{"fix":"Always use: B, T = LLL.reduction(A)","message":"LLL.reduction returns a tuple (reduced_matrix, transformation_matrix). Forgetting to unpack the tuple leads to TypeError.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.6.4':24 'algorithm':16 'bkz':18,41 'cryptographi':39 'fplll':9 'fpylll':1,2 'implement':12 'infrequ':36 'latest':27 'lattic':14,21,38 'librari':10 'lll':17,40 'mainten':33 'mode':34 'project':30 'provid':11 'python':5 'reduct':15 'releas':28 'tool':22 'updat':37 'version':23 'wrapper':6","created_at":"2026-06-07T12:52:49.371544+00:00","updated_at":"2026-06-07T12:52:49.371544+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpdswp9yjc/venv/lib/python3.12/site-packages/fpylll/__init__.py\", line 3, in <module>\n    from .fplll.integer_matrix import IntegerMatrix\n  File \"src/fpylll/fplll/integer_matrix.pyx\", line 1, in init fpylll.fplll"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/fplll/fpylll","github":"https://github.com/fplll/fpylll","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}