My FastAPI Application
======================
A simple FastAPI application that prints "Hello, World!" when accessed.
Installation
------------
You can install the package using `pip`:
.. code-block:: bash
pip install hellow_worldo
Usage
-----
Once the package is installed, you can import and use it in your Python scripts or projects.
Import the package in your script:
.. code-block:: python
from hellow_worldo import print_hello
Use the function to print the greeting:
.. code-block:: python
response = print_hello()
print(response) # Output: {'data': 'Hellow Worldo..'}
Running the Application
-----------------------
To run the FastAPI application, execute the following command in your terminal:
.. code-block:: bash
uvicorn myapp:app --host 0.0.0.0 --port 8000
Replace ``myapp`` with the name of your Python script containing the FastAPI application (the script where you define the FastAPI app using ``app = FastAPI()``).
Once the application is running, you can access it by navigating to ``http://localhost:8000/`` in your web browser or using an API client like curl or Postman.
Contributing
------------
If you would like to contribute to this project or report any issues, please visit the GitHub repository: https://github.com/yourusername/your-repo
License
-------
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "",
"name": "hellow-worldo",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,hello",
"author": "RohitMishra (The Great DEV)",
"author_email": "RKMDEV@DEV.com",
"download_url": "https://files.pythonhosted.org/packages/d7/95/60711d1a59bc88cf542a7d3c511053eafa76c5a19c230504c7e80bba3c1f/hellow_worldo-0.0.17.tar.gz",
"platform": null,
"description": "My FastAPI Application\r\n======================\r\n\r\nA simple FastAPI application that prints \"Hello, World!\" when accessed.\r\n\r\nInstallation\r\n------------\r\n\r\nYou can install the package using `pip`:\r\n\r\n.. code-block:: bash\r\n\r\n pip install hellow_worldo\r\n\r\nUsage\r\n-----\r\n\r\nOnce the package is installed, you can import and use it in your Python scripts or projects.\r\n\r\nImport the package in your script:\r\n\r\n.. code-block:: python\r\n\r\n from hellow_worldo import print_hello\r\n\r\nUse the function to print the greeting:\r\n\r\n.. code-block:: python\r\n\r\n response = print_hello()\r\n print(response) # Output: {'data': 'Hellow Worldo..'}\r\n\r\n\r\nRunning the Application\r\n-----------------------\r\n\r\nTo run the FastAPI application, execute the following command in your terminal:\r\n\r\n.. code-block:: bash\r\n\r\n uvicorn myapp:app --host 0.0.0.0 --port 8000\r\n\r\nReplace ``myapp`` with the name of your Python script containing the FastAPI application (the script where you define the FastAPI app using ``app = FastAPI()``).\r\n\r\nOnce the application is running, you can access it by navigating to ``http://localhost:8000/`` in your web browser or using an API client like curl or Postman.\r\n\r\nContributing\r\n------------\r\n\r\nIf you would like to contribute to this project or report any issues, please visit the GitHub repository: https://github.com/yourusername/your-repo\r\n\r\nLicense\r\n-------\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "hello world",
"version": "0.0.17",
"project_urls": null,
"split_keywords": [
"python",
"hello"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bf9fafaea5f8ccf335759ead7bb9cae681e033a0f2fcc4738bef97bc39d7ef87",
"md5": "1c1ffddad1a842058f4ee7f1584fe041",
"sha256": "622588f096b1d997f3c80072fa40955fa6b81a7f3b3457ba1fdc79ea8114a541"
},
"downloads": -1,
"filename": "hellow_worldo-0.0.17-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1c1ffddad1a842058f4ee7f1584fe041",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2406,
"upload_time": "2023-07-26T17:34:36",
"upload_time_iso_8601": "2023-07-26T17:34:36.081739Z",
"url": "https://files.pythonhosted.org/packages/bf/9f/afaea5f8ccf335759ead7bb9cae681e033a0f2fcc4738bef97bc39d7ef87/hellow_worldo-0.0.17-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d79560711d1a59bc88cf542a7d3c511053eafa76c5a19c230504c7e80bba3c1f",
"md5": "b2f40a53798e5f6bda723165003aed91",
"sha256": "551a413b3754d9009838384a3d936fd24f1e854897f16bd766a21009c3871a55"
},
"downloads": -1,
"filename": "hellow_worldo-0.0.17.tar.gz",
"has_sig": false,
"md5_digest": "b2f40a53798e5f6bda723165003aed91",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2252,
"upload_time": "2023-07-26T17:34:37",
"upload_time_iso_8601": "2023-07-26T17:34:37.880959Z",
"url": "https://files.pythonhosted.org/packages/d7/95/60711d1a59bc88cf542a7d3c511053eafa76c5a19c230504c7e80bba3c1f/hellow_worldo-0.0.17.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-26 17:34:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "hellow-worldo"
}