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

Uploaded Python 3

File details

Details for the file CYB600-Lab1-Huff4a-0.5.tar.gz.

File metadata

  • Download URL: CYB600-Lab1-Huff4a-0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 a2dbd9ea95b8cb9fe90ca6f37ccd44d9d7dd2bb87560a4ccd45a2991c9cb3abc
MD5 a4dd4200dcbb46587018941039000b05
BLAKE2b-256 107805ec849c53bf65362b4dd9d4fd4a50bdbc102145dd08243b387ccf7bc4fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CYB600_Lab1_Huff4a-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 69408b4488587b429df9e71985502105f52a0fecf337a29193513f7817fef43c
MD5 3bc0da0241cf9725c45754faea8af8ea
BLAKE2b-256 7d1a905f3d9c05aaf7f6a1bb9a1cdc18121bee2f9e1afb431532cea1dc1fb1a2

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