Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

time_server_yamacr-0.1.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file time_server_yamacr-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for time_server_yamacr-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 771ea7bfb57f3c6876601974e909a1699daaf697ec9c7a620a3ad717f8972b39
MD5 268eb882dc37a8c99c8444bf15d774a4
BLAKE2b-256 8a6ed388961b948c45a753a1fcc625c13e9f7605d6665150af68030e4a823def

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page