Data types 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.5.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for doc_datatypes-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d55d099dbf4310703a99ca10fe314dfccb8a9e1b88a4793118cb9f8b288b2ef3 |
|
MD5 | 9c792a2d628761d815842071ac268679 |
|
BLAKE2b-256 | a6b219f95ffbb5ae5364af7889e844bd1f67242655d9399dc44ba4d1c2e05dfb |