Recent Releases of instruct

instruct - Release 0.9.3

SHA2-256(instruct-0.9.3-py3-none-any.whl)= 9fa50de0fdbc4b0ea9cdeaff8f440692cb214eac7f898bb33ca70ccbb7879ad2
SHA2-256(instruct-0.9.3.tar.gz)= a6100489507945984848a52c4f9e391eba18dff446f6e361a4f8e368e6be0c90

- Python
Published by github-actions[bot] 11 months ago

instruct - Release 0.9.2

SHA2-256(instruct-0.9.2-py3-none-any.whl)= 17548c786b6d5bc1c1bce1de652a2e47f524028ec90f00fe54bbf5a8b550c07f
SHA2-256(instruct-0.9.2.tar.gz)= 032289308561f066247c62a653872ca292a00d0b539df4a0d785ea508fb40d6d

- Python
Published by github-actions[bot] about 1 year ago

instruct - Release 0.9.1

SHA2-256(instruct-0.9.1-py3-none-any.whl)= be79a444138205047d23ef2aef5101f9164990ecd73626ff6e7ce87db4e76600
SHA2-256(instruct-0.9.1.tar.gz)= 8e8d6f9ff8255c83cc91e8be849109d019b38c6a4912b6dbf2063db926435445

- Python
Published by github-actions[bot] about 1 year ago

instruct - Release 0.9.0

Released 2025-07-08

Compare with v0.8.6 (26 commits since)

Features

  • remove class keyword concrete_class fully in favor of contextvars.ContextVar approach (378680d by Autumn).
  • upgrade all files to 3.8 (25d2874 by Autumn).
  • drop 3.7 official support (8818c45 by Autumn).

Bug Fixes

  • remove unused field (78596a3 by Autumn).
  • format (a9e1c4b by Autumn).

Docs

  • update (a9d73c6 by Autumn Jolitz).
  • remove broken change logs (4d94f1e by Autumn).

Dependencies

  • update pre-commit-hooks (dc016c3 by Autumn Jolitz).

Style

  • fix ignore comments (30ed5e1 by Autumn Jolitz).

Chore

  • pass linter on __main__.py (ef815a6 by Autumn).
  • update copyright year (9795d2e by Autumn).

Build

  • set version to 0.9.0 (455acea by Autumn Jolitz).
  • remove changelog constraints, fix up changelog with release dates from PyPI (f88d342 by Autumn Jolitz).
  • fix setup to account for git's packed refs, add packaging to setup requirements (7330dba by Autumn Jolitz).
  • use newer commit as git log can't see the older commit (9828f81 by Autumn).
  • fix case where venv was not passing --devel/--tests (6cecebc by Autumn).
  • ignore __main__.py for pyupgrade (32bfcc7 by Autumn).
  • enforce py38+ typing (d32d3e0 by Autumn).
  • use 3.8 as lowest python (5b6a820 by Autumn).
  • set version to 0.8.7 (1d83ee5 by Autumn).
  • fix changes since url, CI output (b261284 by Autumn).
  • fix changelog generation (5ab995d by Autumn).

Other

  • feature!: remove type _parent in favor of fixed thunks on data classes pointing to parent and metaclass handling type level queries (7148644 by Autumn).
  • feature: correct typehints and implement slice/int array operations by default (76fb2f9 by Autumn).
  • feature: make use of deduplicate(...) (f944d91 by Autumn).
  • feature!: clean up, deprecate class kwargs that can clash with other impls (a53552f by Autumn).

Checksums

SHA2-256(instruct-0.9.0-py3-none-any.whl)= 09b3f844b438dffe303c3f4fbf9805dcc8d9863313dd63d76c46a15d5c09f626
SHA2-256(instruct-0.9.0.tar.gz)= 53398ae78a2265a9ed8c0ab5ca1ab035f60565876e3d8a0966e81d8542faed03

- Python
Published by github-actions[bot] about 1 year ago

instruct - Release 0.8.6

Released 2025-06-12

Compare with first commit (300 commits since)

Features

  • add AutoRepr (aka autorepr=True) (f6bfd79 by Autumn).

Checksums

SHA2-256(instruct-0.8.6-py3-none-any.whl)= cd822cfada425a65ae3ba2bc7c1d78b547615197a86079c001c542016174fd92
SHA2-256(instruct-0.8.6.tar.gz)= f65344507a18a58a8ea62117a64c27abd7bb4eb309cc587ea4cd99df3652bbd5

