{"id":21429,"library":"hello-world","title":"hello-world","description":"A simple Python package that prints 'Hello, World!' as a demonstration of PyPI publishing. Current version 0.2.","status":"active","version":"0.2","language":"python","source_language":"en","source_url":"https://pypi.org/project/hello-world/","tags":["demo","hello-world"],"install":[{"cmd":"pip install hello-world","lang":"bash","label":"pip"}],"dependencies":[],"imports":[{"note":"Hyphen in package name becomes underscore in import.","wrong":"import hello-world","symbol":"hello_world","correct":"import hello_world"}],"quickstart":{"code":"import hello_world\n\nhello_world.hello()","lang":"python","description":"Imports and calls the hello function."},"warnings":[{"fix":"Use 'import hello_world'.","message":"Package name uses hyphen 'hello-world' but import uses underscore 'hello_world'. This is a common Python convention.","severity":"gotcha","affected_versions":"all"},{"fix":"Call hello_world.hello().","message":"The main function is called 'hello()', not 'hello_world()'. Check the source if in doubt.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'import hello_world' (underscore).","cause":"Using hyphen in import instead of underscore.","error":"ModuleNotFoundError: No module named 'hello-world'"},{"fix":"Use hello_world.hello().","cause":"Assuming the function is named hello_world.","error":"AttributeError: module 'hello_world' has no attribute 'hello_world'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}