Install with pip in your terminal, making sure Python is added to PATH:
$ pip install usefulib
Alternatively, you can use the git URL to do the same. This is NOT recommended and should only be used if you are experiencing issues installing normally (in which case please file an issue)
$ pip install "git+https://github.com/hamdivazim/usefulib.git@pip-install#egg=usefulib"
All you need to do is import the package, and all usefulibs that you may want will come along with it! As an example:
import usefulib
a_string = "abcdef123456"
reverse_string = usefulib.reverse_string(a_string)
If all you need is one usefulib:
from usefulib import reverse_string
a_string = "abcdef123456"
reverse_string = reverse_string(a_string)
As an open-source library and can be contributed to by anyone, it offers a lot of simple functions to make writing code easier and quicker. A complete list of all usefulibs that are available can be found here.
usefulib is full of contributions from the community! We're beginner-friendly here, so read the contributing guidelines and give us your best usefulibs 😃!
View the site
Recently, usefulib's website launched at https://hamdivazim.github.io/usefulib/, feel free to report bugs or give feature requests, using the web-issue
label. Or, take a look at the discussion.
usefulib is licensed under the GNU General Public License v3.0.