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 details)
Built Distribution
File details
Details for the file doc_datatypes-0.0.6.tar.gz
.
File metadata
- Download URL: doc_datatypes-0.0.6.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0de7245256176cc05f8e9b5d23e7c3c9e5f83c37364a644b0917d4e7aa71e8 |
|
MD5 | 13e8da17c476d27106a63be95bd7b01c |
|
BLAKE2b-256 | 71e32037d1f953feb0ef620955568c58f8d9fff82cb0fca5133a82a773cb7cc7 |
File details
Details for the file doc_datatypes-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: doc_datatypes-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b4979be69a46991b6d07292b3cf437e6c8000ae0faf1d626fbc8821b8c5228c |
|
MD5 | 9e90175f8cb078fc6ce5ed4e31189a1a |
|
BLAKE2b-256 | 8189f5f901eb312fa1251f30481aeebf1031cee4185f93c0a1087987be00dd3b |