A simple web server that returns the current time.
Project description
Time Server - time_server_yamacr
A simple Python web server that displays the current time in a web browser using Flask.
Installation
To install the package from PyPI, run:
pip install time-server-yamacr
Usage
Once installed, you can start the server by running:
time-server
By default, the server runs on
http://0.0.0.0:8080.Open your web browser and visit:
http://localhost:8080
This will display the current server time.
Running from Source
If you prefer to run the server directly from the source, follow these steps:
Clone the repository:
git clone https://github.com/rsmymc/cyb600_project1.git cd cyb600_project1
Install dependencies:
pip install -r requirements.txt
Run the server:
python -m time_server.server
The server will start, and you can access it at
http://localhost:8080.
Requirements
Python 3.7 or later
Flask (installed automatically via pip)
License
This project is licensed under the MIT License.
Author
Developed by Rasim Yamac
For any inquiries, contact: yamacr@canisius.edu
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file time_server_yamacr-0.1.3-py3-none-any.whl.
File metadata
- Download URL: time_server_yamacr-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
771ea7bfb57f3c6876601974e909a1699daaf697ec9c7a620a3ad717f8972b39
|
|
| MD5 |
268eb882dc37a8c99c8444bf15d774a4
|
|
| BLAKE2b-256 |
8a6ed388961b948c45a753a1fcc625c13e9f7605d6665150af68030e4a823def
|