Metadata-Version: 2.1
Name: py_basic_commands
Version: 0.1.1
Summary: Basic tools for Python
Home-page: https://github.com/RasseTheBoy/Py_Basic_Tools
Author: Rasmus Ohert
Author-email: Rasmus Ohert <rassemichael@gmail.com>
Project-URL: Homepage, https://github.com/RasseTheBoy/Py_Basic_Tools
Keywords: python,tool,help
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.md


# Py Basic Tools

A package including some basic tools for Python (3)

## Author

- [@RasseTheBoy](https://github.com/RasseTheBoy)


## Installation

Install my-project with pip

```bash
  pip install py_basic_commands

  pip3 install py_baisc_commands
```
    
## Examples

### fprint
```
from py_basic_tools import fprint

print('Hello world')
>> Hello world!

fprint('Hello world!') # new line after string
>> Hello world!\n

fprint('Hello world!', nl=False) # No new line after string (works like normal print)
>> Hello world
```

### enter_to_continue
```
from py_basic_tools import enter_to_continue

enter_to_continue()
>> Press enter to continue...
>>
>>

enter_to_continue('Waiting')
>> Waiting (enter to continue)
>>
>>

enter_to_continue('Waiting', nl=False) # Removes new line after input
>> Waiting
>>

returned_value = enter_to_continue('Should this continue?', ret=True) # If the input isn't empty, the returned value is False
print(f'Returned value: {returned_value}')
>> Should this continue? (enter to continue)
>>
>> Returned value: True
```
