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

Remove use of staticclass

e78381c01ab992cbb4c013d765e603de1ec1e032 authored about 3 years ago by Erez Sh <[email protected]>
Updated docs

d052756e025efbb83f17675a8de4081ca259b11b authored about 3 years ago by Erez Sh <[email protected]>
Oops

4f8aa873bb4cbaa1f0295b4dc7505b6fd5aaf09e authored about 3 years ago by Erez Sh <[email protected]>
Updated readthedocs.yml

cf5edd6aad2caaa718b3a31d98709d461248a122 authored about 3 years ago by Erez Sh <[email protected]>
Tiny change

1ec56480b25385ca811c1bfbb770f7e084510888 authored about 3 years ago by Erez Sh <[email protected]>
Oops: Forgot to add staticclass

2d71c3a8f4b462bbfa8dcdb72e6225c63decbb41 authored about 3 years ago by Erez Sh <[email protected]>
Added docs/ folder

4991733567bcfa681186adf8db52a7caf36fc02e authored about 3 years ago by Erez Sh <[email protected]>
Towards sphinx: Moving to RST; Added more docstrings

6c8f6f6111510b510649e438bff1448adf0753b0 authored about 3 years ago by Erez Sh <[email protected]>
Refactored dataclass (backwards incompatible); Improvedd dataclass documentation

e0cfa0d899ee8c7bbc472849b70a988d8864474e authored about 3 years ago by Erez Sh <[email protected]>
Version bump

5893df85d0486d3e48a862776a96926edf4eeb26 authored about 3 years ago by Erez Sh <[email protected]>
Added datetime_parse.py (oops!)

811b94bf2042b595139bd4db5cdf276d2810fb96 authored about 3 years ago by Erez Sh <[email protected]>
Update README.md

6e719a573b4ecbbeeec04b04f82169f85ad05cf7 authored about 3 years ago by Erez Shinan <[email protected]>
Updated README

c6963c4db295bc41aacce91a14c36605f18d763c authored about 3 years ago by Erez Sh <[email protected]>
Added CHANGES.md

79e57d72b2a24d9932ae368df3922e9d87d7c5e3 authored about 3 years ago by Erez Sh <[email protected]>
Version bump to 0.2.0

16f9cff748f5d970b2d52302a5a69762a3c50d3c authored about 3 years ago by Erez Sh <[email protected]>
Added support for datetime

90f6480dbd30015529f3e79d182555d341511cdc authored about 3 years ago by Erez Sh <[email protected]>
Added support for required keyword (i.e. without a default value, after defaults are already specified)

f72b777957916fb935a9f372fa0dc36ef713e17f authored about 3 years ago by Erez Sh <[email protected]>
Refactor cast_from for even better performance

0b9c90448db64d41a6905fe10359d2b1bfcaf44b authored about 3 years ago by Erez Sh <[email protected]>
Optimize cast from None

8d341171ee159138f305b135c4c5be326ff30642 authored about 3 years ago by Erez Sh <[email protected]>
Refactor into PythonType.cast_from

fce107aade43bc16de4a5d9781f20e447b1d55b6 authored about 3 years ago by Erez Sh <[email protected]>
Small optimization. Perhaps not the best approach

9506c5161a50ac4175dbf50e9aa16bd71b3dbf41 authored about 3 years ago by Erez Sh <[email protected]>
Refactor

789a3e2a13776a37aa64ca3ad467a103a054d956 authored about 3 years ago by Erez Sh <[email protected]>
Added casting within dicts

5ec654b027159de7990ad90cc5c62cb92c63ed37 authored about 3 years ago by Erez Sh <[email protected]>
Add more casts

c02772f6386db128782395ba7fbdc10e335e112c authored about 3 years ago by Erez Sh <[email protected]>
Small refactor + fix

3fa7610f02fa9f1e6f3f30b68a2d9bd24476d99d authored about 3 years ago by Erez Sh <[email protected]>
Fix: Constraint type now works with casting

