Do stuff with Python
Project description
ado-py
Do stuff with python. Quickly access functions from the command-line.
Automate stuff and save time.
Inspired by make. 😂
To avoid repetition of lines in the terminal, we often create a make alias and call
make func
In make
you write stuff in shell, in ado
, you write in python.
Installation
pip install ado-py
Usage
Create a do.py
file in your directory.
Write functions in it like this
'''
docstring of do.py
write whatever you want
'''
def hello():
print('hi')
def func():
# do stuff here
pass
Note: the functions in do.py
should not take any arguments.
For user input use input()
function.
Call any function from the terminal by running ado func
.
Running only ado
would print the docstring of do.py
.
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
ado-py-0.0.5.tar.gz
(2.3 kB
view hashes)
Built Distribution
ado_py-0.0.5-py3-none-any.whl
(2.5 kB
view hashes)