samples201

pip install --extra-index-url https://pypi.nerdguru.net samples201

Provides a set of functions that call the Samples 101 functions in various order. Namely, reverseStarWars, weatherReverse, and weatherStarWars.

Usage

Using the sample is simple and demonstrated in usage.py:

import samples201
import samples101
import sys

print(samples201.reverseStarWars('hello'))
print(samples201.weatherReverse('New Orleans', sys.argv[1]))
print(samples201.weatherStarWars('New Orleans', sys.argv[1]))

And to execute:

python usage.py XXXXXXX

where XXXXXXX represents your OpenWeather API key. That execution should yield:

  ______    __       __       _______  __    __  
 /  __  \  |  |     |  |     |   ____||  |  |  |
|  |  |  | |  |     |  |     |  |__   |  |__|  |
|  |  |  | |  |     |  |     |   __|  |   __   |
|  `--'  | |  `----.|  `----.|  |____ |  |  |  |
 \______/  |_______||_______||_______||__|  |__|


elzzird ytisnetni thgil
 __       __    _______  __    __  .___________.
|  |     |  |  /  _____||  |  |  | |           |
|  |     |  | |  |  __  |  |__|  | `---|  |----`
|  |     |  | |  | |_ | |   __   |     |  |     
|  `----.|  | |  |__| | |  |  |  |     |  |     
|_______||__|  \______| |__|  |__|     |__|     

 __  .__   __. .___________. _______ .__   __.      _______. __  .___________.
|  | |  \ |  | |           ||   ____||  \ |  |     /       ||  | |           |
|  | |   \|  | `---|  |----`|  |__   |   \|  |    |   (----`|  | `---|  |----`
|  | |  . `  |     |  |     |   __|  |  . `  |     \   \    |  |     |  |     
|  | |  |\   |     |  |     |  |____ |  |\   | .----)   |   |  |     |  |     
|__| |__| \__|     |__|     |_______||__| \__| |_______/    |__|     |__|     

____    ____
\   \  /   /
 \   \/   /  
  \_    _/   
    |  |     
    |__|     

 _______  .______       __   ________   ________   __       _______
|       \ |   _  \     |  | |       /  |       /  |  |     |   ____|
|  .--.  ||  |_)  |    |  | `---/  /   `---/  /   |  |     |  |__   
|  |  |  ||      /     |  |    /  /       /  /    |  |     |   __|  
|  '--'  ||  |\  \----.|  |   /  /----.  /  /----.|  `----.|  |____
|_______/ | _| `._____||__|  /________| /________||_______||_______|

Downloads
2
Versions
0.0.1
Dependents
0 packages
0 repositories

Dependencies
1 packages
License
none
Open Issues
0
Pull Requests
0
GitHub Repo
nerdguru/samples201
Contributors
1
Data from Github and internal usage statistics
Feedback? Email Us
Built using sls-pypi