Skip to main content

No project description provided

Project description

CYB600 Lab 1 - Flask Application

This project is a simple Flask web application that displays the current time. It is part of the CYB600 course and demonstrates how to create a Python package and deploy a basic web application.

Project Structure

The project has the following structure:

LICENSE
README.md
requirements.txt
setup.py
CYB600_Lab1/
    ├── __init__.py
    └── time.py
tests/
    └── test_time.py  # Optional test file
  • CYB600_Lab1/: Contains the main application code (Flask app).
  • tests/: Directory for unit tests (optional).
  • README.md: Project documentation (you are here!).
  • LICENSE: The license under which this project is distributed (MIT License).
  • requirements.txt: Lists the dependencies for the project.
  • setup.py: Packaging script for installing the project as a Python package.

Installation

To install this package, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/dhuffCanisius/CYB600_Lab1.git
    
  2. Navigate into the project directory:

    cd CYB600_Lab1
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Usage

Once installed, you can run the Flask web server using the command:

cyb600_lab1_server

This will start the server on http://localhost:8000/, where you can view the current time.

Running Tests

If you wish to run tests (optional), you can use the following command:

pytest

This will run the test suite located in the tests/ directory (if you have one set up).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Darnell Huff

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CYB600_Lab1_Huff4a-0.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

CYB600_Lab1_Huff4a-0.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file CYB600_Lab1_Huff4a-0.4.tar.gz.

File metadata

  • Download URL: CYB600_Lab1_Huff4a-0.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for CYB600_Lab1_Huff4a-0.4.tar.gz
Algorithm Hash digest
SHA256 cb5627eec405161cef9494aa56d2b041631abc02f13efd14947dc95dfdb8fe43
MD5 407c9b9a4a68c29dad9b63ee7c844fce
BLAKE2b-256 4d7a1c6d1d27fc870153e6074865849bcfe5011183e41dd1a804ab945a918ecb

See more details on using hashes here.

File details

Details for the file CYB600_Lab1_Huff4a-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for CYB600_Lab1_Huff4a-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8d468d85de90ace90d3a61e2b66026b7d7dc6a932198457d0708741812ca3a92
MD5 3486c63d49175717b0bd5ea455b5c879
BLAKE2b-256 10adbe933b3f9abf73a549f19731f2d2b6d930412daa37c91bb16bf9a6bcc1c8

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