Dict with documentation _-_
Project description
doc_datatypes
Installation
git clone git@github.com:Kel0/doc_dict.git
pip install doc-datatypes
Usage
Documentable list
from doc_datatypes.mutable_datatypes import DocumentedList
my_list: DocumentedList = DocumentedList(
[1, 2, 3], ["First", "Second", "Third"]
)
my_list_2: DocumentedList = DocumentedList(
[[1, "First"], [2, "Second"], [3, "Third"]]
)
Documentable dict
from doc_datatypes.mutable_datatypes import DocumentedDict
my_dict: DocumentedDict = DocumentedDict(
{"name": "Alex"}, {"name": "Name field"}
)
my_dict_2: DocumentedDict = DocumentedDict(
{"name": "Alex", "name_doc": "Name field"}
)
To get more info see tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
doc_datatypes-0.0.6.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for doc_datatypes-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b4979be69a46991b6d07292b3cf437e6c8000ae0faf1d626fbc8821b8c5228c |
|
MD5 | 9e90175f8cb078fc6ce5ed4e31189a1a |
|
BLAKE2b-256 | 8189f5f901eb312fa1251f30481aeebf1031cee4185f93c0a1087987be00dd3b |