Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/erezsh/runtype

Utilities for run-time type validation and multiple dispatch
https://github.com/erezsh/runtype

Merge pull request #56 from erezsh/dev

Added support for typing.IO, TextIO, BinaryIO

af59a92be076e68bd1907322aa04aab08a05d6f2 authored 10 months ago by Erez Shinan <[email protected]>
Added support for typing.IO, TextIO, BinaryIO

9cc39a9ef7cb7ac0b588be26e16520a5937831b9 authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #55 from erezsh/fix_callable

Implement callable generic with correct variance

86014ebf8397919686c235ee25ed0abf32e68cb0 authored 10 months ago by Erez Shinan <[email protected]>
Fix callable for Python 3.6 (why do I still support it?)

6c3a6db52b3e650585459d2ed4abc7c36d430196 authored 10 months ago by Erez Shinan <[email protected]>
Implement callable generic with correct variance

3d079dccfe4063a97ead1bca42194d0ee71e3fd2 authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #54 from erezsh/variance

Implement Variance. List and Dict are now invariant!

7cd863de5faadd7e561c1ac233498e68b892de93 authored 10 months ago by Erez Shinan <[email protected]>
pytypes: Refactor generics

8149a998f965ef4cd5f61ae9627ae48ac6b8a990 authored 10 months ago by Erez Shinan <[email protected]>
Fix tests to accord with variance; Test dict invariance

667de712789092c1670f42016cf42f9816f2ceed authored 10 months ago by Erez Shinan <[email protected]>
Implemented variance. List and Dict are now invariant!

0f7d5fdce5b59e40d1d47677744db8a9cb4d7216 authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #53 from erezsh/dev

Bugfix in dataclass when frozen=False; Add docs detailing typing support

d7e3fd3bf2bca26e957bbd4c311363b727d5960e authored 10 months ago by Erez Shinan <[email protected]>
Docs: Added details of typing support

d8c90ac2d3fd94b115585412e9ff70e42734c0e7 authored 10 months ago by Erez Shinan <[email protected]>
Bugfix in unfrozen dataclass, when casting into None

184e9dd798fde0fb2fd7bcb0303e616de6c04ca4 authored 10 months ago by Erez Shinan <[email protected]>
Updated README

704baf4c59d849a1f39023bd5ccd8c9bf1d1a30b authored 10 months ago by Erez Shinan <[email protected]>
Docs: Attempt to fix readthedocs

c62e7ba4fbb25dd6c85a32cc08c39e2a99ceaf59 authored 10 months ago by Erez Shinan <[email protected]>
Docs: Attempt to fix readthedocs

aaa099c6f52bee65b1242efa90844952ab2923f9 authored 10 months ago by Erez Shinan <[email protected]>
Docs: Attempt to fix readthedocs

4702968cf094da107daf0715f7ff380fd2abe568 authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #51 from erezsh/dev

Added benchmarks (code + docs + plot)

cb28318d4b3d3072e3211d204c80a511c9613355 authored 10 months ago by Erez Shinan <[email protected]>
Update docs

f22be50c581b84d1f729f8d06558384e9ceb6318 authored 10 months ago by Erez Shinan <[email protected]>
Docs: Added benchmarks page + plot

050b08c8527ced658a92e522b79705cf23e5deac authored 10 months ago by Erez Shinan <[email protected]>
Added benchmarks

585a457644ae1b47c2cda666f74fed528b97d101 authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #50 from erezsh/dev

Big optimizations

d274e994d05a7e5c93569c60f99f4c2ff0afb049 authored 10 months ago by Erez Shinan <[email protected]>
Dispatch optimization. Now runs ~20% faster (not properly benchmarked)

620f4189a60aab846805172e8a140a6615c08ce8 authored 10 months ago by Erez Shinan <[email protected]>
Big optimization boost: Implemented all test_instance methods

- Whenever possible, validate_instance now uses test_instance (was other
way around)
- Special...

8026264739e4090d23f632e187525f87b5fcb28f authored 10 months ago by Erez Shinan <[email protected]>
Dispatch: Deprecate the test_subtypes option

026c5c04f6c8309a44a99b9d2a29dd2844b5d9a0 authored 10 months ago by Erez Shinan <[email protected]>
Fix tests for old version..