- Python
Published by github-actions[bot] about 1 year ago

instruct - Release 0.8.5

Released 2025-05-07

Compare with v0.8.4 (16 commits since)

Bug Fixes

  • satisfy both mypy and ruff for TypingDefinition (3e9e34a by Autumn).
  • apply pre-commit to all files (2184824 by Autumn).
  • satisfy mypy (51e7320 by Autumn).
  • ValidationError should operate on .errors as it is list[Exception] | tuple[Exception, ...] (6d544df by Autumn).

Checksums

SHA2-256(instruct-0.8.5-py3-none-any.whl)= b5304d7995bdff76fb7625f7f9668947cd85233096943783a853eb42fe6cb55f
SHA2-256(instruct-0.8.5.tar.gz)= 0822bac6611baa5133d0b2b1b473ad568e1055896cb1f19a5b74a0e5eb2a3dd3

- Python
Published by github-actions[bot] about 1 year ago

instruct - Release 0.8.4

Released 2024-07-30

Compare with v0.8.3 (2 commits since)

Bug Fixes

  • adjust copy_with to attempt to use __class_getitem__ as the fallback (2117a8d by Autumn).

Checksums

SHA2-256(instruct-0.8.4-py3-none-any.whl)= 27dedaf8a45564d615420341a34405f79d6cea0184ad6f893d96cf7757103d2e
SHA2-256(instruct-0.8.4.tar.gz)= 3c261cf8fe3155eac36876ab8298cd883d6e2af6c1562a7f30924311728de151

- Python
Published by github-actions[bot] almost 2 years ago

instruct - Release 0.8.3

Released 2024-07-30

Compare with v0.8.2 (13 commits since)

Bug Fixes

  • correct subtype generation for 3.10+ types.UnionTypes (50a7439 by Autumn).
  • add mode to benchmarking, refactor slightly (1e0e821 by Autumn).
  • fast=True now supports all event listener forms (9bf8489 by Autumn).
  • __main__ now can run benchmark again (67d59fd by Autumn).

Other

  • feature: implement simple type alias = hint (3.12+) (e9e0ac7 by Autumn).

Checksums

SHA2-256(instruct-0.8.3-py3-none-any.whl)= aa24a91d936b0ae8558a2104fac05f9c446f0ce217c42e6313e376a6dd249473
SHA2-256(instruct-0.8.3.tar.gz)= 92f5d01686237929c184944b4f29283b401fb09870fe62c79c1b09c95a91f5b3

- Python
Published by github-actions[bot] almost 2 years ago

instruct - Release 0.8.2

Release 2024-07-23

Bug Fixes

  • handle fixed tuples correctly (f1ab15f by Autumn).
  • use types.CodeType.replace(...) when available (0930b36 by Autumn).

Checksums

SHA2-256(instruct-0.8.2-py3-none-any.whl)= a959eeb50145404eef80a38b6a617693504305449b78c10abd7e73f23fe215c3
SHA2-256(instruct-0.8.2.tar.gz)= 8f1a9f2d1a982cc4036c4263bb4f945ac9761e9cd756046741482e5f2db33f83

- Python
Published by github-actions[bot] almost 2 years ago

instruct - Release 0.8.1

Release 2024-07-16

Bug Fixes

  • avoid raising an exception inside testing tuple structure for a custom type (bd4ce81 by Autumn).

Checksums

SHA2-256(instruct-0.8.1-py3-none-any.whl)= b3b3bb5c44aed1337759657d33b7f335bf67fd5b2920642345fd656d3b0aa728
SHA2-256(instruct-0.8.1.tar.gz)= 370daedae11f3272dab626815480aa07b02cacb2ed59db59935bbb43a111c563

- Python
Published by github-actions[bot] about 2 years ago

instruct - Release 0.8.0

Release 2024-07-10

Checksums

SHA2-256(instruct-0.8.0-py3-none-any.whl)= 0a6837a878ba098e286e62a7bc1ca95a248114ce72dcef9b1c6d9713cca485a2
SHA2-256(instruct-0.8.0.tar.gz)= 20975148cb91e2ca18ec5dafeacbe687c432c1b5228d17be87dd166201230c4d