419041e9917e944132539e6c8a4b4bd574c5377d authored about 3 years ago by Erez Sh <[email protected]>
Added functionality for int constraints (min/max)

93fda03b9f1e8420e5f5356662619d540f423685 authored about 3 years ago by Erez Sh <[email protected]>
String: Added min_length option

f8fb9f6f1f15fbb11d07f87f1fc8ef0bc07634d3 authored about 3 years ago by Erez Sh <[email protected]>
Refactored ensure_isa -> Configuration. Fixed a bug.

2a19bdacfed1787b331faa59d0079be39ed8d9d2 authored about 3 years ago by Erez Sh <[email protected]>
Added support for auto Optional by defaulting to None; Better support for casting dicts

c9ebf1cfaac23895fea6b7e43f78b7cd4591ca93 authored about 3 years ago by Erez Sh <[email protected]>
Added initial support for constraints

1a93663a2de6265ce61a1f5e522f49ca9f6bf31c authored about 3 years ago by Erez Sh <[email protected]>
Merge pull request #3 from erezsh/better_types

dd1ce00ddd25183771b06768ccd9a399e2264ada authored about 3 years ago by Erez Shinan <[email protected]>
Cleanup and reformatting

e26a6f381b117bced3cbfcab81b5bbaf159cbd26 authored over 3 years ago by Erez Shinan <[email protected]>
Added PhantomType

3c3d896ed471bf48dbacdec7e0a36134168745a3 authored over 3 years ago by Erez Sh <[email protected]>
Small fix in repr

49d5fbb811e749f665276d0a6d790903ff64e718 authored over 3 years ago by Erez Sh <[email protected]>
GenericType is now a subclass of ContainerType

166d0473bc3c511afc872b72b5c670d97d7d3e5c authored over 3 years ago by Erez Sh <[email protected]>
Added ContainerType + more tests

dc7d9350b35a74f38af47d81564eed468ea326ba authored over 3 years ago by Erez Sh <[email protected]>
types: More refactoring

a92886956bb6c626f4d9ea618b9843e8b846305d authored over 3 years ago by Erez Sh <[email protected]>
types: Flattened ProductType when using *

168efbd3cd7764c4838e9370c2e774eac4b372e3 authored over 3 years ago by Erez Sh <[email protected]>
types: Refactored validate_instance into pytypes.py

789d2ee9d5af37783566ace26d246804b382ddc6 authored over 3 years ago by Erez Sh <[email protected]>
Refactored Type and friends into base_types.py

f625391316ca730651cc71f8882f55b7d69e950a authored over 3 years ago by Erez Sh <[email protected]>
Refactored types to use PythonDataType, thereby gaining more generality

f8ec71ac365a21bf652020beae9e8af539000a31 authored over 3 years ago by Erez Sh <[email protected]>
Version Bump

1dba6937b81b50126089502580e70444670e0e40 authored over 3 years ago by Erez Sh <[email protected]>
Bugfix. Oops!

053a85a5cc8c8bb08ccdbcd025eb0b4838571bf1 authored over 3 years ago by Erez Sh <[email protected]>
Version Bump

47b9ff3a79a837d3ce86cd5574ca76df96825776 authored over 3 years ago by Erez Sh <[email protected]>
Try to fix poetry for 3.10

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

5d67f090c0902b232e7e340fa65de2aa8531980b authored over 3 years ago by Erez Sh <[email protected]>
Test on more versions

f0ee2a7056cfd2a57f227bbca23c974099b7fb6e authored over 3 years ago by Erez Sh <[email protected]>
Version Bump

47743f8a303214448537566a5e46e9964dd8710a authored over 3 years ago by Erez Sh <[email protected]>
Fix types

453bdb668407b9ef0e6c4f68e28e8a3ea8e63a0f authored over 3 years ago by Erez Sh <[email protected]>
Fix types

184400319f365c73c84eb698dbfdce51b81704e9 authored over 3 years ago by Erez Sh <[email protected]>
Fix types

