pipreqs
sorbet
pipreqs | sorbet | |
---|---|---|
9 | 53 | |
5,861 | 3,534 | |
- | 0.4% | |
6.6 | 9.9 | |
9 days ago | 5 days ago | |
Python | Ruby | |
Apache License 2.0 | Apache License 2.0 |
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.
pipreqs
-
How to install Python packages without a requirements.txt file with pipreqs
That's when pipreqs comes into play as a "life saver". This tool will scan all scripts/folders in the current working directory (or where you want it to look by providing a path) and installs all the found packages.
-
The type system is a programmer's best friend
Ah this is enlightening but also disheartening to hear. I am currently in the process of cleaning up our projects and some way of knowing the gems we actually use would have been a great help. The excellent pip-reqs package for python has been an immense help with my python specific problems
-
Best way to keep a large project's dependencies/libraries up to date?
Another way would be to use pipreqs or similar tool in pre-commit
- A platform to schedule python scripts. What do you think?
-
To my fellow Latin Americans, I made a script to search for low prices periodically in Mercado Libre
Instead of pip freeze you can use pipreqs (https://github.com/bndr/pipreqs)
-
List all dependency of a module
https://github.com/bndr/pipreqs should do what you want.
-
I made a webscraper for ps3 themes page.
The easiest way to make a requirements.txt is using pipreqs.
- The Python Package Cache
-
py-migrate - Automatically generate requirements.txt and virtual environment for your codebase
There’s also pipreqs for this, which I believe parses the ast of your source code to get the packages. https://github.com/bndr/pipreqs
sorbet
-
The Design Principles of the Elixir Type System
Not part of the official language spec, but Ruby has Sorbet, from a company who employs Ruby core contributors and helped with the recently released JIT additions to the language, amount countless other contributions over the last couple decades.
https://sorbet.org/
- Почему я программирую на Ruby
-
Bringing more sweetness to ruby with sorbet types 🍦
First let's introduce the tool: Sorbet is a gem developed by Stripe that aims to bring type notation syntax and type checking support for the Ruby ecosystem by utilizing the "Gradual typing" philosophy, it also provide type generation from YARD comments via the tapioca gem, allowing to grow alongside the already built Ruby codebase.
-
An Introduction to Metaprogramming in Ruby
We have hundreds of thousands of lines of ruby code spanning many services / monoliths. Even now I find it somewhat annoying to open a controller / component that is basically an empty class def but somehow executes a bunch of complex stuff via mixins, monkey patches etc, and you have to figure out how.
We are turning to https://sorbet.org/ to reign in the madness. I'm keen to know if others are doing the same, and how they are finding it (pros and cons)
- A few words on Ruby's type annotations state
-
Is Ruby on Rails still in demand?I see very few companies using it.Is it used in big tech companies like Google,Amazon,Facebook,Microsoft?
According to https://sorbet.org/ , the vast majority of code at Stripe is written in ruby.
-
¿Que lenguaje de programación consideran que no está saturado?
Caso de Stripe, que tuvo que inventar Sorbet para tener type checking en ruby.
- Building GitHub with Ruby on Rails
-
RJIT a New JIT for Ruby
> I guess what I'm asking is: do you see a future where there is more explicit control afforded to people who want to pick their own tradeoffs without resorting to writing everything performance-sensitive in extensions written in C/Rust/whatever?
An approach exists already in the present, and it's Stripe's Sorbet AOT compiler (https://github.com/sorbet/sorbet/tree/master/compiler).
-
Has Ruby actually increased the speed significantly?
That's incorrect. You may be thinking of Stripe, and AFAICT it's not very actively developed anymore: https://github.com/sorbet/sorbet/commits/master/compiler
What are some alternatives?
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
solargraph - A Ruby language server.
renovate - Universal dependency automation tool.
vscode-solargraph - A Visual Studio Code extension for Solargraph.
pyMigrate - A tool for automatically migrating any python source code to a virtual environment with all dependencies automatically identified and installed. You can also use this tool to generate requirements.txt for your python code base, in general, this tool will help you to bring your old/hobby python codebase to production/distribution.
rbs - Type Signature for Ruby
SearchMELI - Search in mercadolibre periodically for low prices for items
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
getting-started
noclip.website - A digital museum of video game levels
upm - ⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
tapioca - The swiss army knife of RBI generation