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
Added support for typing.IO, TextIO, BinaryIO
af59a92be076e68bd1907322aa04aab08a05d6f2 authored 11 months ago9cc39a9ef7cb7ac0b588be26e16520a5937831b9 authored 11 months ago
Implement callable generic with correct variance
86014ebf8397919686c235ee25ed0abf32e68cb0 authored 11 months ago6c3a6db52b3e650585459d2ed4abc7c36d430196 authored 11 months ago
3d079dccfe4063a97ead1bca42194d0ee71e3fd2 authored 11 months ago
Implement Variance. List and Dict are now invariant!
7cd863de5faadd7e561c1ac233498e68b892de93 authored 11 months ago8149a998f965ef4cd5f61ae9627ae48ac6b8a990 authored 11 months ago
667de712789092c1670f42016cf42f9816f2ceed authored 11 months ago
0f7d5fdce5b59e40d1d47677744db8a9cb4d7216 authored 11 months ago
Bugfix in dataclass when frozen=False; Add docs detailing typing support
d7e3fd3bf2bca26e957bbd4c311363b727d5960e authored 11 months agod8c90ac2d3fd94b115585412e9ff70e42734c0e7 authored 11 months ago
184e9dd798fde0fb2fd7bcb0303e616de6c04ca4 authored 11 months ago
704baf4c59d849a1f39023bd5ccd8c9bf1d1a30b authored 11 months ago
c62e7ba4fbb25dd6c85a32cc08c39e2a99ceaf59 authored 11 months ago
aaa099c6f52bee65b1242efa90844952ab2923f9 authored 11 months ago
4702968cf094da107daf0715f7ff380fd2abe568 authored 11 months ago
Added benchmarks (code + docs + plot)
cb28318d4b3d3072e3211d204c80a511c9613355 authored 11 months agof22be50c581b84d1f729f8d06558384e9ceb6318 authored 11 months ago
050b08c8527ced658a92e522b79705cf23e5deac authored 11 months ago
585a457644ae1b47c2cda666f74fed528b97d101 authored 11 months ago
Big optimizations
d274e994d05a7e5c93569c60f99f4c2ff0afb049 authored 11 months ago620f4189a60aab846805172e8a140a6615c08ce8 authored 11 months ago
- Whenever possible, validate_instance now uses test_instance (was other
way around)
- Special...
026c5c04f6c8309a44a99b9d2a29dd2844b5d9a0 authored 11 months ago
72018f643cce99d46ae8d363ba63d131768f0b31 authored 11 months ago
84baed3c1752f33ed449c21ce9480d442132c29f authored 11 months ago
Refactor base_types to use dispatch (WIP)
452fa1e2ef7a66e71df31f65bd7a427268d36c10 authored 11 months ago2e0eb5e844234196672493ef8989f0d25fe70085 authored 11 months ago
0c0fc61548c29911bca58726d72fac47b1c6a2b1 authored 11 months ago
032282117c3e5d930bbc848f3835d2de11fafb08 authored 11 months ago
Higher priority functions will be chosen in case of ambiguous dispatch.
Most specific functions ...
eecc5216948bd19820af1d30663825c516647564 authored 11 months ago
Small fixes
186087a8a1f4cca4d0f94447e1ec0989e5d2dcf0 authored 11 months agoedcb3d6fbb1bd635a167c743eca2e685e50e4078 authored 11 months ago
7de340531ee94430da0381b16903722db96f0966 authored 11 months ago
133c8685d763b137da5350636111fdf4b9cbc7d7 authored 11 months ago
5415e03957dc0c996f2e595de15d5ecd196a7b29 authored about 1 year ago
74885631b8c7d916fc21c87c798d35ff880ade18 authored about 1 year ago
Various fixes to pytypes + typesystem
5985e97c40123418741bc37fa5c128c6aacf247f authored about 1 year ago803a8f50e435e70efbdec8f54412379a4d63ac5a authored about 1 year ago
c5f0898c509827d66acdd4ae443f993ddd312941 authored about 1 year ago
a67d0f5ad412cadbe82b115086e0c6945f60f179 authored about 1 year ago
Fixes for typesystem (mostly around handling of Any)
b4c051945b5cb2537763ce3b4fb2ac389291e728 authored about 1 year agod89cf87998f18c1ad56c78ec30be7fc9b234bb90 authored about 1 year ago
baa18d9bde18ea01b6cd9a578d96efca537dc425 authored about 1 year ago
e70dbc4318275031e8e250c8822aeca89d660b9f authored about 1 year ago
f7a422d0a0ed4175701f6ea5de3376aba3571f17 authored about 1 year ago
types: fix for tuple <= sequence
5bea984d4bfef471b55c5347c7c78a358863a682 authored about 1 year ago85834eca6cf3382c8ac3d497ef18df02ab984422 authored about 1 year ago
6ec7b0e70ff421f9cb82a3ec58cc32fce5dcfeba authored over 1 year ago
2c0fcacfcada7ad398fffb89bbdd1220e44b13c5 authored over 1 year ago
Fix following PR #36 (reported by @KokeCacao)
89ab330b5840aeadae8ea7727e48f6ac2cbb9879 authored over 1 year ago885e0419c4730f201c8b94436a2bae57d8e06849 authored over 1 year ago
Deprecate iter(dataclass_instance), which was a confusing behavior.
6b9267853f886c43b537a96a85ea7d5476b8636d authored over 1 year agof18cc4608343abd16e24dd2f525ca7f07e9bbe83 authored over 1 year ago
Added multidispatch singleton decorator, and multidispatch_final
68917e8060dea2d6a2055b90af437abf0ee6e6ad authored over 1 year agoe84de1a150fac6183709d157c8e40d5a3f499034 authored over 1 year ago
3fe142834320f0dc46a918cbc499681e42ce0c3a authored over 1 year ago
Validation: Added support for typing.Type
fa15cd9d9325d25a85b78d973a1f294ca95ca83a authored over 1 year agob3cf4c87a3efacfcb853be2dbc9eb04ba189e5ea authored over 1 year ago
d702f086ec7b892fef685473e85f461bbc3713bb authored over 1 year ago
Performance improvements
c09b54aac11877efbf0906b1a6802cf1c6ebf9d8 authored over 1 year ago248af684d864d9b1c09273a75e404faef9f7c668 authored over 1 year ago
b335f559c018b8d3d9fcc14b68a64321b1edf0e8 authored over 1 year ago
Fix: Added support for typing.Mutable* and more
be8aee3584dcdc62a3b0c653276bfc0b3e92eba6 authored over 1 year agoe42c0a8db3b7dae1a5774260dc248c8154d8b93a authored over 1 year ago
49b4abfa594ffee264a67ca48c70c5e40bb6e2b5 authored over 1 year ago
refactor + added documentation for mypy support to dispatch
ef839571844e39b9447368af2a6a9e32403eb413 authored over 1 year ago15bcc22dc03a5004c6010cac1e08fd20e241fa7e authored over 1 year ago
1a87aa91458a6fa10fb7320d51d17d40d907435e authored over 1 year ago
a86c68dcf9a5a9e22f71c2ca7ca4d79fb9d3dbf8 authored over 1 year ago
Fix for tuple[x, ...]; Fix for comparing generic types; support for types.UnionType
22f5ea08fc6773daa8af27f7e2ad01996c97d580 authored over 1 year agof8406fef243f5f93022dee3f0b5dac11af041217 authored over 1 year ago
d26424447ad71a280ba25728e2064dfb221e3302 authored over 1 year ago
51dc223cbcfb35b77c365a8618099305d22d8519 authored over 1 year ago
f152c762f394b3234b8a64c15bef54cad935c947 authored over 1 year ago
b0c442ffdc98b3d28cf695df23a04d5b0aa90314 authored over 1 year ago
c5f94f5ced832376b75b019d46a903e9316d464f authored over 1 year ago
316e20dcac8a1cd99899242da4a7922fcae2cff3 authored over 1 year ago
Better tests and small fixes
0c6f2e8863aeb3f73fd19e7621e9331f04f96dc3 authored over 1 year agof070f6bb1c1f4ae39906383949cc5ab124ddc633 authored over 1 year ago
7d852d1724e4691e3c7357cfbfc0643e7cdaa32c authored over 1 year ago
68f1b599172924c6f79136e0a8e81a44ac33edd2 authored over 1 year ago
e7d0ff8202aead60376eef367e0c857e10b5a4a9 authored over 1 year ago
81c285d9dc68584451e3749a06f6166eae5a84d7 authored over 1 year ago
f9466928131df9890fd6cac0098da13804258907 authored over 1 year ago
53e810fbfa601e60cb3ba0787efcb02c3e1983b9 authored over 1 year ago
Feature: dispatch now works with dataclass `__init__`, adding to builtin implementation instead ...
a7f6de33debacfa9d17175cf9ea2b5c7b2f0e9ec authored over 1 year ago38892915f9b51779915c8f4fd4058b2b756671d9 authored over 1 year ago
73d38f73479f9ab6b5e5de15b285b19f7497f82d authored over 1 year ago
Better typing and dataclass support
d14952ffaa6757cb3360a103198ea3f080096fd5 authored over 1 year ago9d1f732f98174c4894fc8f42f5e5bd97b8abb5cb authored over 1 year ago
67b1804434238a3dd4d4ccaed5b719d1b6634ffa authored over 1 year ago
8057dfa3020a85f074c8100ba063d11c31823a7e authored over 1 year ago
2441862d9b1ff316eac74a5495efb15fd302316a authored over 1 year ago
Better Mypy support
2b43221be3585fdc6b9b299c5439adc2218c8b33 authored over 1 year ago55a6942d785d8304839f7e9ee417e4de14e7dc4d authored over 1 year ago
9fcf4245978b002511bc71cffdb2b1ae6b9c8032 authored over 1 year ago
23fa0073884eda9283f45002d48c7ad9f2417ad4 authored over 1 year ago
a878b82b98bb42f207e680b6ec5ac831b915a83d authored over 1 year ago