flow-typed
pandas-stubs
Our great sponsors
flow-typed | pandas-stubs | |
---|---|---|
3 | 4 | |
3,766 | 210 | |
0.1% | 3.3% | |
8.2 | 8.6 | |
about 1 month ago | 7 days ago | |
JavaScript | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flow-typed
-
TypeScript is terrible for library developers
I'm very curious, which "Redux code" are you referring to here?
I don't think the `redux` core lib ever shipped any Flow types itself. Looking at the FlowTyped repo, I see community typedefs at https://github.com/flow-typed/flow-typed/tree/master/definit... , and the Git history suggests those were indeed written by community members.
(of course on the flip side, _I_ didn't even start learning TS myself until 2019, and goodness knows _that_ has been a lot of trial and error over time :) )
-
Is Flow moving away from (or toward) broader community relevance?
As for configurability of whether casts should error, in my experience with flow it's paradoxically riskier to rely on a type nag when refactoring an unknown "offending" type casts. I've ran into cases where upgrading flow raised a cast issue, it got "fixed" it in a way that made the type system happy, but inadvertently broke tests because falsy values are tricky like that. Here's an example where a type nag showed up for someone refactoring, they did what they thought was reasonable to silence it, and proceeded to accidentally break the entire tool (slipping through tests and code review, to boot). This happened in the flow-typed tool of all places.
-
Creating a modern JS library: TypeScript and Flow
The process of supporting Flow users is extremely similar to that of TypeScript. Instead of adding the definition file to "types" in package.json, make a .js.flow file alongside every .js file that is being exported (for example, if you export lib/index.js, make sure to create lib/index.js.flow with the definitions). See the docs on how to create such a definition. If you want to support Flow yourself, don't publish to flow-typed; it's mainly meant for community members to create their own types for third-party packages and publish them there.
pandas-stubs
-
We are the developers behind pandas, currently preparing for the 2.0 release :) AMA
There is a typing effort that is led by some core members (unfortunately none of them takes part today). You can check the stubs package out at https://github.com/pandas-dev/pandas-stubs. I am not really familiar with the progress there
-
Is there a way to have Eglot pickup the virtual env?
I think the issue is that pandas provides its stubs via a separate package namely pandas-stubs. It seems some packages provide their stubs in a separate package i.a.w PEP561. If I install this package I get completions etc. as you might expect.
-
TypeScript is terrible for library developers
It gets a lot more complicated than that. One of many, many examples: https://github.com/pandas-dev/pandas-stubs/blob/v1.4.3.22082...
What are some alternatives?
flowgen - Generate flowtype definition files from TypeScript
django-stubs - PEP-484 stubs for Django
typegoose - Typegoose - Define Mongoose models using TypeScript classes.
lxml-stubs - Type stubs for the lxml package
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
pfun - Functional, composable, asynchronous, type-safe Python.
node-app-store-connect-api - A library to support Apple's App Store Connect API
bench-warmers - DigThatData's Public Brainstorming space
hacktoberfest-hunt - Find projects that participate in Hacktoberfest within your starred repositories.
returns - Make your functions return something meaningful, typed, and safe!
awesome-typescript - A collection of awesome TypeScript resources for client-side and server-side development. Write your awesome JavaScript in TypeScript
bulk-exif-to-excel - Bulk exif data export to excel