Python Toolbox Library. Collection of useful tools and snippets.
Project description
## Author & Licence
Copyright (c) 2010-2015 Ronan Delacroix
This program is released under [MIT Licence](LICENCE.txt).
## Goal
This library is a collection of very different tools created over the years. As a library, this has no purpose by itself and should be used by other projects.
## Description
The library contains several unrelated tool collections :
tbx.bytes : bytes manipulation
Allows encoding and decoding of various formats.
tbx.code : useful coding tools
Singleton, method documentation parsing, module lazy-load, serializable object, etc.
tbx.file : file manipulation functions.
Recursive file listing, linux based unzip/untar/etc.
tbx.ftp : FTP Server helpers.
Server creation helpers, event handlers. Based on awesome pyftpdlib.
tbx.log : Logging helpers.
Helps with logging configuration from settings file.
tbx.network : Network helpers.
Provides a dummy socket client and a get_local_ip_address function.
tbx.process : Multiprocessing helpers.
Provides a versatile “execute” function, but also a daemonize function, and some more.
tbx.sequential : File sequence detection.
Provides useful detection of file sequence.
tbx.service : Service helper.
A class allowing to build a small loop based service in no time.
tbx.settings : Settings helpers.
Allows to easily retrieve and validate settings file.
tbx.snmp : SNMP helpers.
Small helper to send a snmp request throught pysnmp.
template : Templating helpers.
Provides useful helpers for Jinja templating system.
tbx.text : Useful collection of text manipulation tools.
Includes dict to XML/HTML/Text functions. Provides a simple sendmail method and miscellaneous text related methods.
tbx.env_settings : environment based settings
Deprecated
##Usage
Just look at the code as it is commented for your to understand its usage.
No big doc made yet. This is more of a personal collection of snippets and tools.
But if somebody is interested or requests it, I will make a better doc.
##Compatibility
This libraries are used most on Linux and OSX systems, but plenty of functions may work on windows.
This libraries are compatibles with Python 2.X and Python 3.X.
Mainly tested on 2.7 and 3.4.
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
Built Distribution
Hashes for tbx-1.3.1b.macosx-10.10-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c6d313ccc9477937643f7e6c27c5071ee25a56382521240dedd5b1d0bbbef2 |
|
MD5 | 8294a56914faf7864fbd84193753da15 |
|
BLAKE2b-256 | 58a3a36a0f121f73390a76d144516c519cebab46ad859db155fb56ac1fe79d48 |