Skip to main content

Python TBX - Toolbox Library

About

Python Toolbox aka TBX is a collection of very different tools created over the years to simplify my coding. As a library, this has no purpose by itself and should be used by other projects.

Project url : https://github.com/ronhanson/python-tbx

Description

The library contains several unrelated tool collections :

  • tbx.bytes - Byte 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

    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 helpers

    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 - 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.

Author & Licence

Copyright (c) 2010-2015 Ronan Delacroix

This program is released under MIT Licence. Feel free to use it or part of it anywhere you want.

Metadata

Release files for tbx 1.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tbx 1.9.4
File Size Uploaded Provenance
tbx-1.9.4.tar.gz 30.1 kB Without provenance Details

Release files / tbx-1.9.4.tar.gz

Download URL tbx-1.9.4.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ca39eec4ca1a8908c09a1953dea42cb323684dd11dc1e4e577ced72e0476e34e
BLAKE2b-256 checksum
How to use checksums
b4f103388b15d3837b211ccc7b208cb4b756a95896926a39bfc4db9d8588240d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for tbx 1.9.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.9.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page