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 details)

Uploaded Source

File details

Details for the file mohammed_way2-1.1.tar.gz.

File metadata

  • Download URL: mohammed_way2-1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for mohammed_way2-1.1.tar.gz
Algorithm Hash digest
SHA256 1c26deaea4aca392a44e10ef7139e7ba23d91e26057bddf5f5412ae62243f6a7
MD5 3a870da2723cbc72a6e25a1cfd784612
BLAKE2b-256 8a42a36c49ab46f181347c7f063a9cc77bb7e23f96e280db49fed8682c8af10d

See more details on using hashes here.

Supported by

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