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

Version bump (0.3.3)

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

Bugfix: Had incorrect behavior when check_types=False

3c6815e137c755df3f2ea4604d7f8c1337147f4a authored over 1 year ago by Erez Shinan <[email protected]>
Bugfix: Had incorrect behavior when check_types=False (due to Required mechanism)

655a2d01bbd7b379a754144fc7ee1a48960755cc authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #28 from erezsh/may2023

May 2023 - More refactoring

5b8c82253205cc3187f1e3ae36f9186f646624e2 authored over 1 year ago by Erez Shinan <[email protected]>
Docs: Attempt to fix 2

82a67027ca0e7c5fc8f81dc0452aa3fd3d77657a authored over 1 year ago by Erez Shinan <[email protected]>
Docs: Attempt to fix

c98344ba10e8b10f427629f88176dfadcdc84220 authored over 1 year ago by Erez Shinan <[email protected]>
Refactor, small improvements

381798ea60b16fd1d2a4ab364ad86721de0624fa authored over 1 year ago by Erez Shinan <[email protected]>
A tiny addition when casting to float

85bbe7a91dc24239433ed64f42a70dd33fa5dfb6 authored over 1 year ago by Erez Shinan <[email protected]>
Version bump (0.3.2)

3656cf5c8b9375619ec0c567b25640136105f45e authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #26 from erezsh/cleanup_apr17

Clean up based on Ruff

ed2d61144b2241de12fcc57cb3ce35ec53ebaca9 authored over 1 year ago by Erez Shinan <[email protected]>
Clean up based on Ruff

334328357bbeb8d235e3ae2c6af3254154eb875d authored over 1 year ago by Erez Shinan <[email protected]>
Merge pull request #25 from erezsh/cv_type_checking

Added cv_type_checking context var

a667b5a46ca362121cd63849e06aec44950afcb9 authored over 1 year ago by Erez Shinan <[email protected]>
Tests: Added test for cv_type_checking

a7f458e4895e92c2b169c222b03dc80baf4d29fe authored over 1 year ago by Erez Shinan <[email protected]>
Add pytest config

d7cc47f23a2f83f55eee5ba66f514005b35f246b authored over 1 year ago by Erez Shinan <[email protected]>
Added cv_type_checking context var

e3d197dfc55f862a17eb51e607d70cd31994cef2 authored over 1 year ago by Erez Shinan <[email protected]>
Bugfix for OneOf comparisons

a40746211d115aebbdaa0d8bf2a5610a21485fe4 authored almost 2 years ago by Erez Shinan <[email protected]>
Merge pull request #22 from erezsh/literal_cmp

Improve OneOf comparisons and its interaction with Union

349db618829a3c67efe7ab83beb833deb6844b23 authored about 2 years ago by Erez Shinan <[email protected]>
Tests: Skip test if no Literal (<3.8). For 3.8, avoid testing Literal[True] bug

ffdde1f39bbfdcd6c6fa1bd41d6a73ac1e200273 authored about 2 years ago by Erez Shinan <[email protected]>
Improve OneOf comparisons and its interaction with Union

2b3f5936f145e1b63a4deb17175beb7a2bd68997 authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #21 from erezsh/annotated

Added support for typing_extensions.Annotated

532bb2ec594f4c1f81a628d31732473f568e3f96 authored about 2 years ago by Erez Shinan <[email protected]>
Fix for Python 3.6

c767797e2f16ee340082d9e9c7aedc618d5d3174 authored about 2 years ago by Erez Shinan <[email protected]>
Test typing_extensions in CI

eb982e418b4b0c80b5f925dfc21b6fedf5c78f46 authored about 2 years ago by Erez Shinan <[email protected]>
Added support for typing_extensions.Annotated (no other typing_extensions support)

f713eaf74bebaf0cd57799a0c8bca173be15a8d8 authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #20 from erezsh/annotated

