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.1.tar.gz
(26.2 kB
view hashes)
Built Distribution
Close
Hashes for slow_learner-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e73190232202971c4b4f5a1b9c684ed7232f32a4cbd525cfd6fc3986154b4c7 |
|
MD5 | 895f1de06ccb5363d071c8eb05e23c60 |
|
BLAKE2b-256 | 6e675e312c077125d0949e68ba68a4009a034919a2507a2fc5540af838d666a7 |