- Python
Published by github-actions[bot] about 2 years ago

instruct - Release 0.8.0a1

Release 2024-06-27

Bug Fixes

  • exceptions will not list the stack in a json output (1981a23 by Autumn).
  • utils for 3.7 cannot specialize the WeakKeyDictionary, so guard behind TYPE_CHECKING (4238fa7 by Autumn).
  • satisfy type checker for non-3.12 (2ce45fd by Autumn).
  • added type hint for exceptions __json__ method (86c76ff by Autumn).
  • ignore mypy error from an attribute test (9a45b6b by Autumn).
  • tests post refactor (516c6ba by Autumn).
  • add git changelog helper (3100d65 by Autumn Jolitz).

Code Refactoring

  • add type hints, restructure to be more specific (5c56e5c by Autumn).

Other

  • Merge remote-tracking branch 'origin/master' into prerelease/0.8.0a0 (addca84 by Autumn).
  • remove: pytype overlay as it is not used (d88f86e by Autumn).
  • change: instruct/about.py will be structured for tuple comparisions like >= (0, 8, 0) (f95b321 by Autumn).
  • [README] try to make more friendly for github (3d4d145 by Autumn Jolitz).

Checksums

SHA2-256(instruct-0.8.0a1-py3-none-any.whl)= 0c5b06da405d136a2dc4ed83f4fa8da79b5e916bacb0b6edc1dfd8e7c5f9b3e2
SHA2-256(instruct-0.8.0a1.tar.gz)= f320bf423438245506e1a185e4f46b0355136db2b2e0f82a3dbb7a81d841ae52

- Python
Published by github-actions[bot] about 2 years ago

instruct - Release 0.8.0a0

.. |Changes|

Version 0.7.4

