str2type

Convert a string representation of an int, float, None, True, False, or JSON to its native type. For None, True, and False, case is irrelevant.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install str2type

Dependencies

  • None

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.4.1 2015-04-28  
0.4.0 2015-04-28  
0.3.1 2015-02-10  
0.3.0 2015-02-10  
0.2.0 2015-02-06  
0.1.3 2015-01-27  
0.1.2 2015-01-27  
0.1.1 2015-01-24  
0.1.0 2015-01-23  

Issues with this package?

Page last updated 2026-05-13 07:27:01 UTC