Tim Rid
ae440407e9
- renamed "TStructField" to "field" and "TUnionField" to "ufield". This makes the dataclass definitions shorter and more readable.
...
- removed "Opt" and "List" because they are not necessary any more, because covariant is now included for ParsedType.
- added test with typing.List as field
- fix: changed dict to typing.Dict
2021-03-16 18:51:04 +01:00
Tim Rid
084c39a1ff
removed unused type ignore
2021-03-13 17:54:06 +01:00
Tim Rid
d0a31458a8
added covariant and contravariant from PR #1
2021-03-13 17:49:03 +01:00
Tim Rid
667ee5c7d3
changed "typing.ByteString" to "bytes" in the annotations, because it is equivalent according to the documentation of "typing.ByteString".
2021-03-13 13:00:43 +01:00
Tim Rid
318c5b0a67
arrow is now also typed, so the type ignore is unnecessary
2021-03-13 12:51:09 +01:00
Tim Rid
fd590cf019
incremented version to v0.2.0
2021-02-21 00:23:36 +01:00
Tim Rid
94185cf1de
added link to pypi
2021-02-21 00:17:51 +01:00
Tim Rid
05fa2acafb
fixed requirements.txt
2021-02-21 00:17:20 +01:00
Tim Rid
b6016554cc
adapted the "TContainerBase" to the "TContainer" of construct v2.10.61 based on an OrderedDict
2021-02-21 00:13:45 +01:00
Tim Rid
8957eaeede
updated stubs for construct==2.10.61
2021-02-20 23:52:06 +01:00
Tim Rid
246a7d3910
added two offsets for each element
2021-02-20 22:11:10 +01:00
Tim Rid
57d843171e
added __getattr__ to TStruct
2021-02-20 21:50:50 +01:00
Tim Rid
a4741e2bf2
new setting in TStruct: "add_offsets"
2021-02-20 21:42:39 +01:00
Tim Rid
e902748656
removed unused 'type: ignore'
2021-01-24 17:59:37 +01:00
Tim Rid
8be150b090
adding also values that are not part of the dataclass to the "TContainer" while parsing
2021-01-24 17:49:39 +01:00
Tim Rid
419353c712
strip trailing new lines in documentation
2021-01-10 13:33:02 +01:00
Tim Rid
6900b37acd
fixed things that are complained by pyright
2021-01-10 13:31:56 +01:00
Tim Rid
5f8a6b310d
Incremented version to v0.1.1
2021-01-04 21:28:37 +01:00
Tim Rid
cbcae90e58
Merge branch 'main' of https://github.com/timrid/construct-typing into main
2021-01-04 21:26:36 +01:00
Tim Rid
703d5a8638
added missing attributes of the constructs
2021-01-04 21:26:23 +01:00
timrid
2a562c94cd
Create python-publish.yml
2021-01-03 14:05:23 +01:00
Tim Rid
c0bd93d680
removed unnessesary file
2021-01-03 13:34:47 +01:00
Tim Rid
127e95fec5
Merge branch 'timrid-patch-1' of https://github.com/timrid/construct-typing into timrid-patch-1
2021-01-03 12:56:04 +01:00
Tim Rid
53ab48a1ea
incremented version to 0.1.0
2021-01-03 12:55:45 +01:00
Tim Rid
3531a7e4cd
- updated README.md and setup.py
2021-01-03 12:55:26 +01:00
timrid
b4f697541b
Update main.yml
2021-01-03 12:35:58 +01:00
Tim Rid
950538b43d
updated README.md
2021-01-03 12:33:00 +01:00
Tim Rid
4c4bf74fd3
fixed some python 3.7 and numpy issues
2021-01-03 12:32:41 +01:00
Tim Rid
ed63f7fc93
Merge branch 'timrid-patch-1' of https://github.com/timrid/construct-typing into timrid-patch-1
2021-01-03 11:54:29 +01:00
Tim Rid
3d74c99718
fixed type error
2021-01-03 11:54:11 +01:00
timrid
f0f25822a0
Update main.yml
2021-01-02 23:45:46 +01:00
timrid
4940526cbc
Update main.yml
2021-01-02 23:41:02 +01:00
Tim Rid
753b2deaf3
Merge branch 'main' into timrid-patch-1
2021-01-02 23:37:25 +01:00
Tim Rid
a9d0cf0347
Merge branch 'timrid-patch-1' of https://github.com/timrid/construct-typing into timrid-patch-1
2021-01-02 23:36:33 +01:00
Tim Rid
f5a3565f3e
added stubs for LazyStruct, LazyListContainer, LazyArray, LazyBound
...
fixed bug in test_typed.py
2021-01-02 23:35:45 +01:00
Tim Rid
a41e7fc1c0
updated README.md
2021-01-02 23:12:45 +01:00
Tim Rid
58837eaf41
updated README.md
2021-01-02 23:05:30 +01:00
Tim Rid
7b91810e71
shorten name and removed name conflicts with the normal construct package
2021-01-02 23:04:19 +01:00
Tim Rid
764102a80a
Removed TArray. Instead created TypeAlias "List".
2021-01-02 22:38:18 +01:00
Tim Rid
8ed38ddb5a
fix
2021-01-02 21:36:02 +01:00
Tim Rid
95f00eeeb7
TContainerBase optimisation
2021-01-02 21:35:28 +01:00
Tim Rid
f3a2fd94d0
fixed some mypy issues
2021-01-02 21:31:26 +01:00
timrid
354fdb094c
Update main.yml
2021-01-02 18:49:39 +01:00
timrid
13b2c280ea
Update main.yml
2021-01-02 18:46:07 +01:00
timrid
338eb21f0d
Update main.yml
2021-01-02 18:11:03 +01:00
Tim Rid
9c2908055c
correction
2021-01-02 18:09:32 +01:00
timrid
21f5374007
created github workflow
2021-01-02 18:01:07 +01:00
Tim Rid
cd9188dc66
added requirements.txt
2021-01-02 17:57:07 +01:00
Tim Rid
aa453f29a7
fixed mypy and pytest errors
2021-01-02 17:54:52 +01:00
Tim Rid
a17f62bf0e
modified README.md
2021-01-02 15:38:42 +01:00