# python-helloworld **Repository Path**: kkxue/python-helloworld ## Basic Information - **Project Name**: python-helloworld - **Description**: daytona example project - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-25 - **Last Updated**: 2025-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Hello, World ============ A simple program, and an example of how to structure a python project. Demonstrates a basic package file structure (using [flat layout]) and a way to define a [single package version] shared between package metadata and program runtime. See also: the Python Packaging User Guide at https://packaging.python.org/ offers more complete examples and explanations. [flat layout]: https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/ [single package version]: https://packaging.python.org/en/latest/guides/single-sourcing-package-version/ Basic usage ----------- You can install the package using `pip` and then run the main script from the command line as `helloworld_in_python` or import it in python via `import helloworld`: ```shell $ cd python-helloworld/ # Dir containing this repo's root $ pip install . $ helloworld_in_python Hello, world $ helloworld_in_python --version helloworld 0.1 $ python >>> import helloworld >>> helloworld.__version__ '0.1' ``` You can also try it without installing by running `python helloworld.py` in the repository root: ```shell $ python helloworld.py Hello, world $ python helloworld.py --version helloworld 0.1 ```