https://github.com/havocesp/typext
Enhanced Python builtin types
https://github.com/havocesp/typext
builtin extension library module python types
Last synced: about 1 year ago
JSON representation
Enhanced Python builtin types
- Host: GitHub
- URL: https://github.com/havocesp/typext
- Owner: havocesp
- License: unlicense
- Created: 2017-11-23T16:08:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-05T03:03:11.000Z (over 1 year ago)
- Last Synced: 2025-04-07T16:09:40.100Z (about 1 year ago)
- Topics: builtin, extension, library, module, python, types
- Language: Python
- Size: 46.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
from typext import install
install()
# conversion
a = 100
a.cstr() # '100'
# iterables
l = [1, 2, 3]
l.empty() # False
```