4ff02fb23491c6f8145fc01a3414011c86c9e200 authored over 3 years ago by Erez Sh <[email protected]>
Version Bump

e81b36ea053182cd1fcb61092dd3ad628ec715c9 authored over 3 years ago by Erez Sh <[email protected]>
Dataclasses: Added support for assigning default mutables

086bd178faea564aee166203792bdb1f62afd9d2 authored over 3 years ago by Erez Sh <[email protected]>
Dataclasses: Added support for auto-casting from dicts; Added .json() method

975287bf389ff62fabc3222fff0d886bd51191ce authored over 3 years ago by Erez Sh <[email protected]>
Removed codecov; it was failing for bad reasons

3032af6a865f87c077e5e0881dff4575fc2d8377 authored over 3 years ago by Erez Sh <[email protected]>
Version Bump

1aa35a2cf2f073193f268d4ec735b7d39ec297ef authored over 3 years ago by Erez Sh <[email protected]>
Better handling for unions and tuples; added test_subtypes

ee0cd24dfb78a9341e1386e711a553df637ff048 authored over 3 years ago by Erez Sh <[email protected]>
Tests: Added more

a202d4aff0b1c615077e6aba37f60522ccea223f authored over 3 years ago by Erez Sh <[email protected]>
Tests: Added more

f7f861a825fd7a2bd592d9b1a9743f88a233071d authored over 3 years ago by Erez Sh <[email protected]>
Tests: Tiny add

4c35ce62ad89cb5455a26f62502dd5f72c421c03 authored over 3 years ago by Erez Sh <[email protected]>
Small bugfix + more tests

9caa97a7f9028dc753419a57c9355c45966f09ff authored over 3 years ago by Erez Sh <[email protected]>
Code cov: Another attempt

03e189eecb99affd76db0b11e5e03fb67e300915 authored over 3 years ago by Erez Sh <[email protected]>
Code cov: Use poetry to run pytest

6ad31272be780ccac11cbeddbe4de2fe65d900e5 authored over 3 years ago by Erez Sh <[email protected]>
Code cov: Oops, bad indent

87980a3bd3a506b2b281b58669bdac08d3825fb8 authored over 3 years ago by Erez Sh <[email protected]>
Code cov: Added poetry flow to fix 3.6

25356863af0de2b65e65a2dab9323e27f195af9e authored over 3 years ago by Erez Sh <[email protected]>
Tests: Added more

5fed32e2d2ce58c58b3096d805803cbadc4a11ec authored over 3 years ago by Erez Sh <[email protected]>
Cleanup + add multi-version coverage

51072a879606238ea3894dca5a19a07dcf0583ac authored over 3 years ago by Erez Sh <[email protected]>
Code coverage: Updated path to file

edc9390da46451920216b1b76e946a4666f8daea authored over 3 years ago by Erez Sh <[email protected]>
Tests: now compatible with pytest

3d5e2e9479a6c50233ceb67a950f2713824e6b8f authored over 3 years ago by Erez Sh <[email protected]>
Github actions: Added codecov

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

9bf73de1795bb44735bfa976283a5232187656ce authored almost 4 years ago by Erez Sh <[email protected]>
Added support for 'set' and 'frozenset'

196934822a05bdbd597442bac687b8dba38115d6 authored almost 4 years ago by Erez Sh <[email protected]>
Version bump (bugfix)

603ae72c0adda4ca09967ae3d102ad808f5dbe24 authored almost 4 years ago by Erez Sh <[email protected]>
Bugfix: Switched arguments in message

47fe90d8443bc643b5bf42e2c4d6b766e670f1e2 authored almost 4 years ago by Erez Sh <[email protected]>
Version bump. Dacite not needed

5d5045ecdb8e45d861756ae0168cc0ab028b1fc3 authored almost 4 years ago by Erez Sh <[email protected]>
Version bump

4c1b9589654ad86cd5d29d7056f7a3e720b05b9b authored almost 4 years ago by Erez Sh <[email protected]>
Added example to README

