A package with useful tools
Project description
kitir
This is a Python3 version of my old project https://github.com/InbarRose/irtools
"A collection of useful tools for Automation, Devops, or anything really"
News:
Now hosted on pypi !
https://pypi.org/project/kitir/
What is it?
A set of tools that I find myself using often. Compiled over many years of use, gathered here and organized.
Installing with pip
To get the most stable version from Pypi (recommended)
pip install kitir
To get the most recent master version
pip install git+git://github.com/InbarRose/kitir@master#egg=kitir
To get the development version
pip install git+git://github.com/InbarRose/kitir@development#egg=kitir
Usage
To use the tools, you simply do:
from kitir import *
- This will gauruntee that you have the optimal situation, where you can access
utils
from your code. - It will also make sure that the logging module has been monkey patched with the new
trace
level. (important when running on commandline or with logging enabled)
When running from command line, you should include a call to utils.logging_setup()
to make sure the logging is setup to work correctly for all the utils.
Examples
ret = utils.iexec('ping 8.8.8.8') # using iexec you can run any command
See the rest of this example and more in the quickstart examples file
More examples in the examples folder.
Authors / Creators / Credits
- Inbar Rose - Owner - InbarRose
Note about code included or copied from external sources
Throughout the years I have compiled this set of utilities, most of it is written by me (Inbar) But some of it is copied from other sources, everywhere I have copied code I have included a link to the source, and where possible the type of license or a note about the author. If you believe I have made an error, or something I have included is wrong or needs updating, please let me know. It is not my intention to steal or cheat or claim work as my own, and if you dispute my using of your code, I will happily remove it. In some cases I made slight modifications to code mostly for readability, but in some cases I made modifications to enhance capabilities. Again, if anyone has a problem with anything I have done, please let me know. Thanks.
Future Plans
-
Add examples to try to cover each util lib and kit. (Assistance is welcomed)
-
Improve documentation and add additional comments for increased flow readability (Assistance is welcomed)
-
I plan to add this package to PyPi very soon!
License
This project is licensed under the MIT License - see the LICENSE file for details
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
Built Distribution
File details
Details for the file kitir-1.0.9.tar.gz
.
File metadata
- Download URL: kitir-1.0.9.tar.gz
- Upload date:
- Size: 46.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 836e103d45140425e54a1c536a0d9b7ff93c044529d68ed5547eb2ff3eaa7990 |
|
MD5 | 0b1f70a84600cb090783a122fa1bf705 |
|
BLAKE2b-256 | c4b365db53eeb0be49436c481673c2267739c1da65e7c9ba61bd9cb73ad18350 |
File details
Details for the file kitir-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: kitir-1.0.9-py3-none-any.whl
- Upload date:
- Size: 56.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896caaf78737d1bc2a55b1e20f922e87b7e690d291e2e11226a730264c1e212f |
|
MD5 | 3178fac1307bc00856a33d3042b0e083 |
|
BLAKE2b-256 | 9a9c455d73aef1cc4c70d8a26a0fbe7df7e814c08fdf9cef784e99fc264b0e0e |