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
Metadata
Release files for doc-datatypes 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| doc_datatypes-0.0.6.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| doc_datatypes-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / doc_datatypes-0.0.6.tar.gz
| Download URL | doc_datatypes-0.0.6.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be0de7245256176cc05f8e9b5d23e7c3c9e5f83c37364a644b0917d4e7aa71e8
|
|
BLAKE2b-256 checksum How to use checksums |
71e32037d1f953feb0ef620955568c58f8d9fff82cb0fca5133a82a773cb7cc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / doc_datatypes-0.0.6-py3-none-any.whl
| Download URL | doc_datatypes-0.0.6-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b4979be69a46991b6d07292b3cf437e6c8000ae0faf1d626fbc8821b8c5228c
|
|
BLAKE2b-256 checksum How to use checksums |
8189f5f901eb312fa1251f30481aeebf1031cee4185f93c0a1087987be00dd3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|