Skip to main content

A simple web server that returns the current time.

Project description

Time Server A simple Python web server that returns the current time.

Installation You can install this package from PyPI using:

pip install time_server

Usage Running the Server To start the web server, run:

time-server

This will start a server on http://localhost:8080, which will return the current time.

Accessing the Time Once the server is running, open a browser or use curl:

curl http://localhost:8080

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.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for time_server_yamacr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45732412f2ea1e0b58f85bd05bc42d2ec9edc35fe2d582ed4174b3eef5129271
MD5 4c5717ee5a1c439bbec5f72ea51d594e
BLAKE2b-256 b14589ad6de221faf1553abe81ddeffe62f1b1691404a11da5e7845be561d357

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