Release 2023-12-10

  • [.github] mess with development one (725005e <https://github.com/autumnjolitz/instruct/commit/725005ec0363e83857d1e308937e95e29cbe4d18>_ by Autumn Jolitz).
  • [*] refactor build, add invoke interface as my makefile (fd8e724 <https://github.com/autumnjolitz/instruct/commit/fd8e7245cddb2aa8c6f93f27a515a2c0ca5f0649>_ by Autumn Jolitz).
  • [README] add badges (b30a7bc <https://github.com/autumnjolitz/instruct/commit/b30a7bcd7344393a7c7fd94a383f30d5a85b4a6e>_ by Autumn).
  • [release] test before upload (4431408 <https://github.com/autumnjolitz/instruct/commit/44314086aeb1be094a2bdd2ef7fff7f645abaede>_ by Autumn).
  • [0.7.3.post1] bump version for pypi (ade6cd8 <https://github.com/autumnjolitz/instruct/commit/ade6cd882d2771f4abe9927e78614886f7f01ad6>_ by Autumn).
  • [*] Port instruct to newer Python versions (#3) (19c30b2 <https://github.com/autumnjolitz/instruct/commit/19c30b278c23cc63fadbbaeadc30409c15bce098>_ by Autumn Jolitz).

Version 0.7.3

Release 2023-07-18

  • add notes on use of Range and friends
  • Export RangeFlags from __init__
  • Unlock typing-extensions range

Version 0.7.2

Release 2022-05-13

  • Add dummy __iter__ to SimpleBase which addresses principal of least astonishment for an empty class

Version 0.7.1

Release 2022-05-13

  • Add devel to setup extras
  • export clear, reset_to_defaults
  • make _set_defaults first call the zero-init version, then cascade through the inheritance tree for any overrides
  • add default functions for empty classes, use __public_class__ for public_class calls
  • Remove fast_new in favor of using _set_defaults
  • Allow __public_class__ to be overridden in rare cases

Version 0.7.0

Release 2022-05-12

  • Add change log
  • Correct README example (it works!)
  • Correct bug where _asdict, _astuple, _aslist were not added to an empty class
  • Allow use of Annotation[type, ...others...] in type definitions
    • Support use of Range in a type Annotation to restrict the range of values allowed for a type
    • Support use of NoPickle, NoJSON, NoIterable to skip fields from pickling, JSON dumping and __iter__ respectively
      • _asdict/_astuple/_aslist will still return ALL values within an instruct-class.
    • The field _annotated_metadata on a class contains a mapping of field_name -> (...others...)
  • Correct a bug where Literal[Enum.Value] would erroneously allow a matching non-Enum value if the __eq__ on the Enum was overridden to allow it
    • We now check via is and on __eq__ checks we check the type as well to reject the wrong types
  • Upgrade to Jinja2 for the 3.x series!
  • Upgrade typing-extensions to 4.2.0
  • Mark support as Python 3.7+

- Python
Published by github-actions[bot] about 2 years ago

instruct - Release 0.7.5.post2

.. |Changes|

Version 0.7.4

Release 2023-12-10

  • [.github] mess with development one (725005e <https://github.com/autumnjolitz/instruct/commit/725005ec0363e83857d1e308937e95e29cbe4d18>_ by Autumn Jolitz).
  • [*] refactor build, add invoke interface as my makefile (fd8e724 <https://github.com/autumnjolitz/instruct/commit/fd8e7245cddb2aa8c6f93f27a515a2c0ca5f0649>_ by Autumn Jolitz).
  • [README] add badges (b30a7bc <https://github.com/autumnjolitz/instruct/commit/b30a7bcd7344393a7c7fd94a383f30d5a85b4a6e>_ by Autumn).
  • [release] test before upload (4431408 <https://github.com/autumnjolitz/instruct/commit/44314086aeb1be094a2bdd2ef7fff7f645abaede>_ by Autumn).
  • [0.7.3.post1] bump version for pypi (ade6cd8 <https://github.com/autumnjolitz/instruct/commit/ade6cd882d2771f4abe9927e78614886f7f01ad6>_ by Autumn).
  • [*] Port instruct to newer Python versions (#3) (19c30b2 <https://github.com/autumnjolitz/instruct/commit/19c30b278c23cc63fadbbaeadc30409c15bce098>_ by Autumn Jolitz).

Version 0.7.3

Release 2023-07-18

  • add notes on use of Range and friends
  • Export RangeFlags from __init__
  • Unlock typing-extensions range

Version 0.7.2

Release 2022-05-13

  • Add dummy __iter__ to SimpleBase which addresses principal of least astonishment for an empty class

Version 0.7.1

Release 2022-05-13

  • Add devel to setup extras
  • export clear, reset_to_defaults
  • make _set_defaults first call the zero-init version, then cascade through the inheritance tree for any overrides
  • add default functions for empty classes, use __public_class__ for public_class calls
  • Remove fast_new in favor of using _set_defaults
  • Allow __public_class__ to be overridden in rare cases

Version 0.7.0

Release 2022-05-12

  • Add change log
  • Correct README example (it works!)
  • Correct bug where _asdict, _astuple, _aslist were not added to an empty class
  • Allow use of Annotation[type, ...others...] in type definitions
    • Support use of Range in a type Annotation to restrict the range of values allowed for a type
    • Support use of NoPickle, NoJSON, NoIterable to skip fields from pickling, JSON dumping and __iter__ respectively
      • _asdict/_astuple/_aslist will still return ALL values within an instruct-class.
    • The field _annotated_metadata on a class contains a mapping of field_name -> (...others...)
  • Correct a bug where Literal[Enum.Value] would erroneously allow a matching non-Enum value if the __eq__ on the Enum was overridden to allow it
    • We now check via is and on __eq__ checks we check the type as well to reject the wrong types
  • Upgrade to Jinja2 for the 3.x series!
  • Upgrade typing-extensions to 4.2.0
  • Mark support as Python 3.7+

- Python
Published by github-actions[bot] over 2 years ago

instruct - Release 0.7.5

.. |Changes|

Version 0.7.4

Release 2023-12-10

  • [.github] mess with development one (725005e <https://github.com/autumnjolitz/instruct/commit/725005ec0363e83857d1e308937e95e29cbe4d18>_ by Autumn Jolitz).
  • [*] refactor build, add invoke interface as my makefile (fd8e724 <https://github.com/autumnjolitz/instruct/commit/fd8e7245cddb2aa8c6f93f27a515a2c0ca5f0649>_ by Autumn Jolitz).
  • [README] add badges (b30a7bc <https://github.com/autumnjolitz/instruct/commit/b30a7bcd7344393a7c7fd94a383f30d5a85b4a6e>_ by Autumn).
  • [release] test before upload (4431408 <https://github.com/autumnjolitz/instruct/commit/44314086aeb1be094a2bdd2ef7fff7f645abaede>_ by Autumn).
  • [0.7.3.post1] bump version for pypi (ade6cd8 <https://github.com/autumnjolitz/instruct/commit/ade6cd882d2771f4abe9927e78614886f7f01ad6>_ by Autumn).
  • [*] Port instruct to newer Python versions (#3) (19c30b2 <https://github.com/autumnjolitz/instruct/commit/19c30b278c23cc63fadbbaeadc30409c15bce098>_ by Autumn Jolitz).

Version 0.7.3

Release 2023-07-18

  • add notes on use of Range and friends
  • Export RangeFlags from __init__
  • Unlock typing-extensions range

Version 0.7.2

Release 2022-05-13

  • Add dummy __iter__ to SimpleBase which addresses principal of least astonishment for an empty class

Version 0.7.1

Release 2022-05-13

  • Add devel to setup extras
  • export clear, reset_to_defaults
  • make _set_defaults first call the zero-init version, then cascade through the inheritance tree for any overrides
  • add default functions for empty classes, use __public_class__ for public_class calls
  • Remove fast_new in favor of using _set_defaults
  • Allow __public_class__ to be overridden in rare cases

Version 0.7.0

Release 2022-05-12

  • Add change log
  • Correct README example (it works!)
  • Correct bug where _asdict, _astuple, _aslist were not added to an empty class
  • Allow use of Annotation[type, ...others...] in type definitions
    • Support use of Range in a type Annotation to restrict the range of values allowed for a type
    • Support use of NoPickle, NoJSON, NoIterable to skip fields from pickling, JSON dumping and __iter__ respectively
      • _asdict/_astuple/_aslist will still return ALL values within an instruct-class.
    • The field _annotated_metadata on a class contains a mapping of field_name -> (...others...)
  • Correct a bug where Literal[Enum.Value] would erroneously allow a matching non-Enum value if the __eq__ on the Enum was overridden to allow it
    • We now check via is and on __eq__ checks we check the type as well to reject the wrong types
  • Upgrade to Jinja2 for the 3.x series!
  • Upgrade typing-extensions to 4.2.0
  • Mark support as Python 3.7+

- Python
Published by github-actions[bot] over 2 years ago

instruct - Release 0.7.4

Version 0.7.4

Release 2023-12-09

  • Supported more Python versions and implementations:
    • Tier 1 support: CPython 3.8, 3.9, 3.10, 3.11, 3.12
    • Tier 2 support: PyPy 3.7, 3.8, 3.9
    • Tier 3 support: PyPy 3.10
  • Switched to a tag based release model
  • Add infrastructure for running tests

Version 0.7.3

Release 2023-07-18

  • add notes on use of Range and friends
  • Export RangeFlags from __init__
  • Unlock typing-extensions range

Version 0.7.2

Release 2022-05-13

  • Add dummy __iter__ to SimpleBase which addresses principal of least astonishment for an empty class

Version 0.7.1

Release 2022-05-13

  • Add devel to setup extras
  • export clear, reset_to_defaults
  • make _set_defaults first call the zero-init version, then cascade through the inheritance tree for any overrides
  • add default functions for empty classes, use __public_class__ for public_class calls
  • Remove fast_new in favor of using _set_defaults
  • Allow __public_class__ to be overridden in rare cases

Version 0.7.0

Release 2022-05-12

  • Add change log
  • Correct README example (it works!)
  • Correct bug where _asdict, _astuple, _aslist were not added to an empty class
  • Allow use of Annotation[type, ...others...] in type definitions
    • Support use of Range in a type Annotation to restrict the range of values allowed for a type
    • Support use of NoPickle, NoJSON, NoIterable to skip fields from pickling, JSON dumping and __iter__ respectively
      • _asdict/_astuple/_aslist will still return ALL values within an instruct-class.
    • The field _annotated_metadata on a class contains a mapping of field_name -> (...others...)
  • Correct a bug where Literal[Enum.Value] would erroneously allow a matching non-Enum value if the __eq__ on the Enum was overridden to allow it
    • We now check via is and on __eq__ checks we check the type as well to reject the wrong types
  • Upgrade to Jinja2 for the 3.x series!
  • Upgrade typing-extensions to 4.2.0
  • Mark support as Python 3.7+

- Python
Published by github-actions[bot] over 2 years ago