fqr.core.typ package¶
Core typing modules.
- class string(**kwds)¶
Bases:
str,Generic[StringType]Generic
strprotocol.- capitalize(**kwds)¶
Helper for @overload to raise when called.
- casefold(**kwds)¶
Helper for @overload to raise when called.
- center(**kwds)¶
Helper for @overload to raise when called.
- expandtabs(**kwds)¶
Helper for @overload to raise when called.
- format(**kwds)¶
Helper for @overload to raise when called.
- format_map(mapping) str¶
Return a formatted version of S, using substitutions from mapping. The substitutions are identified by braces (‘{’ and ‘}’).
- join(**kwds)¶
Helper for @overload to raise when called.
- ljust(**kwds)¶
Helper for @overload to raise when called.
- lower(**kwds)¶
Helper for @overload to raise when called.
- lstrip(**kwds)¶
Helper for @overload to raise when called.
- partition(**kwds)¶
Helper for @overload to raise when called.
- replace(**kwds)¶
Helper for @overload to raise when called.
- removeprefix(**kwds)¶
Helper for @overload to raise when called.
- removesuffix(**kwds)¶
Helper for @overload to raise when called.
- rjust(**kwds)¶
Helper for @overload to raise when called.
- rpartition(**kwds)¶
Helper for @overload to raise when called.
- rsplit(**kwds)¶
Helper for @overload to raise when called.
- rstrip(**kwds)¶
Helper for @overload to raise when called.
- split(**kwds)¶
Helper for @overload to raise when called.
- splitlines(**kwds)¶
Helper for @overload to raise when called.
- strip(**kwds)¶
Helper for @overload to raise when called.
- swapcase(**kwds)¶
Helper for @overload to raise when called.
- title(**kwds)¶
Helper for @overload to raise when called.
- translate(table: lib.builtins._TranslateTable, /) string[StringType] | string[lib.t.Any]¶
Replace each character in the string using the given translation table.
table Translation table, which must be a mapping of Unicode ordinals to Unicode ordinals, strings, or None.
The table must implement lookup/indexing via getitem, for instance a dictionary or list. If this operation raises LookupError, the character is left untouched. Characters mapped to None are deleted.
- upper(**kwds)¶
Helper for @overload to raise when called.
- zfill(**kwds)¶
Helper for @overload to raise when called.
- class NoneType¶
Bases:
object
- Typed¶
alias of
SupportsAnnotations
- UnionGenericAlias¶
alias of
UnionType
Subpackages¶
- fqr.core.typ.utl package
- Submodules
- fqr.core.typ.utl.check module
get_args()get_checkable_types()expand_types()is_array()is_array_type()is_bool_type()is_date_type()is_datetime_type()is_field()is_field_type()is_immutable_type()is_literal()is_mapping()is_mapping_type()is_none_type()is_number_type()is_object()is_params_type()is_primitive()is_serialized_mapping()is_typed()is_typevar()is_union()is_variadic_array_type()is_wrapper_type()
- fqr.core.typ.utl.hint module
- fqr.core.typ.utl.check module
- Submodules
Submodules¶
- fqr.core.typ.cfg module
- fqr.core.typ.lib module
- fqr.core.typ.obj module
stringstring.capitalize()string.casefold()string.center()string.expandtabs()string.format()string.format_map()string.join()string.ljust()string.lower()string.lstrip()string.partition()string.replace()string.removeprefix()string.removesuffix()string.rjust()string.rpartition()string.rsplit()string.rstrip()string.split()string.splitlines()string.strip()string.swapcase()string.title()string.translate()string.upper()string.zfill()
ArrayProtoMappingProtoMetaLikeObjectLikeSupportsAnnotationsSupportsParamsVariadicArrayProto
- fqr.core.typ.typ module
stringstring.capitalize()string.casefold()string.center()string.expandtabs()string.format()string.format_map()string.join()string.ljust()string.lower()string.lstrip()string.partition()string.replace()string.removeprefix()string.removesuffix()string.rjust()string.rpartition()string.rsplit()string.rstrip()string.split()string.splitlines()string.strip()string.swapcase()string.title()string.translate()string.upper()string.zfill()
NoneTypeOptionalGenericAliasTypedUnionGenericAlias