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.0.tar.gz
(25.7 kB
view hashes)
Built Distribution
Close
Hashes for slow_learner-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f59a31b6f6c677857e29c939bc6a557ada75967c3be1d267a0cb654158c3c4 |
|
MD5 | 16255a1992b7a19ca22e1b97332bbc86 |
|
BLAKE2b-256 | 4005cea4010748f62b6409791704eb566635fcf096dac7dd92091411aa4f29e4 |