A simple package that contains extremely useful utilities.
Project description
About
Pyutils is a package that contains many different utilities ranging from getting source codes, to dumping output logs. This package simplifies things down the one line of code to be executed.
Examples
Return complete system information
import pyutilscr
overview = pyutilities.ov()
print(overview.complete())
Get source code
import pyutilscr as pyutil
print(pyutil.method_source(pyutil.method_source()))
#Use file_source instead of method_source for files
Dump output of python script
import pyutilscr as pyutil
pyutil.log("foo.py","dump.txt")
Check to see if a string is in a file
import pyutilscr as pyutil
print(pyutil.search("/home/runner/foo/",["Yessir","pyutilscr"],".py"))
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
pyutils-cr-0.1.3.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pyutils_cr-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85bd5712ad94bd6166ad947329bc18a29f70dc63f4796a548dcf48f3da6bd85e |
|
MD5 | d08d3bafa2b98f42a7efc3f7a28855ef |
|
BLAKE2b-256 | f8b7b5e18570b20567a4cb7fdf442099b3e30d85f82b91664134e00db3d54ae3 |