Python type inference from a stream of data
Project description
slow-learner — python type inference tool
See also: post
A library and CLI to consume a stream of values (for CLI — JSON documents) and generate Python types describing it. Features:
- recursion into mappings and collections with generic types generation
- "structured dicts" are turned into
TypedDict
s by default - values with a small set of observed values are turned into
Literal
s
Installation
TBD
Usage
TBD
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slow_learner-0.1.2.tar.gz
(26.3 kB
view hashes)
Built Distribution
Close
Hashes for slow_learner-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a886a28011c19b4c50f6f927fa4829be711079a476e506ee3980ea9af86e13 |
|
MD5 | bd61e8967dc3e4ddda905894eb280809 |
|
BLAKE2b-256 | b9483c3cae22b4b80c3a8fec249d3a7a254e57d42ca827ce754ac6aed3fab1d2 |