72018f643cce99d46ae8d363ba63d131768f0b31 authored 10 months ago by Erez Shinan <[email protected]>
is_subtype: Fix for ellipsis tuple

84baed3c1752f33ed449c21ce9480d442132c29f authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #34 from erezsh/base_types_using_dispatch

Refactor base_types to use dispatch (WIP)

452fa1e2ef7a66e71df31f65bd7a427268d36c10 authored 10 months ago by Erez Shinan <[email protected]>
Add docstrings and comments, and ran black

2e0eb5e844234196672493ef8989f0d25fe70085 authored 10 months ago by Erez Shinan <[email protected]>
Types: Converted all __eq__, __le__, and __ge__ methods into dispatched funcs

0c0fc61548c29911bca58726d72fac47b1c6a2b1 authored 10 months ago by Erez Shinan <[email protected]>
Dispatch: Fix function recall for priority by delaying ambiguity resolution

032282117c3e5d930bbc848f3835d2de11fafb08 authored 10 months ago by Erez Shinan <[email protected]>
Dispatch: Users can now specify a priority for each dispatched function

Higher priority functions will be chosen in case of ambiguous dispatch.
Most specific functions ...

55170f1d8e38895fb00a1ec797b0b67d914b9609 authored 10 months ago by Erez Shinan <[email protected]>
Dispatch: Better error on ambiguity (don't show irrelevant candidates)

eecc5216948bd19820af1d30663825c516647564 authored 10 months ago by Erez Shinan <[email protected]>
Merge pull request #49 from erezsh/dev

Small fixes

186087a8a1f4cca4d0f94447e1ec0989e5d2dcf0 authored 10 months ago by Erez Shinan <[email protected]>
Fix handling of Any in sumtypes

edcb3d6fbb1bd635a167c743eca2e685e50e4078 authored 10 months ago by Erez Shinan <[email protected]>
Added a test for dispatch on None (instead of type(None))

7de340531ee94430da0381b16903722db96f0966 authored 10 months ago by Erez Shinan <[email protected]>
Tiny refactor

133c8685d763b137da5350636111fdf4b9cbc7d7 authored 10 months ago by Erez Shinan <[email protected]>
Version bump (0.4.2)

5415e03957dc0c996f2e595de15d5ecd196a7b29 authored 12 months ago by Erez Shinan <[email protected]>
Comment out benchmark dependencies; throws poetry into a loop

74885631b8c7d916fc21c87c798d35ff880ade18 authored 12 months ago by Erez Shinan <[email protected]>
Merge pull request #48 from erezsh/dec2023

Various fixes to pytypes + typesystem

5985e97c40123418741bc37fa5c128c6aacf247f authored 12 months ago by Erez Shinan <[email protected]>
pytypes: Added None as a to_canon type

803a8f50e435e70efbdec8f54412379a4d63ac5a authored 12 months ago by Erez Shinan <[email protected]>
type system: Fix for Any type

c5f0898c509827d66acdd4ae443f993ddd312941 authored 12 months ago by Erez Shinan <[email protected]>
pytypes: Added Bool

a67d0f5ad412cadbe82b115086e0c6945f60f179 authored 12 months ago by Erez Shinan <[email protected]>
Merge pull request #47 from erezsh/dec2023

Fixes for typesystem (mostly around handling of Any)

b4c051945b5cb2537763ce3b4fb2ac389291e728 authored 12 months ago by Erez Shinan <[email protected]>
Fixes to typesystem, with tests

d89cf87998f18c1ad56c78ec30be7fc9b234bb90 authored 12 months ago by Erez Shinan <[email protected]>
Fix pyproject.toml; Added a test

baa18d9bde18ea01b6cd9a578d96efca537dc425 authored 12 months ago by Erez Shinan <[email protected]>
Version bump

e70dbc4318275031e8e250c8822aeca89d660b9f authored about 1 year ago by Erez Shinan <[email protected]>
Update __all__

f7a422d0a0ed4175701f6ea5de3376aba3571f17 authored about 1 year ago by Erez Shinan <[email protected]>
Merge pull request #46 from erezsh/dev

types: fix for tuple <= sequence

5bea984d4bfef471b55c5347c7c78a358863a682 authored about 1 year ago by Erez Shinan <[email protected]>
types: fix for tuple <= sequence

85834eca6cf3382c8ac3d497ef18df02ab984422 authored about 1 year ago by Erez Shinan <[email protected]>
Docs: Small fixes

6ec7b0e70ff421f9cb82a3ec58cc32fce5dcfeba authored about 1 year ago by Erez Shinan <[email protected]>
Version bump (0.4.0)

2c0fcacfcada7ad398fffb89bbdd1220e44b13c5 authored about 1 year ago by Erez Shinan <[email protected]>
Merge pull request #44 from erezsh/dev

Fix following PR #36 (reported by @KokeCacao)

89ab330b5840aeadae8ea7727e48f6ac2cbb9879 authored about 1 year ago by Erez Shinan <[email protected]>
Fix following PR #36 (reported by @KokeCacao)

885e0419c4730f201c8b94436a2bae57d8e06849 authored about 1 year ago by Erez Shinan <[email protected]>
Merge pull request #43 from erezsh/dev

Deprecate iter(dataclass_instance), which was a confusing behavior.

6b9267853f886c43b537a96a85ea7d5476b8636d authored about 1 year ago by Erez Shinan <[email protected]>
Deprecate iter(dataclass_instance), which was a confusing behavior.

f18cc4608343abd16e24dd2f525ca7f07e9bbe83 authored about 1 year ago by Erez Shinan <[email protected]>
Merge pull request #42 from erezsh/dev

Added multidispatch singleton decorator, and multidispatch_final

68917e8060dea2d6a2055b90af437abf0ee6e6ad authored over 1 year ago by Erez Shinan <[email protected]>
Docs: Update to use the multidispatch singleton

e84de1a150fac6183709d157c8e40d5a3f499034 authored over 1 year ago by Erez Shinan <[email protected]>
Added multidispatch singleton decorator, and multidispatch_final

3fe142834320f0dc46a918cbc499681e42ce0c3a authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #41 from erezsh/typing_type

Validation: Added support for typing.Type

fa15cd9d9325d25a85b78d973a1f294ca95ca83a authored over 1 year ago by Erez Shinan <[email protected]>
Fix tests

b3cf4c87a3efacfcb853be2dbc9eb04ba189e5ea authored over 1 year ago by Erez Shinan <[email protected]>
Validation: Added support for typing.Type

d702f086ec7b892fef685473e85f461bbc3713bb authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #40 from erezsh/sep20_performance

Performance improvements

c09b54aac11877efbf0906b1a6802cf1c6ebf9d8 authored over 1 year ago by Erez Shinan <[email protected]>
Tests: Small update to pyproject.toml

248af684d864d9b1c09273a75e404faef9f7c668 authored over 1 year ago by Erez Shinan <[email protected]>
Performance: Improve speed of isa

b335f559c018b8d3d9fcc14b68a64321b1edf0e8 authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #39 from erezsh/sep12_2023

Fix: Added support for typing.Mutable* and more

be8aee3584dcdc62a3b0c653276bfc0b3e92eba6 authored over 1 year ago by Erez Shinan <[email protected]>
Fix: Added support for typing.Mutable* and more

e42c0a8db3b7dae1a5774260dc248c8154d8b93a authored over 1 year ago by Erez Shinan <[email protected]>
Update README

49b4abfa594ffee264a67ca48c70c5e40bb6e2b5 authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #37 from erezsh/dev

refactor + added documentation for mypy support to dispatch

ef839571844e39b9447368af2a6a9e32403eb413 authored over 1 year ago by Erez Shinan <[email protected]>
Small fix for 3.6

15bcc22dc03a5004c6010cac1e08fd20e241fa7e authored over 1 year ago by Erez Shinan <[email protected]>
Docs: added documentation for mypy support

1a87aa91458a6fa10fb7320d51d17d40d907435e authored over 1 year ago by Erez Shinan <[email protected]>
refactor

a86c68dcf9a5a9e22f71c2ca7ca4d79fb9d3dbf8 authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #36 from erezsh/dev

Fix for tuple[x, ...]; Fix for comparing generic types; support for types.UnionType

22f5ea08fc6773daa8af27f7e2ad01996c97d580 authored over 1 year ago by Erez Shinan <[email protected]>
Fix for Python3.7/8

f8406fef243f5f93022dee3f0b5dac11af041217 authored over 1 year ago by Erez Shinan <[email protected]>
Fix for Python < 3.10

d26424447ad71a280ba25728e2064dfb221e3302 authored over 1 year ago by Erez Shinan <[email protected]>
Fix for tuple[x, ...]; Fix for comparing generic types; support for types.UnionType

51dc223cbcfb35b77c365a8618099305d22d8519 authored over 1 year ago by Erez Shinan <[email protected]>
README + docs

f152c762f394b3234b8a64c15bef54cad935c947 authored over 1 year ago by Erez Shinan <[email protected]>
README: Better examples

b0c442ffdc98b3d28cf695df23a04d5b0aa90314 authored over 1 year ago by Erez Shinan <[email protected]>
Version bump (0.3.5)

c5f94f5ced832376b75b019d46a903e9316d464f authored over 1 year ago by Erez Shinan <[email protected]>
Docs: Better dispatch example

316e20dcac8a1cd99899242da4a7922fcae2cff3 authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #33 from erezsh/dev

Better tests and small fixes

0c6f2e8863aeb3f73fd19e7621e9331f04f96dc3 authored over 1 year ago by Erez Shinan <[email protected]>
Better tests coverage + small fixes

f070f6bb1c1f4ae39906383949cc5ab124ddc633 authored over 1 year ago by Erez Shinan <[email protected]>
Better tests coverage

7d852d1724e4691e3c7357cfbfc0643e7cdaa32c authored over 1 year ago by Erez Shinan <[email protected]>
Added support for time, date, and timedelta, including casts

68f1b599172924c6f79136e0a8e81a44ac33edd2 authored over 1 year ago by Erez Shinan <[email protected]>
comment

e7d0ff8202aead60376eef367e0c857e10b5a4a9 authored over 1 year ago by Erez Shinan <[email protected]>
Improve test coverage

81c285d9dc68584451e3749a06f6166eae5a84d7 authored over 1 year ago by Erez Shinan <[email protected]>
Dataclass: added asdict() method

f9466928131df9890fd6cac0098da13804258907 authored over 1 year ago by Erez Shinan <[email protected]>
Update README

53e810fbfa601e60cb3ba0787efcb02c3e1983b9 authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #32 from erezsh/dataclass_init_dispatch

Feature: dispatch now works with dataclass `__init__`, adding to builtin implementation instead ...

a7f6de33debacfa9d17175cf9ea2b5c7b2f0e9ec authored over 1 year ago by Erez Shinan <[email protected]>
Added README example regarding new feature (dispatching on __init__)

38892915f9b51779915c8f4fd4058b2b756671d9 authored over 1 year ago by Erez Shinan <[email protected]>
Feature: dispatch now works with dataclass __init__ (issue #24)

73d38f73479f9ab6b5e5de15b285b19f7497f82d authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #31 from erezsh/dev

Better typing and dataclass support

d14952ffaa6757cb3360a103198ea3f080096fd5 authored over 1 year ago by Erez Shinan <[email protected]>
Merge branch 'master' into dev

9d1f732f98174c4894fc8f42f5e5bd97b8abb5cb authored over 1 year ago by Erez Shinan <[email protected]>
Bugfix in dataclasses.field defaults

67b1804434238a3dd4d4ccaed5b719d1b6634ffa authored over 1 year ago by Erez Shinan <[email protected]>
Better mypy support for @dataclass

8057dfa3020a85f074c8100ba063d11c31823a7e authored over 1 year ago by Erez Shinan <[email protected]>
Added mypy typing info

2441862d9b1ff316eac74a5495efb15fd302316a authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #30 from erezsh/dev

Better Mypy support

2b43221be3585fdc6b9b299c5439adc2218c8b33 authored over 1 year ago by Erez Shinan <[email protected]>
Better mypy support

55a6942d785d8304839f7e9ee417e4de14e7dc4d authored over 1 year ago by Erez Shinan <[email protected]>
Added mypy typing info

9fcf4245978b002511bc71cffdb2b1ae6b9c8032 authored over 1 year ago by Erez Shinan <[email protected]>
Added mypy typing info

23fa0073884eda9283f45002d48c7ad9f2417ad4 authored over 1 year ago by Erez Shinan <[email protected]>
Version bump (0.3.4)

a878b82b98bb42f207e680b6ec5ac831b915a83d authored over 1 year ago by Erez Shinan <[email protected]>