Add support for typing.Annotated (Issue #19)

e09d00313fc04f06f0fd4cf88c945f81896a8549 authored about 2 years ago by Erez Shinan <[email protected]>
Add support for typing.Annotated (Issue #19)

75f7c4fbdc6eea1b11e0b9cf8ee8d78ba6c8490a authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #18 from erezsh/py311

Tests: Add 3.11 to the tests

ea5740105b8c11d59911b61c9f3dd5f94df1e32e authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #17 from erezsh/issue15

Implement <= between two OneOf instances (Fix for issue #15)

d21d4f7b89d3e48cc044bc5b85a6705d48f865fd authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #13 from erezsh/dec12

dataclass: Test is_a before calling cast.

1a689cceb0977a9261c44721481619fbc63506c6 authored about 2 years ago by Erez Shinan <[email protected]>
Fix

36a1dcdc91d7d9bff03d7da48c44be167b54b92d authored about 2 years ago by Erez Shinan <[email protected]>
Tests: Add 3.11 to the tests

38ee04f1527943cbe36fa6fdc7df0efc23eac949 authored about 2 years ago by Erez Shinan <[email protected]>
Implement <= between two OneOf instances (Fix for issue #15)

bc36d4c2049372fb79269691f8c4cef6fa5a9ec4 authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #16 from erezsh/issue14

Bugfix: No longer changing ForwardRef._evaluate, that interfered with…

115d9011842477f4b07c5a36ad29f69a860d8ac2 authored about 2 years ago by Erez Shinan <[email protected]>
Fix Github shenanigans

37bc641649effeddff523549b8726f66dd2abe54 authored about 2 years ago by Erez Shinan <[email protected]>
Bugfix: No longer changing ForwardRef._evaluate, that interfered with other libraries (Issue #14)

54db83d72e95c0d2effae476d7aca53f2d983593 authored about 2 years ago by Erez Shinan <[email protected]>
Fix github shenanigans

ea1cbbb773b602cdfa43ffd7f8a025988b0d8695 authored about 2 years ago by Erez Shinan <[email protected]>
dataclass: Test is_a before calling cast.

8e6647995218eaa82e0d71aac8dac5d6e130e43f authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #12 from erezsh/pep681

Added support for PEP 0681 - dataclass_transform

00c9f7a1b63fafeffc3d0c8c63788fa75d5c18d3 authored about 2 years ago by Erez Shinan <[email protected]>
Added support for PEP 0681 - dataclass_transform

14197e93d999992c5a1e7f482ddd0e9a07ad20c6 authored about 2 years ago by Erez Shinan <[email protected]>
Dataclass: Setting attr (when frozen=False) can now cast & sample, and has better error messages

1fc4745cb4c5c753e45bd87c60c5305ea3dea705 authored about 2 years ago by Erez Shinan <[email protected]>
Minor version bump (0.3.1)

ee87d38be653c32badf1b8fc02cb377e2e0c8a94 authored about 2 years ago by Erez Shinan <[email protected]>
Dataclasses: Fix auto-optional for frozen=False

63866cce10b2bf441850c12aa965fa71adcbe489 authored about 2 years ago by Erez Shinan <[email protected]>
Major version bump

3cf4aecd82ffaa71411ba0319ba21ee12535612c authored about 2 years ago by Erez Shinan <[email protected]>
Update README

644e9a49318885bc0b59ad014da7c39a714ac804 authored about 2 years ago by Erez Shinan <[email protected]>
Merge pull request #10 from erezsh/forward_ref

Added support for forward-references in dataclasses

fe56e0d17e7c1e9373f2beb3c4a597c6afb17726 authored about 2 years ago by Erez Shinan <[email protected]>
Fix for Python 3.8 and lower

533c507494c60023624f20e8e0335312299e05a3 authored over 2 years ago by Erez Shinan <[email protected]>
Tests private cache for dataclass forward-refs

533541d36d102c813e92ab5895b344d9ee0b9b5a authored over 2 years ago by Erez Shinan <[email protected]>
Added support for forward-references in dataclasses

2f63e2765a11776adc7cd5b24326a86bbceeef1d authored over 2 years ago by Erez Shinan <[email protected]>
Merge pull request #11 from erezsh/oct9

Several minor fixes

a98a5a8254409f5c39d86ffde3232c7870376192 authored over 2 years ago by Erez Shinan <[email protected]>
Tests CI: Fix how poetry is installed

848f34273526fce205b48d60b945c6851e386489 authored over 2 years ago by Erez Shinan <[email protected]>
Improve TypeMismatchError messages

160168bad270cfefa6fdbb3ec66cbe9d9a2708b7 authored over 2 years ago by Erez Shinan <[email protected]>
Merge pull request #9 from erezsh/aug12

Dispatch() can now be used in 'with'; more tests

a5fec56410f00613712626d30f6108574dac3daf authored over 2 years ago by Erez Shinan <[email protected]>
Remove test values due to old Python version

d296bcc75d80d59a2ceeb5fe0dc10841261db311 authored over 2 years ago by Erez Shinan <[email protected]>
Dispatch() can now be used in 'with'; more tests

c62fc7427fdf009a624f367a88b854c76b7a61ab authored over 2 years ago by Erez Shinan <[email protected]>
Version bump (0.2.7)

707ccba1d0e0346276d6cc8e6d8fa8c1d61db195 authored over 2 years ago by Erez Shinan <[email protected]>
Fix for TupleType

1fce0b9ae9dfd05423dcbd8d0f92a64f715e95ac authored over 2 years ago by Erez Shinan <[email protected]>
Added mypy plugin

3a939e73c6389672b3df67fe41a6be9223de4023 authored over 2 years ago by Erez Shinan <[email protected]>
Version bump (0.2.6)

61e34eaa7a250263bcb798d794b8c0599eb243d6 authored over 2 years ago by Erez Shinan <[email protected]>
Fix for Python3.6 (typing.Type)

b59c0a0ac79e687c7e726ff20109523b139a6fec authored over 2 years ago by Erez Shinan <[email protected]>
Version bump (0.2.5)

f3a3725dc285e00b55d431c250e2f2a20074e7d6 authored over 2 years ago by Erez Shinan <[email protected]>
Added support for Sequence[]; partial support for Type[]

a3c0fc5c02f2f8e315aec647018150a88478d9a8 authored over 2 years ago by Erez Shinan <[email protected]>
Added py.typed

e6abf6e0f483c213ad1dced73c025ccf63fcd686 authored over 2 years ago by Erez Shinan <[email protected]>
base_types: Small fix

4aeaa2239b198bd91fb0f547645cd332cdee06fe authored over 2 years ago by Erez Shinan <[email protected]>
Tiny add to tests

def693e04201e36c2156f28cb81d7a6fc8f347c4 authored over 2 years ago by Erez Shinan <[email protected]>
Tiny fix

9fcb1770a5cd6f86138a9c8615ac5cac86aea4c1 authored almost 3 years ago by Erez Shinan <[email protected]>
Bugfix: json() now recurses into builtin Python collections (list, dict, etc.; issue #7)

7393b8cfbc075f4f11486761d400e880ff610017 authored almost 3 years ago by Erez Shinan <[email protected]>
Merge pull request #8 from erezsh/slots

Dataclass: Added support for automatic __slots__ using slots keyword

50d903d1a9c7868e055709b716be06acc1e9d6e7 authored almost 3 years ago by Erez Shinan <[email protected]>
Slots fix for older Python versions

bfc6822af9b8c9693702626f28518fc54c3901ce authored almost 3 years ago by Erez Shinan <[email protected]>
Tests: Added tests for slots

cf1f895a2537815cddf921b732372088c9595761 authored almost 3 years ago by Erez Shinan <[email protected]>
Fix: No longer providing slots keyword to Python

c7ac76855acbf54e723d185fc7d7f4375f5e2e86 authored almost 3 years ago by Erez Shinan <[email protected]>
Dataclass: Added support for automatic __slots__ using slots keyword

cc61fca558503e8c9d74eb2781dbd80fead1d936 authored almost 3 years ago by Erez Shinan <[email protected]>
Typing: A few updates to appease mypy

79e8cc33057c3917da9ad53adcd6458bc7033cc2 authored about 3 years ago by Erez Shinan <[email protected]>
Better support for type canonization (set, frozenset, ..)

6ea7ca1a6e249c50f42a2f43d90f902607b14fb0 authored about 3 years ago by Erez Shin <[email protected]>
Added logo

e85e5a59f5a79989d9689082c14b68357447f31f authored about 3 years ago by Erez Sh <[email protected]>
Oops! Forgot to add utils.py

18552423c2b853949a89b807bed67fc3962126f9 authored about 3 years ago by Erez Sh <[email protected]>
Version bump to 0.2.4

54c1c7184c5cf6b6e21b318f090484cb4038ecc2 authored about 3 years ago by Erez Sh <[email protected]>
Improve error in validate_func

27449b7e7fd23e14453da778ff6ebf264029ac84 authored about 3 years ago by Erez Sh <[email protected]>
Added the validate_func decorator. Added support for Tuple[t, ...]

bff7ca806c97658bdd860f5083f72057326704d1 authored about 3 years ago by Erez Sh <[email protected]>
Fix tuple validation (Issue #6)

b251aff31bcc249d901898f4e4c092c6a6c2f5a4 authored about 3 years ago by Erez Sh <[email protected]>
Added docs for custom casts

61a6f2f11390de053eb75247ec809fe642a53282 authored over 3 years ago by Erez Sh <[email protected]>
Added support for custom casts, using cast_from on user classes

dcd1f100d1befa24e3cc98594d51fc39e8c401b1 authored over 3 years ago by Erez Sh <[email protected]>
Version bump

6c8bbe4aa729e81e53d5d6c97a9ef2366e288237 authored over 3 years ago by Erez Sh <[email protected]>
Bugfix: Using dataclasses.field messed with default handling

fb5d20c48d90d7fdb62a2f8dc7940858a3443109 authored over 3 years ago by Erez Sh <[email protected]>
Some refactoring; Added comments

045253de64da144dc1788022b4c21f0c7175b36a authored over 3 years ago by Erez Sh <[email protected]>
Added install instructions for ArchLinux

566c20d0cc8f7c1eea57f99ea72564028a0ef9e0 authored over 3 years ago by Erez Sh <[email protected]>
Small fix for PhantomGenericType

dcf90e65dafab70c3b21f42d4576816c6dc0267f authored over 3 years ago by Erez Sh <[email protected]>
Version bump

7f88682ce6c1d6a7ca8c1d4caac209194c2af2b6 authored over 3 years ago by Erez Sh <[email protected]>
Added support for sampling

7bf3d3026e692f1bb28b4723a5faa267673211c6 authored over 3 years ago by Erez Sh <[email protected]>
Small improve to README, docs

7a282c0e84209ab8521b25464a8f604e81549c1b authored over 3 years ago by Erez Sh <[email protected]>
Added docs about casting

e028fe733610a1d12a7f92564ed28761e234865b authored over 3 years ago by Erez Sh <[email protected]>
Fix for iter

88d47f9087b52f48e8f5654b69fe02bec6d9b0ca authored over 3 years ago by Erez Sh <[email protected]>
Fix README

aa1589572d07ae949be0aa145b1242f1b2df525e authored over 3 years ago by Erez Sh <[email protected]>
Improved docs

648d5669317dd689c05e19583a9a9895529cdeeb authored over 3 years ago by Erez Sh <[email protected]>
Added use of abc; Updated docs

faddecd44941331a1a6eecf4aaf31bca0752cb52 authored over 3 years ago by Erez Sh <[email protected]>
Refactor Validator and Constraint into base_types

7e7bb5177e1c8e5b3fcb4bba9c58ec1c451d317a authored over 3 years ago by Erez Sh <[email protected]>
Refactor + Better docs

47b04eea0617f0511bdfb539b6aadeabaeddaa1c authored over 3 years ago by Erez Sh <[email protected]>
Fixed README

f84173415ce17eb7ec6edc33a766bd51bcf4d003 authored over 3 years ago by Erez Sh <[email protected]>
Better readme + docs fixup

f79bce27cb9198b1485d8e576a432fa7d5a1af9b authored over 3 years ago by Erez Sh <[email protected]>
Fix for mapping in 3.6

8d88ad23809be4e33b20753b89390c828ef0f0fe authored over 3 years ago by Erez Sh <[email protected]>
Added a few tests

8f0c7d2239d08472a2ec9df8d90ab30e485879b4 authored over 3 years ago by Erez Sh <[email protected]>
Added a few tests

a98a2c1fa03ca2161355974bde62cc75b31c6701 authored over 3 years ago by Erez Sh <[email protected]>