hello world
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hellow_worldo-0.0.17.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file hellow_worldo-0.0.17.tar.gz
.
File metadata
- Download URL: hellow_worldo-0.0.17.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
551a413b3754d9009838384a3d936fd24f1e854897f16bd766a21009c3871a55
|
|
MD5 |
b2f40a53798e5f6bda723165003aed91
|
|
BLAKE2b-256 |
d79560711d1a59bc88cf542a7d3c511053eafa76c5a19c230504c7e80bba3c1f
|
File details
Details for the file hellow_worldo-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: hellow_worldo-0.0.17-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
622588f096b1d997f3c80072fa40955fa6b81a7f3b3457ba1fdc79ea8114a541
|
|
MD5 |
1c1ffddad1a842058f4ee7f1584fe041
|
|
BLAKE2b-256 |
bf9fafaea5f8ccf335759ead7bb9cae681e033a0f2fcc4738bef97bc39d7ef87
|