{"id":45603,"library":"noise","title":"Noise","description":"Perlin noise implementation for Python, widely used for procedural generation in games, simulations, and data visualization. Current version 1.2.2 has been stable with no new releases since 2015; the project is in maintenance mode.","status":"maintenance","version":"1.2.2","language":"python","source_language":"en","source_url":"https://github.com/caseman/noise","tags":["perlin noise","procedural generation","noise"],"install":[{"cmd":"pip install noise","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"pnoise2 is a function, not a method; importing directly is more explicit.","wrong":"import noise; noise.pnoise2(...)","symbol":"pnoise2","correct":"from noise import pnoise2"},{"note":"","wrong":null,"symbol":"pnoise3","correct":"from noise import pnoise3"},{"note":"","wrong":null,"symbol":"PerlinNoise","correct":"from noise import PerlinNoise"}],"quickstart":{"code":"from noise import pnoise2\n\n# Generate 2D Perlin noise value at (0.5, 0.5) with octaves=6\nvalue = pnoise2(0.5, 0.5, octaves=6)\nprint(value)","lang":"python","description":"Basic usage: generate a single Perlin noise value with pnoise2."},"warnings":[{"fix":"Use the fork 'noise' (pip install noise) which supports Python 3, or use 'perlin-noise' package.","message":"Python 2 only: the noise library on PyPI is Python 2 only. Install 'noise' on Python 3 may fail or produce incorrect results.","severity":"breaking","affected_versions":"1.2.2"},{"fix":"Consider alternatives like 'noise' (fork), 'perlin-noise', or 'numpy' based implementations.","message":"Project unmaintained since 2015. No new features or bug fixes.","severity":"deprecated","affected_versions":"all"},{"fix":"Normalize: (value + 1) / 2.0","message":"pnoise2 and pnoise3 return values in range approximately [-1, 1], but not clamped exactly. Use clamping if you need strict [0,1].","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.2.2':20 '2015':29 'current':18 'data':16 'game':13 'generat':11,39 'implement':4 'mainten':34 'mode':35 'new':26 'nois':1,3,37,40 'perlin':2,36 'procedur':10,38 'project':31 'python':6 'releas':27 'simul':14 'sinc':28 'stabl':23 'use':8 'version':19 'visual':17 'wide':7","created_at":"2026-06-07T12:55:49.229808+00:00","updated_at":"2026-06-07T12:55:49.229808+00:00","problems":[{"fix":"Install the Python 3 compatible fork: pip install noise","cause":"Python 3 environment - the original noise package is Python 2 only.","error":"ModuleNotFoundError: No module named 'noise'"},{"fix":"Verify installation with: pip list | grep noise","cause":"Package not installed or installed in wrong environment.","error":"ImportError: No module named noise"},{"fix":"Upgrade to latest version: pip install --upgrade noise","cause":"Using an older version of noise (pre-1.1.0) that does not support octaves parameter.","error":"TypeError: pnoise2() got an unexpected keyword argument 'octaves'"}],"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/caseman/noise","github":"https://github.com/caseman/noise","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["analytics"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}