long-m-r / mydipy Goto Github PK
View Code? Open in Web Editor NEWExperimental Python Package to create PEP 484/MyPy style classes with type-checking, multiple dispatch, inheritance, method overloading, and even type casting
License: MIT License
Experimental Python Package to create PEP 484/MyPy style classes with type-checking, multiple dispatch, inheritance, method overloading, and even type casting
License: MIT License
While this may partially work at present, I've had mixed success in current testing. Seems like there is a lot more to do here to make it robust.
If a method takes a string, integer, or any other type of class and we can cast the input arguments to that class, should we do this?
Requirements:
auto_cast=<True|False>
(default to False) and introduce a new @autocast
decoratorIs this worth doing?
There are lots of types defined in https://docs.python.org/3/library/typing.html which may or may not be handled appropriately in MyDiPy. We'll need to test a lot of these and identify which ones to support.
From early testing, some seem to work well and others are a disaster.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.