This a basic project for learning how to make PIP(PyPI) package
Project description
helloworldpy
This is a basic project for learning how to make the PIP(PyPI) package
To install the package!
On Windows:
$ pip install helloworldpy
On macOS and Linux:
$ sudo pip3 install helloworldpy
Changelog
Check the changelog here.
Example:
$ helloworldpy -h
usage: helloworldpy [-h] [-V] [-n [NAME [NAME ...]]] [-ip] [-g]
optional arguments:
-h, --help show this help message and exit
-V, --version show program version
-n [NAME [NAME ...]], --name [NAME [NAME ...]]
output Hello Name! or Hello World!
-ip, --checkip This will check public IP address of system
-g, --playgame You can play Bulls and Cows game
Usage
helloworldpy --name (with out arguments)
$ helloworldpy --name
Hello World!
helloworldpy --name (with arguments)
$ helloworldpy --name py
Hello Py!
You Can Play Bulls and Cows Game
$ helloworldpy --playgame
Hello World Py!
##############--->>> Rules: <<---################
# Note: #
# Bulls = correct code, correct position. #
# Cows = correct code, wrong position. #
#################################################
how many digits number you need? 2
enter a number you guess: 12
Cow : 0,Bull : 0
enter a number you guess: 34
Cow : 0,Bull : 1
enter a number you guess: 56
Cow : 0,Bull : 0
enter a number you guess: 89
Cow : 0,Bull : 1
enter a number you guess: 94
Cow : 1,Bull : 0
enter a number you guess: 93
Cow : 2,Bull : 0
enter a number you guess: 39
Cow : 0,Bull : 2
|-------------------------------|
YOU WON!
* Answer is "39"
* Number of attempts are 7
|-------------------------------|
To Check System public IP Address
$ helloworldpy --checkip
Hello World Py!
Public IP Address: 1▨0.2▨▨.0▨▨.▨3▨
License
Copyright (c) 2020 Saketh Chandra
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
helloworldpy-1.0.0.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for helloworldpy-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f428250966e8a7a07ff548ee2ade40bb9b56f8671efaeeb5715c27913f96ceb |
|
MD5 | 2f65d56ef738dca429a1ea04fdb73d02 |
|
BLAKE2b-256 | 97254efea357dab45c778578d919f9985d457af819e6f00a4836d45152908f8a |