Python Toolkit
Project description
TKR - Python Toolkit
Allow python developers to easily manage classes, methods, and more!
Installing
# Linux/macOS
python3 -m pip install -U tkr
# Windows
py -3 -m pip install -U tkr
Development Version:
$ git clone https://github.com/toolkitr/tkr
$ cd tkr
Simple Examples
import tkr
def tkr_tool_test() -> list:
return tkr.ToolProxy
mytool = tkr.Tool(
name="mytool",
description="Simple tool example",
version="0.0.1",
method=tkr_tool_test
)
print(mytool.name, mytool(), mytool.version)
# Get tool by name
print(tkr.byname("mytool").id)
Getting code or content from git repo:
import tkr
from tkr.ext import tests
# Defaults to test/README.md which provides info on the latest testing files.
driver: tests.Driver = tests.Driver(path='/abc/_tool.py', folder='tkr')
print(driver)
Links
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
tkr-0.1.9.post5.tar.gz
(11.8 kB
view hashes)
Built Distribution
tkr-0.1.9.post5-py3-none-any.whl
(12.7 kB
view hashes)
Close
Hashes for tkr-0.1.9.post5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6334d3cd98b5c6c4234fb21aab15e9a341002188f7218660285275494fb9ca07 |
|
MD5 | e7e6a1feacd60f1199891d61a67a678e |
|
BLAKE2b-256 | 3aa90839290625515b3f0ce8346c03c6c7221f0012e5b8428903d9b62deb03b8 |