some helper functions from nic's gist
Project description
Helpers
various helpers from nic gist
from nicHelper.wrappers import add_method
Install
pip install nicHelper
How to use
add method to a class
class A:
pass
@add_method(A)
def printHello(self):
print('hello')
A().printHello()
hello
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
nicHelper-0.0.2.tar.gz
(10.1 kB
view hashes)
Built Distribution
nicHelper-0.0.2-py3-none-any.whl
(10.7 kB
view hashes)
Close
Hashes for nicHelper-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795e47857b0d369356495c7c3f1963fcfa2af7cc3487f0d04e05117f465669c3 |
|
MD5 | 1eb22135020f5994eb96043391b237bd |
|
BLAKE2b-256 | 8c9b43943db50ffc2307f4d76984bb2ade5a52ff06e9f1e96e40fa4e3e268a3a |