Skip to main content

A Docker and AWS utility package

Project description

mypackage

A testing package for Digital Kites processes.

Installation

Make sure you have python3 and pip installed.

pip install mohammed_way2

Usage

Importing:
   import mohammed_way2 

Create instance of 'Myclass' in mohammed_way2 module
   name = "Mohammed" #name should be required
   colorObj = mohammed_way2.Myclass(name) 

To get help
    colorObj.help()

Calling methods
   requirements = {
    "foreground":"red",
    "background":"green",
    "extra":"underline" 
   }
   #if you pass requirements={ } it will say back in the default color
   colorObj.sayHai(requirements)
              (or)
   colorObj.sayBye(requirements)

To watch options available for requirements
     colortObj.optionsAvailable()

How to include in your process:

import mohammed_way2
name = "Mohammed" #your name
colorObj = mohammed_way2.Myclass(name)
# colorObj.help()
requirements = {
    "foreground":"red",
    "background":"blue",
    "extra":"underline" 
}
# you can pass requirements = {}
colorObj.sayHai(requirements)
colorObj.sayBye(requirements)
# colorObj.optionsAvailable()

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

mohammed_way2-1.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

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