Hello!
Project description
Publish package tutorial
Installation
Create a virtualenv and then install the library
pip3 install publishtutorial
Usage
from myfunc import say_hello, average
from second_script import second_function
# Generate "Hello, World!"
say_hello()
# Generate "Hello, Everybody!"
say_hello("Everybody")
# Compute average between two numbers (default values are 1 and 2 -> 1.5)
average()
# Compute average between two numbers (2.5)
average(2,3)
# Sum to input value the average between the input and 2 (default value is 1 -> 1 + average(1,2) = 2.5)
second_function()
# Sum to input value the average between the input and 2 (5.5)
second_function(3)
Developing
To install publishtutorial, along with the tools you need to develop and run tests, run the following in your virtualenv:
$ pip3 install -e .[dev]
Credits to: Coding Tech
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
publishtutorial-0.0.4.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for publishtutorial-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f151e1ca4b5c2b165f1262cbf097f418f623f853e679cc9b91cca29bd22661 |
|
MD5 | fa98de5c00d3b70fe1b211b6afc57890 |
|
BLAKE2b-256 | 1becb97bc4342719ebf35c9c8023e0ee8742a2a01d8c12dac0945d2cf8d504be |