b9b207821c6749424cac756fecbcc50b9c12f87f authored almost 4 years ago by Erez Sh <[email protected]>
Bugfixes for Python 3.6 & 3.7

b0bc24eee3bb1562cb07ee606a23e21e35a60fe3 authored almost 4 years ago by Erez Sh <[email protected]>
Added support for Literal, Mapping, collections.abc

4bb3502e572adfbd19cc5d515f8a6cb5c4d034db authored almost 4 years ago by Erez Sh <[email protected]>
Merge pull request #1 from erezsh/better_isa

2e4c4412a60c6363898f0043efde6425ce3557ad authored almost 4 years ago by Erez Shinan <[email protected]>
Merge branch 'master' into better_isa

09058d8ccf4a1b654645f659120a074133735b07 authored almost 4 years ago by Erez Shinan <[email protected]>
Merge pull request #2 from erezsh/github_tests

fd7c1bf19d75d48bb9bb74d8e61c5b027138530e authored almost 4 years ago by Erez Shinan <[email protected]>
Now using Poetry

059cca6f9a4c5375451e11a7a360233c41efcfe5 authored almost 4 years ago by Erez Shinan <[email protected]>
Added tests for github using github actions

b48646c431bbaa2cfb46d51f75125a78d34c2536 authored almost 4 years ago by Erez Sh <[email protected]>
Fixes for 3.6

fff937e1843b87499be6f574f02fc6cfdfbbb55f authored almost 4 years ago by Erez Shinan <[email protected]>
Rewrite issubclass to use the new ast code

a588fd74435d6284b79585277e265e6a06166527 authored almost 4 years ago by Erez Sh <[email protected]>
Rewrote isa(), now at least twice as fast, by translating to our own ast

31560ab713441f66819bd7654e842e171ac9e4bf authored almost 4 years ago by Erez Sh <[email protected]>
Minor version bump (0.1.7)

7897ae4aba0e625331bd193ee00eeca895a4b8b5 authored almost 4 years ago by Erez Shinan <[email protected]>
Bugfix: Now works for Python 3.6

0032a43d054c232c704677c610673b8069031f07 authored almost 4 years ago by Erez Sh <[email protected]>
README: Fix spelling

34a61ef455fbbdddb645651b048f2044339453c9 authored about 4 years ago by Erez Sh <[email protected]>
Updated setup.py

a5342790d52dafe4991ccc9462c3e5b8770fb133 authored about 4 years ago by Erez Sh <[email protected]>
Minor version bump (0.1.6)

4b366121d86425e50ecef09762e9fbbd0ee5f597 authored about 4 years ago by Erez Shinan <[email protected]>
Fix issues in dispatch and dataclass.replace

Dispatch now compares all functions at once, instead of in pairs.
That way we avoid intermediate...

5c32cffe110e57d2f5214603ce79c5680f31b025 authored about 4 years ago by Erez Sh <[email protected]>
Version bump

68637208d3ba53f1c3642bcc464ae4f52fcd0eb7 authored about 4 years ago by Erez Sh <[email protected]>
Exposing assert_isa instead of ensure_isa

298261c6dbf15fe49c94e98abfa217036d648d07 authored about 4 years ago by Erez Sh <[email protected]>
ensure_isa now pinpoints an item when fails on a collection

8850e0537af9677eae511b1152b5d0cdc5d8596f authored about 4 years ago by Erez Sh <[email protected]>
Use 'ensure_isa' for dataclasses, to provide better error messages (breaks backwards compatibility!)

0f683a3841a0d6b3c5502e7ab3a65be7515209ce authored about 4 years ago by Erez Sh <[email protected]>
Better errors, improved README

b2fdbe6ba21bcacc8de9f65a456c06886b0aedd5 authored about 4 years ago by Erez Sh <[email protected]>
Better error on signature collision

29ffb8dd1002c4ba3443963b4b10936679b241ed authored about 4 years ago by Erez Sh <[email protected]>