Welcome to xotl.tools’s documentation!¶
Collection of disparate utilities.
xotl.tools
is essentially an extension to the Python’s standard library,
it does not make up a full framework, but it’s very useful to be used from a
diversity of scenarios.
What’s new in 2.1.11¶
This release marks the last release of the series of 2.1.x. We simply don’t have the manpower to keep many branches at the same time.
Implement
xotl.tools.objects.memoized_property
usingfunctools.cached_property
in Python 3.8+.Implement
xotl.tools.objects.classproperty
by composingclassmethod
andproperty
in Python 3.9+.Update
xotl.tools.modules.moduleproperty()
to call__set_name__
on the base property if available.Comparing quantities of different dimensions (
xotl.tools.dim
) no longer raises a TypeError, but returns NotImplemented.For
==
this means that Python will return False. For other comparison operators (<
,<=
, etc.), if Python cannot reverse the operation, it raises a TypeError.Deprecates module
xotl.tools.cli
. This module hasn’t been maintained for long and there are better alternatives in out there (e.g click).Correct the name of
xotl.tools.dim.base.Pressure
, previously it was mistyped missing asPresure
.
Contents¶
xotl.tools.bases
- Numeric base 32 and base 64 integer representationsxotl.tools.bound
– Helpers for bounded execution of co-routinesxotl.tools.cli
– Command line application facilitiesxotl.tools.clipping
- Object string representation protocolxotl.tools.context
- Simple execution contextsxotl.tools.cpystack
- Utilities to inspect the CPython’s stackxotl.tools.crypto
- Other cryptographic servicesxotl.tools.decorator
- Several decoratorsxotl.tools.deprecation
- Utils for marking deprecated elementsxotl.tools.dim
- Facilities to work with concrete numbersxotl.tools.fp
– Functional Programming in Pythonxotl.tools.fs
– file system utilitiesxotl.tools.future
- Extend standard modules with “future” featuresxotl.tools.infinity
- An infinite valuexotl.tools.keywords
– Tools for manage Python keywords as namesxotl.tools.modules
– Utilities for working with modulesxotl.tools.names
– Utilities for handling objects namesxotl.tools.objects
- Functions for dealing with objectsxotl.tools.params
– Tools for managing function argumentsxotl.tools.progress
- Console progress utilsxotl.tools.records
- Records definitionsxotl.tools.string
- Common string operationsxotl.tools.symbols
– Logical valuesxotl.tools.tasking
– Task oriented tools.xotl.tools.testing
– Utilities testingxotl.tools.validators
– value validatorsxotl.tools.values
– coercers (or checkers) for value typesxotl.tools.web
– Utils for Web applications- Package
xoutil
- Changelog
- How to contribute to
xotl.tools
- List of contributors
- Copyright and Licence