Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 437 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 437 Bytes

Typext

New methods for some builtin types like int, str, dict, list, ...

Description

This module adds some useful methods to builtin types.

Thanks to https://github.com/clarete/forbiddenfruit for make this possible.

Reqirements

  • frobiddenfruit
  • py-term
  • requests

Usage

from typext import install

install()

# conversion
a = 100
a.cstr() # '100'


# iterables
l = [1, 2, 3]
l.empty() # False